Open prateek opened 8 years ago
Two parts:
hh ls
hdfs dfs -ls
Usage: hadoop fs [generic options] -ls [-d] [-h] [-R] [<path> ...]
e.g. -
[~]$ hdfs dfs -ls /user/prungta Found 3 items drwx------ - prungta supergroup 0 2016-04-28 17:00 /user/prungta/.Trash drwxr-xr-x - prungta supergroup 0 2016-04-29 23:24 /user/prungta/.sparkStaging drwx------ - prungta supergroup 0 2016-05-03 18:34 /user/prungta/.staging [~]$ hh ls /user/prungta Found 3 items drwx------ - prungta supergroup 0 2016-04-29 00:00 .Trash drwxr-xr-x - prungta supergroup 0 2016-04-30 06:24 .sparkStaging drwx------ - prungta supergroup 0 2016-05-04 01:34 .staging
Looks like hh is doing three things differently:
hh
Two parts:
hh ls
accept the same flags ashdfs dfs -ls
hh ls
should be the same structure ashdfs dfs -ls
.e.g. -
Looks like
hh
is doing three things differently: