Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11872

"hadoop dfs" command prints message about using "yarn jar" on Windows(branch-2 only)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.8.0, 2.7.1
    • Component/s: scripts
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      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.
      

        Issue Links

          Activity

          Hide
          aw Allen Wittenauer added a comment -

          git revision branch-2 / 0ec6e7e

          (hooray! branch detection worked! )

          Show
          aw Allen Wittenauer added a comment - git revision branch-2 / 0ec6e7e (hooray! branch detection worked! )
          Hide
          cnauroth Chris Nauroth added a comment -

          +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.

          Show
          cnauroth Chris Nauroth added a comment - +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.
          Hide
          cnauroth Chris Nauroth added a comment -

          I think this is a worthwhile and low-risk patch for 2.7.1, so I'm setting the target version.

          Show
          cnauroth Chris Nauroth added a comment - I think this is a worthwhile and low-risk patch for 2.7.1, so I'm setting the target version.
          Hide
          hadoopqa Hadoop QA added a comment -



          -1 overall



          Vote Subsystem Runtime Comment
          -1 patch 0m 0s The patch command could not apply the patch during dryrun.



          Subsystem Report/Notes
          Patch URL http://issues.apache.org/jira/secure/attachment/12727670/HADOOP-11872-branch-2.001.patch
          Optional Tests  
          git revision branch-2 / 0ec6e7e
          Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/6168/console

          This message was automatically generated.

          Show
          hadoopqa Hadoop QA added a comment - -1 overall Vote Subsystem Runtime Comment -1 patch 0m 0s The patch command could not apply the patch during dryrun. Subsystem Report/Notes Patch URL http://issues.apache.org/jira/secure/attachment/12727670/HADOOP-11872-branch-2.001.patch Optional Tests   git revision branch-2 / 0ec6e7e Console output https://builds.apache.org/job/PreCommit-HADOOP-Build/6168/console This message was automatically generated.
          Hide
          cnauroth Chris Nauroth added a comment -

          This looks like a merge error from the HADOOP-11257 addendum patch. I'm linking the issues.

          Show
          cnauroth Chris Nauroth added a comment - This looks like a merge error from the HADOOP-11257 addendum patch. I'm linking the issues.
          Hide
          vvasudev Varun Vasudev added a comment -

          Uploaded a patch with the fix.

          Show
          vvasudev Varun Vasudev added a comment - Uploaded a patch with the fix.

            People

            • Assignee:
              vvasudev Varun Vasudev
              Reporter:
              vvasudev Varun Vasudev
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development