Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-9401

Fix `yarn version` print the version info is the same as `hadoop version`

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: yarn
    • Labels:
      None

      Description

      It's caused by in `yarn` shell used `org.apache.hadoop.util.VersionInfo` instead of `org.apache.hadoop.yarn.util.YarnVersionInfo` as the `HADOOP_CLASSNAME` by mistake.

      Before

      Hadoop 3.3.0-SNAPSHOT
      Source code repository https://github.com/apache/hadoop.git -r 53a86e2b8ecb83b666d4ed223fc270e1a46642c1
      Compiled by jiwq on 2019-04-01T04:55Z
      Compiled with protoc 2.5.0
      From source with checksum 829bd6e22c17c6da74f5c1a61647922

      After

      YARN 3.3.0-SNAPSHOT
      Subversion https://github.com/apache/hadoop.git -r 53a86e2b8ecb83b666d4ed223fc270e1a46642c1
      Compiled by jiwq on 2019-04-01T05:06Z
      From source with checksum e10a192bd933ffdafe435d7fe99d24d

        Attachments

        1. YARN-9401.001.patch
          0.5 kB
          Wanqiang Ji
        2. YARN-9401.002.patch
          0.9 kB
          Wanqiang Ji

          Activity

            People

            • Assignee:
              jiwq Wanqiang Ji
              Reporter:
              jiwq Wanqiang Ji
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: