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

TestJobHistoryConfig throws Exception in testJobHistoryLogging

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.0
    • 1.1.0
    • None
    • None
    • Reviewed
    • 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)
      

      Attachments

        1. mapreduce-4698.patch
          3 kB
          Gopal Vijayaraghavan

        Activity

          People

            gopalv Gopal Vijayaraghavan
            gopalv Gopal Vijayaraghavan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: