Launching and Using Hive CLI


Let us understand how to launch Hive CLI.

  • Logon to the gateway node of the cluster
  • Launch Hive CLI using hive
  • One can get help using hive --help
  • There are several services under hive (default cli).
  • hive is same ashive --service cli
  • To get other options of Hive CLI, we can use hive --service cli --help
  • For e. g.: we can use hive --service cli --database training_retail.
  • Hive CLI will be launched and will be connected to training_retail database.

Practice hive on state of the art Big Data cluster -
You can sign up for our courses on Udemy using $10 coupons - Udemy Coupons - Big Data Courses