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

Fix spotbugs error in hadoop-sls module

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      Fix the following Spotbugs error:

      • org.apache.hadoop.yarn.sls.AMRunner.setInputTraces(String[]) may expose internal representation by storing an externally mutable object into AMRunner.inputTraces At AMRunner.java:by storing an externally mutable object into AMRunner.inputTraces At AMRunner.java:[line 267]
      • Write to static field org.apache.hadoop.yarn.sls.AMRunner.REMAINING_APPS from instance method org.apache.hadoop.yarn.sls.AMRunner.startAM() At AMRunner.java:from instance method org.apache.hadoop.yarn.sls.AMRunner.startAM() At AMRunner.java:[line 116]

      Attachments

        Issue Links

          Activity

            People

              snemeth Szilard Nemeth
              aajisaka Akira Ajisaka
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h