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

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

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 3.2.0, 3.1.1, 2.10.1
    • build, docs
    • 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.1.patch
          1.0 kB
          Takanobu Asanuma
        2. YARN-8369.2.patch
          3 kB
          Takanobu Asanuma

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            tasanuma Takanobu Asanuma
            tasanuma Takanobu Asanuma
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment