Running HDFS Commands using Hive CLI

#1

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 - https://labs.itversity.com
You can sign up for our courses on Udemy using $10 coupons - Udemy Coupons - Big Data Courses


0 Likes