Hive
  1. Hive
  2. HIVE-1151

Add 'show version' command to Hive CLI

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.6.0
    • Fix Version/s: None
    • Component/s: CLI, Clients
    • Labels:
      None
    • Tags:
      hive version CLI

      Description

      At a minimum this command should return the version information obtained
      from the hive-cli jar. Ideally this command will also return version information
      obtained from each of the hive jar files present in the CLASSPATH, which
      will allow us to quickly detect cases where people are using incompatible
      jars.

      1. HIVE-1151.1.patch
        17 kB
        Zhuoluo (Clark) Yang
      2. HIVE-1151.2.patch
        18 kB
        Zhuoluo (Clark) Yang
      3. HIVE-1151.3.patch
        18 kB
        Zhuoluo (Clark) Yang

        Issue Links

          Activity

          Hide
          Zhuoluo (Clark) Yang added a comment -

          Let me attach a patch.
          I add a simple DDL grammar called "show version".
          And the version info is generated by scripts while compiling.

          Show
          Zhuoluo (Clark) Yang added a comment - Let me attach a patch. I add a simple DDL grammar called "show version". And the version info is generated by scripts while compiling.
          Show
          Zhuoluo (Clark) Yang added a comment - https://reviews.apache.org/r/8958/
          Hide
          Zhuoluo (Clark) Yang added a comment -

          Attache an updated patch.
          1. Remove the code of eating the stack trace, so the Exception stack trace can be stringified by DDLTask.execute()
          2. Sorry for ignorance of git and shamelessly cloning the code, modify saveVersion.sh to get git hostname.
          3. Add a "hive --version" command.

          Show
          Zhuoluo (Clark) Yang added a comment - Attache an updated patch. 1. Remove the code of eating the stack trace, so the Exception stack trace can be stringified by DDLTask.execute() 2. Sorry for ignorance of git and shamelessly cloning the code, modify saveVersion.sh to get git hostname. 3. Add a "hive --version" command.
          Hide
          Zhuoluo (Clark) Yang added a comment -

          Correct some comments

          Show
          Zhuoluo (Clark) Yang added a comment - Correct some comments

            People

            • Assignee:
              Unassigned
              Reporter:
              Carl Steinbach
            • Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:

                Development