Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-5805

Unable to parse launch time from job history file

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.0
    • 2.4.0
    • jobhistoryserver
    • None
    • Reviewed

    Description

      when job complete, there are WARN complains in the log:

      2014-03-19 13:31:10,036 WARN org.apache.hadoop.mapreduce.v2.jobhistory.FileNameIndexUtils: Unable to parse launch time from job history file job_1395204058904_0003-1395206473646-root-test_one_word-1395206966214-4-2-SUCCEEDED-root.test-queue-1395206480070.jhist : java.lang.NumberFormatException: For input string: "queue"
      

      because there is in the queue name 'test-queue', we split the job history file name by , and get the ninth item as job start time.
      FileNameIndexUtils.java

      private static final int JOB_START_TIME_INDEX = 9;
      

      but there is another potential issue:
      if I also include '-' in the job name(test_one_world in this case), there are all misunderstand.

      Attachments

        1. MAPREDUCE-5805.patch
          4 kB
          Akira Ajisaka

        Issue Links

        Activity

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

          People

            aajisaka Akira Ajisaka
            azuryy Fengdong Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment