Executing Hive Queries in Silent Mode From HDFS Terminal

The goal of this tutorial is to show you how to run hive queries in silent mode. It’s used to get data from tables without publishing progress information; in other words, it prevents the logs from being displayed on the terminal. Here’s the syntax and an example.

hive -S -e “YourHiveQuery”

[cloudera@quickstart ~]$ hive -S -e “select * from emp”


Hope you find this article helpful.

To receive quick updates, just enter your email address and click the “follow” button.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s