查看hive版本

來源:互聯網
上載者:User

hive沒有提供hive --version這種方式查看版本好,所以要找到hive所在目錄,然後查看jar包的版本號碼,

比如:

# ls /usr/local/hive/lib/antlr-2.7.7.jar                       datanucleus-core-2.0.3.jar      hive-jdbc-0.10.0.jar          jline-1.0.jarantlr-runtime-3.0.1.jar               datanucleus-enhancer-2.0.3.jar  hive-metastore-0.10.0.jar     json-20090211.jaravro-1.7.1.jar                        datanucleus-rdbms-2.0.3.jar     hive-pdk-0.10.0.jar           libfb303-0.9.0.jaravro-mapred-1.7.1.jar                 derby-10.4.2.0.jar              hive-serde-0.10.0.jar         libthrift-0.9.0.jarcommons-cli-1.2.jar                   guava-r09.jar                   hive-service-0.10.0.jar       log4j-1.2.16.jarcommons-codec-1.4.jar                 hbase-0.92.0.jar                hive-shims-0.10.0.jar         phpcommons-collections-3.2.1.jar         hbase-0.92.0-tests.jar          jackson-core-asl-1.8.8.jar    pycommons-compress-1.4.1.jar            hive-builtins-0.10.0.jar        jackson-jaxrs-1.8.8.jar       servlet-api-2.5-20081211.jarcommons-configuration-1.6.jar         hive-cli-0.10.0.jar             jackson-mapper-asl-1.8.8.jar  slf4j-api-1.6.1.jarcommons-dbcp-1.4.jar                  hive-common-0.10.0.jar          jackson-xc-1.8.8.jar          sqlline-1_0_2.jarcommons-lang-2.4.jar                  hive-contrib-0.10.0.jar         JavaEWAH-0.3.2.jar            stringtemplate-3.1-b1.jarcommons-logging-1.0.4.jar             hive-exec-0.10.0.jar            javolution-5.5.1.jar          xz-1.0.jarcommons-logging-api-1.0.4.jar         hive-hbase-handler-0.10.0.jar   jdo2-api-2.3-ec.jar           zookeeper-3.4.3.jarcommons-pool-1.5.4.jar                hive-hwi-0.10.0.jar             jetty-6.1.26.jardatanucleus-connectionpool-2.0.3.jar  hive-hwi-0.10.0.war             jetty-util-6.1.26.jar

因此這裡的hive是0.10.0版本。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.