Running HDFS Commands using Hive CLI


Let us understand how to run HDFS commands using Hive CLI.

  • From Linux Terminal, we typicall run commands using hadoop fs or hdfs dfs
  • In Hive, we have dfs
  • For e. g.: dfs -ls /user/training; is the command to list files.

All hive commands end with ;

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