Hadoop Map/Reduce
  1. Hadoop Map/Reduce
  2. MAPREDUCE-4698

TestJobHistoryConfig throws Exception in testJobHistoryLogging

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Optionally call initialize/initializeFileSystem in JobTracker::startTracker() to allow for proper initialization when offerService is not being called.

      Description

      TestJobHistoryConfig cannot find the LOG_DIR and throws

      Can not create a Path from a null string
      java.lang.IllegalArgumentException: Can not create a Path from a null string
          at org.apache.hadoop.fs.Path.checkPathArg(Path.java:78)
          at org.apache.hadoop.fs.Path.<init>(Path.java:90)
          at org.apache.hadoop.mapred.JobHistory$JobInfo.getJobHistoryFileName(JobHistory.java:1337)
          at org.apache.hadoop.mapred.JobHistory$JobInfo.logSubmitted(JobHistory.java:1660)
          at org.apache.hadoop.mapred.JobHistory$JobInfo.logSubmitted(JobHistory.java:1641)
          at org.apache.hadoop.mapred.TestJobHistoryConfig.testJobHistoryLogging(TestJobHistoryConfig.java:123)
      

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Gopal V
            Reporter:
            Gopal V
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development