Hadoop Commands

Table Location In Hive / HDFS
describe FORMATTED force_2014feb_atousers_visited_pages; 
 

Size Of Table In Hive / HDFS

hadoop fs -du /user/abc/table1 | awk ‘/^[0-9]+/ { print int($1/(1024**3)) ” [GB]\t” $2 }’

LS Command
hadoop fs -ls /user/abc/tables
Advertisements

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 )

Google+ photo

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

Connecting to %s