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

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • YARN-2928
    • 2.9.0, 3.0.0-alpha1
    • timelineserver
    • None
    • 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.003.patch
          15 kB
          Naganarasimha G R
        2. YARN-3562-YARN-2928.002.patch
          15 kB
          Naganarasimha G R
        3. YARN-3562-YARN-2928.001.patch
          14 kB
          Naganarasimha G R

        Issue Links

        Activity

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

          People

            Naganarasimha Naganarasimha G R Assign to me
            sjlee0 Sangjin Lee
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment