Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18970

The version of jruby we use now can't get interactive input from prompt

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0-beta-1, 2.0.0
    • Component/s: shell
    • Labels:
      None

      Description

      case 1: press enter

      hbase(main):002:0> disable_all 'chia(.*)'
      chia_1                                                                                                                                                                                                     
      
      Disable the above 1 tables (y/n)?
      y^M
      

      case 2: press ctrl-j

      hbase(main):001:0> disable_all 'chia(.*)'
      chia_1                                                                                                                                                                                                     
      
      Disable the above 1 tables (y/n)?
      y^J1 tables successfully disabled
      Took 5.0059 seconds  
      

        Attachments

        1. test_shell-Output.txt
          12 kB
          AMIT VIRMANI
        2. test_shell.sh
          3 kB
          AMIT VIRMANI
        3. samplecmd.txt
          0.3 kB
          AMIT VIRMANI
        4. HBase-18970.branch-2.001.patch
          0.6 kB
          AMIT VIRMANI

          Issue Links

            Activity

              People

              • Assignee:
                avirmani AMIT VIRMANI
                Reporter:
                chia7712 Chia-Ping Tsai
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: