Apache Hive: Find the version from the Command Line Interface (CLI)

The version of Apache Hive can be retrieved from Command Line. You don’t have to navigate through the configuration files or browse through the User Interface.

There are two commands that can be used from Command Line to obtain the version of Apache Hive.

COMMAND #1

This command follows the popular convention used by other tools like hadoop.

hive --version

You can see the version in this screenshot is 2.3.3-mapr-1808.


COMMAND #2

This command executes the statement “select version()” in hive cli to retrieve the version without actually opening the hive shell.

hive -e "select version()"

In this screenshot, you can notice that the version is 2.3.3-mapr-1808 which is same as the one from previous screenshot. Both command print the same version.

12 Comments

  • Cafe Casino is the ultimate hotspot for online gamblers looking for a java-fueled adrenaline rush minus the actual caffeine. This brew-tiful real money casino online offers a full menu of games, including slots, table games, and specialty games.  A fast payout casino is one that can process your withdrawal and payout your winnings in as little as a few hours, if not less than one day. Typically, gamblers select based on the number of casino games available or the welcome bonus. However, these benefits are frequently outweighed by the slowness with which winnings are paid out. And no one wants to wait for long periods of time to get their hands on their hard-won cash. The cash flow processing takes a varying amount of time on each online platform, so it is important that you know how long you might have to wait before cashing out on a particular site.
    http://1nip-stavr.ioa.sch.gr/?p=21098
    Europa’s welcome bonus is a strong start, but there are plenty of other promotions here that are designed to keep customers coming back for more. Drops & Wins’ Weekly Tournament and Daily Prize Drops are among the most impressive offers up for grabs, while free cash is handed out to those who refer a friend to sign up for an account at this South African online casino. The promotions are just one of the top reasons why Europa casino comes highly recommended. Bonuses are the best way to boost your bankroll at a South Africa casino site. Let’s see what Europa Casino offers are in store for you. Europa Casino values its players and grants them various bonuses. Every new player qualifies for a welcome package. The welcome bonus for depositing via your mobile phone is 115% and you will get your bonus in weekly or monthly installments.

    Reply
  • Hi there! This is kind of off topic but I need
    some help from an established blog. Is it hard to set up your own blog?
    I’m not very techincal but I can figure things out pretty fast.
    I’m thinking about making my own but I’m not sure where to begin.
    Do you have any tips or suggestions? With thanks

    Reply
  • I loved as much as you will receive carried out right here.
    The sketch is attractive, your authored subject matter stylish.
    nonetheless, you command get bought an shakiness over that you wish be delivering the following.
    unwell unquestionably come more formerly again as exactly the same nearly very often inside case you shield this increase.

    Reply
  • Hi my family member! I wish to say that this post is awesome, great written and include approximately all vital
    infos. I’d like to peer extra posts like this .

    Reply
  • I’d like to thank you for the efforts you’ve put in writing this site.

    I really hope to see the same high-grade content from you in the future as well.
    In fact, your creative writing abilities has motivated me to get
    my own, personal blog now 😉

    Reply
  • It is perfect time to make a few plans for the future and it is time to be happy.
    I have learn this publish and if I could I want to suggest you some interesting things or tips.
    Maybe you can write subsequent articles regarding this article.
    I desire to learn even more things about it!

    Reply
  • I just couldn’t go away your site prior to suggesting that I extremely enjoyed the
    usual information an individual provide for your guests? Is gonna be again continuously to inspect new posts

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *