Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-2928 YARN Timeline Service v.2: alpha 1
  3. YARN-3562

unit tests failures and issues found from findbug from earlier ATS checkins

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: YARN-2928
    • Fix Version/s: 2.9.0, 3.0.0-alpha1
    • Component/s: timelineserver
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Issues reported from MAPREDUCE-6337 :
      A bunch of MR unit tests are failing on our branch whenever the mini YARN cluster needs to bring up multiple node managers.

      For example, see https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/5472/testReport/org.apache.hadoop.mapred/TestClusterMapReduceTestCase/testMapReduceRestarting/

      It is because the NMCollectorService is using a fixed port for the RPC (8048).

      Issues reported from YARN-3044 :
      Test case failures and tools(FB & CS) issues found :

      1. find bugs issue : Comparison of String objects using == or != in ResourceTrackerService.updateAppCollectorsMap
      2. find bugs issue : Boxing/unboxing to parse a primitive RMTimelineCollectorManager.postPut. Called method Long.longValue()
        Should call Long.parseLong(String) instead.
      3. find bugs issue : DM_DEFAULT_ENCODING Called method new java.io.FileWriter(String, boolean) At FileSystemTimelineWriterImpl.java:[line 86]
      4. hadoop.yarn.server.resourcemanager.TestAppManager, hadoop.yarn.server.resourcemanager.rmapp.TestRMAppTransitions, hadoop.yarn.server.resourcemanager.TestClientRMService & hadoop.yarn.server.resourcemanager.logaggregationstatus.TestRMAppLogAggregationStatus, refer https://builds.apache.org/job/PreCommit-YARN-Build/7534/testReport/

        Attachments

        1. YARN-3562-YARN-2928.001.patch
          14 kB
          Naganarasimha G R
        2. YARN-3562-YARN-2928.002.patch
          15 kB
          Naganarasimha G R
        3. YARN-3562-YARN-2928.003.patch
          15 kB
          Naganarasimha G R

        Issue Links

          Activity

            People

            • Assignee:
              Naganarasimha Naganarasimha G R
              Reporter:
              sjlee0 Sangjin Lee

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment