Using the "hadoop dfs" command on a branch-2 build prints a message about using yarn jar.
C:\hadoop\hadoop-common-project\hadoop-common\src\main\bin> hadoop.cmd dfs -ls
note: please use "yarn jar" to launch
YARN applications, not this command.
Update "hadoop jar" documentation to warn against using it for launching yarn jars
git revision branch-2 / 0ec6e7e
(hooray! branch detection worked! )
+1 for the patch. I tested on a local Windows VM to confirm the fix. I committed this to branch-2 and branch-2.7.
Nice find, Varun! Thank you for the patch.
I think this is a worthwhile and low-risk patch for 2.7.1, so I'm setting the target version.
This message was automatically generated.
This looks like a merge error from the HADOOP-11257 addendum patch. I'm linking the issues.
Uploaded a patch with the fix.