snakebite icon indicating copy to clipboard operation
snakebite copied to clipboard

Order of arguments for operation(s) changes.

Open ravwojdyla opened this issue 9 years ago • 2 comments

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

ravwojdyla avatar Aug 25 '14 13:08 ravwojdyla

How does hadoop hdfs -ls do this?

wouterdebie avatar Aug 25 '14 16:08 wouterdebie

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.

wouterdebie avatar Aug 25 '14 16:08 wouterdebie