Hive
  1. Hive
  2. HIVE-5082

Beeline usage is printed twice when "beeline --help" is executed

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.11.0
    • Fix Version/s: 0.13.0
    • Component/s: CLI
    • Labels:
      None

      Description

      bin/beeline --help
      /home/xzhang/apa/hive/build/dist/bin/hive: line 189: [: : integer expression expected
      Listening for transport dt_socket at address: 8000
      Usage: java org.apache.hive.cli.beeline.BeeLine 
         -u <database url>               the JDBC URL to connect to
         -n <username>                   the username to connect as
         -p <password>                   the password to connect as
         -d <driver class>               the driver class to use
         -e <query>                      query that should be executed
         -f <file>                       script file that should be executed
         --color=[true/false]            control whether color is used for display
         --showHeader=[true/false]       show column names in query results
         --headerInterval=ROWS;          the interval between which heades are displayed
         --fastConnect=[true/false]      skip building table/column list for tab-completion
         --autoCommit=[true/false]       enable/disable automatic transaction commit
         --verbose=[true/false]          show verbose error messages and debug info
         --showWarnings=[true/false]     display connection warnings
         --showNestedErrs=[true/false]   display nested errors
         --numberFormat=[pattern]        format numbers using DecimalFormat pattern
         --force=[true/false]            continue running script even after errors
         --maxWidth=MAXWIDTH             the maximum width of the terminal
         --maxColumnWidth=MAXCOLWIDTH    the maximum width to use when displaying columns
         --silent=[true/false]           be more silent
         --autosave=[true/false]         automatically save preferences
         --outputformat=[table/vertical/csv/tsv]   format mode for result display
         --isolation=LEVEL               set the transaction isolation level
         --help                          display this message
      Usage: java org.apache.hive.cli.beeline.BeeLine 
         -u <database url>               the JDBC URL to connect to
         -n <username>                   the username to connect as
         -p <password>                   the password to connect as
         -d <driver class>               the driver class to use
         -e <query>                      query that should be executed
         -f <file>                       script file that should be executed
         --color=[true/false]            control whether color is used for display
         --showHeader=[true/false]       show column names in query results
         --headerInterval=ROWS;          the interval between which heades are displayed
         --fastConnect=[true/false]      skip building table/column list for tab-completion
         --autoCommit=[true/false]       enable/disable automatic transaction commit
         --verbose=[true/false]          show verbose error messages and debug info
         --showWarnings=[true/false]     display connection warnings
         --showNestedErrs=[true/false]   display nested errors
         --numberFormat=[pattern]        format numbers using DecimalFormat pattern
         --force=[true/false]            continue running script even after errors
         --maxWidth=MAXWIDTH             the maximum width of the terminal
         --maxColumnWidth=MAXCOLWIDTH    the maximum width to use when displaying columns
         --silent=[true/false]           be more silent
         --autosave=[true/false]         automatically save preferences
         --outputformat=[table/vertical/csv/tsv]   format mode for result display
         --isolation=LEVEL               set the transaction isolation level
         --help                          display this message
      
      1. HIVE-5082.patch
        1.0 kB
        Xuefu Zhang

        Activity

        Hide
        Hudson added a comment -

        SUCCESS: Integrated in Hive-trunk-hadoop1-ptest #183 (See https://builds.apache.org/job/Hive-trunk-hadoop1-ptest/183/)
        HIVE-5082 : Beeline usage is printed twice when beeline --help is executed (Xuefu Zhang via Ashutosh Chauhan) (hashutosh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1526604)

        • /hive/trunk/beeline/src/java/org/apache/hive/beeline/BeeLine.java
        Show
        Hudson added a comment - SUCCESS: Integrated in Hive-trunk-hadoop1-ptest #183 (See https://builds.apache.org/job/Hive-trunk-hadoop1-ptest/183/ ) HIVE-5082 : Beeline usage is printed twice when beeline --help is executed (Xuefu Zhang via Ashutosh Chauhan) (hashutosh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1526604 ) /hive/trunk/beeline/src/java/org/apache/hive/beeline/BeeLine.java
        Hide
        Hudson added a comment -

        FAILURE: Integrated in Hive-trunk-hadoop2-ptest #117 (See https://builds.apache.org/job/Hive-trunk-hadoop2-ptest/117/)
        HIVE-5082 : Beeline usage is printed twice when beeline --help is executed (Xuefu Zhang via Ashutosh Chauhan) (hashutosh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1526604)

        • /hive/trunk/beeline/src/java/org/apache/hive/beeline/BeeLine.java
        Show
        Hudson added a comment - FAILURE: Integrated in Hive-trunk-hadoop2-ptest #117 (See https://builds.apache.org/job/Hive-trunk-hadoop2-ptest/117/ ) HIVE-5082 : Beeline usage is printed twice when beeline --help is executed (Xuefu Zhang via Ashutosh Chauhan) (hashutosh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1526604 ) /hive/trunk/beeline/src/java/org/apache/hive/beeline/BeeLine.java
        Hide
        Hudson added a comment -

        FAILURE: Integrated in Hive-trunk-hadoop2 #459 (See https://builds.apache.org/job/Hive-trunk-hadoop2/459/)
        HIVE-5082 : Beeline usage is printed twice when beeline --help is executed (Xuefu Zhang via Ashutosh Chauhan) (hashutosh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1526604)

        • /hive/trunk/beeline/src/java/org/apache/hive/beeline/BeeLine.java
        Show
        Hudson added a comment - FAILURE: Integrated in Hive-trunk-hadoop2 #459 (See https://builds.apache.org/job/Hive-trunk-hadoop2/459/ ) HIVE-5082 : Beeline usage is printed twice when beeline --help is executed (Xuefu Zhang via Ashutosh Chauhan) (hashutosh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1526604 ) /hive/trunk/beeline/src/java/org/apache/hive/beeline/BeeLine.java
        Hide
        Hudson added a comment -

        FAILURE: Integrated in Hive-trunk-h0.21 #2361 (See https://builds.apache.org/job/Hive-trunk-h0.21/2361/)
        HIVE-5082 : Beeline usage is printed twice when beeline --help is executed (Xuefu Zhang via Ashutosh Chauhan) (hashutosh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1526604)

        • /hive/trunk/beeline/src/java/org/apache/hive/beeline/BeeLine.java
        Show
        Hudson added a comment - FAILURE: Integrated in Hive-trunk-h0.21 #2361 (See https://builds.apache.org/job/Hive-trunk-h0.21/2361/ ) HIVE-5082 : Beeline usage is printed twice when beeline --help is executed (Xuefu Zhang via Ashutosh Chauhan) (hashutosh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1526604 ) /hive/trunk/beeline/src/java/org/apache/hive/beeline/BeeLine.java
        Hide
        Ashutosh Chauhan added a comment -

        Committed to trunk. Thanks, Xuefu!

        Show
        Ashutosh Chauhan added a comment - Committed to trunk. Thanks, Xuefu!
        Hide
        Hive QA added a comment -

        Overall: -1 at least one tests failed

        Here are the results of testing the latest attachment:
        https://issues.apache.org/jira/secure/attachment/12597987/HIVE-5082.patch

        ERROR: -1 due to 2 failed/errored test(s), 2858 tests executed
        Failed tests:

        org.apache.hcatalog.hbase.snapshot.lock.TestWriteLock.testRun
        org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_infer_bucket_sort_reducers_power_two
        

        Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/437/testReport
        Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/437/console

        Messages:

        Executing org.apache.hive.ptest.execution.PrepPhase
        Executing org.apache.hive.ptest.execution.ExecutionPhase
        Executing org.apache.hive.ptest.execution.ReportingPhase
        Tests failed with: TestsFailedException: 2 tests failed
        

        This message is automatically generated.

        Show
        Hive QA added a comment - Overall : -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12597987/HIVE-5082.patch ERROR: -1 due to 2 failed/errored test(s), 2858 tests executed Failed tests: org.apache.hcatalog.hbase.snapshot.lock.TestWriteLock.testRun org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_infer_bucket_sort_reducers_power_two Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/437/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/437/console Messages: Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests failed with: TestsFailedException: 2 tests failed This message is automatically generated.
        Hide
        Brock Noland added a comment -

        +1 pending tests

        Show
        Brock Noland added a comment - +1 pending tests

          People

          • Assignee:
            Xuefu Zhang
            Reporter:
            Xuefu Zhang
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development