snakebite
snakebite copied to clipboard
Order of arguments for operation(s) changes.
Example for ls
command:
rav@edge:~$ snakebite ls -d / /user /dfs
'/dfs': No such file or directory
rav@edge:~$ snakebite ls -d / /user /user/rav /dfs
Found 2 items
drwxr-xr-x - hdfs supergroup 0 2014-07-12 11:21 /
drwxrwxr-x - hdfs supergroup 0 2014-08-25 12:58 /user
'/dfs': No such file or directory
How does hadoop hdfs -ls
do this?
Not only does snakebite change the order, but the behavior is different than the hadoop cli. There it will not stop execution when a path doesn't exist, but it will continue to list.