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

Javadoc build failed due to "bad use of '>'"

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.0, 3.1.1
    • Component/s: build, docs
    • Labels:
      None

      Description

      $ mvn javadoc:javadoc --projects hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common
      ...
      [ERROR] /hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/util/resource/ResourceCalculator.java:263: error: bad use of '>'
      [ERROR]    * included) has a >0 value.
      [ERROR]                      ^
      [ERROR] /hadoop/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/util/resource/ResourceCalculator.java:266: error: bad use of '>'
      [ERROR]    * @return returns true if any resource is >0
      [ERROR]                                              ^
      

        Attachments

        1. YARN-8369.2.patch
          3 kB
          Takanobu Asanuma
        2. YARN-8369.1.patch
          1.0 kB
          Takanobu Asanuma

          Issue Links

            Activity

              People

              • Assignee:
                tasanuma0829 Takanobu Asanuma
                Reporter:
                tasanuma0829 Takanobu Asanuma
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: