You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2012/10/02 00:59:08 UTC

[jira] [Created] (MAPREDUCE-4698) TestJobHistoryConfig throws Exception in testJobHistoryLogging

Gopal V created MAPREDUCE-4698:
----------------------------------

             Summary: TestJobHistoryConfig throws Exception in testJobHistoryLogging
                 Key: MAPREDUCE-4698
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4698
             Project: Hadoop Map/Reduce
          Issue Type: Bug
    Affects Versions: 1.1.1
            Reporter: Gopal V
            Priority: Minor


TestJobHistoryConfig cannot find the LOG_DIR and throws 

{code}
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)
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (MAPREDUCE-4698) TestJobHistoryConfig throws Exception in testJobHistoryLogging

Posted by "Siddharth Seth (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siddharth Seth updated MAPREDUCE-4698:
--------------------------------------

    Target Version/s: 1.1.1, 1.2.0

+1. lgtm. Will commit this shortly.
                
> TestJobHistoryConfig throws Exception in testJobHistoryLogging
> --------------------------------------------------------------
>
>                 Key: MAPREDUCE-4698
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4698
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 1.1.1
>            Reporter: Gopal V
>            Assignee: Gopal V
>            Priority: Minor
>         Attachments: mapreduce-4698.patch
>
>
> TestJobHistoryConfig cannot find the LOG_DIR and throws 
> {code}
> 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)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (MAPREDUCE-4698) TestJobHistoryConfig throws Exception in testJobHistoryLogging

Posted by "Siddharth Seth (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siddharth Seth updated MAPREDUCE-4698:
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2.0
                   1.1.1
     Hadoop Flags: Reviewed
           Status: Resolved  (was: Patch Available)

Committed to branch-1 and branch-1.1. Thanks Gopal.
                
> TestJobHistoryConfig throws Exception in testJobHistoryLogging
> --------------------------------------------------------------
>
>                 Key: MAPREDUCE-4698
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4698
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 1.1.1
>            Reporter: Gopal V
>            Assignee: Gopal V
>            Priority: Minor
>             Fix For: 1.1.1, 1.2.0
>
>         Attachments: mapreduce-4698.patch
>
>
> TestJobHistoryConfig cannot find the LOG_DIR and throws 
> {code}
> 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)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (MAPREDUCE-4698) TestJobHistoryConfig throws Exception in testJobHistoryLogging

Posted by "Gopal V (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gopal V updated MAPREDUCE-4698:
-------------------------------

    Attachment: mapreduce-4698.patch

A new JobTracker.startTracker which initializes the tracker to match old behaviour.
                
> TestJobHistoryConfig throws Exception in testJobHistoryLogging
> --------------------------------------------------------------
>
>                 Key: MAPREDUCE-4698
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4698
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 1.1.1
>            Reporter: Gopal V
>            Priority: Minor
>         Attachments: mapreduce-4698.patch
>
>
> TestJobHistoryConfig cannot find the LOG_DIR and throws 
> {code}
> 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)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (MAPREDUCE-4698) TestJobHistoryConfig throws Exception in testJobHistoryLogging

Posted by "Matt Foley (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-4698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13469734#comment-13469734 ] 

Matt Foley commented on MAPREDUCE-4698:
---------------------------------------

BTW also fixes MAPREDUCE-4696.
                
> TestJobHistoryConfig throws Exception in testJobHistoryLogging
> --------------------------------------------------------------
>
>                 Key: MAPREDUCE-4698
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4698
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Gopal V
>            Assignee: Gopal V
>            Priority: Minor
>             Fix For: 1.1.0
>
>         Attachments: mapreduce-4698.patch
>
>
> TestJobHistoryConfig cannot find the LOG_DIR and throws 
> {code}
> 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)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (MAPREDUCE-4698) TestJobHistoryConfig throws Exception in testJobHistoryLogging

Posted by "Siddharth Seth (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siddharth Seth updated MAPREDUCE-4698:
--------------------------------------

    Assignee: Gopal V
    
> TestJobHistoryConfig throws Exception in testJobHistoryLogging
> --------------------------------------------------------------
>
>                 Key: MAPREDUCE-4698
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4698
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 1.1.1
>            Reporter: Gopal V
>            Assignee: Gopal V
>            Priority: Minor
>         Attachments: mapreduce-4698.patch
>
>
> TestJobHistoryConfig cannot find the LOG_DIR and throws 
> {code}
> 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)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (MAPREDUCE-4698) TestJobHistoryConfig throws Exception in testJobHistoryLogging

Posted by "Gopal V (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gopal V updated MAPREDUCE-4698:
-------------------------------

    Release Note: Optionally call initialize/initializeFileSystem in JobTracker::startTracker() to allow for proper initialization when offerService is not being called.
          Status: Patch Available  (was: Open)

This patch is due to the modification of the constructor behaviour in the following changeset

https://github.com/apache/hadoop-common/commit/31476670aa3de8b553aa6345cf56c67968f9dabc
                
> TestJobHistoryConfig throws Exception in testJobHistoryLogging
> --------------------------------------------------------------
>
>                 Key: MAPREDUCE-4698
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4698
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 1.1.1
>            Reporter: Gopal V
>            Priority: Minor
>         Attachments: mapreduce-4698.patch
>
>
> TestJobHistoryConfig cannot find the LOG_DIR and throws 
> {code}
> 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)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (MAPREDUCE-4698) TestJobHistoryConfig throws Exception in testJobHistoryLogging

Posted by "Matt Foley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Foley updated MAPREDUCE-4698:
----------------------------------

    Affects Version/s:     (was: 1.1.1)
                       1.1.0
        Fix Version/s:     (was: 1.2.0)
                           (was: 1.1.1)
                       1.1.0
    
> TestJobHistoryConfig throws Exception in testJobHistoryLogging
> --------------------------------------------------------------
>
>                 Key: MAPREDUCE-4698
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4698
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Gopal V
>            Assignee: Gopal V
>            Priority: Minor
>             Fix For: 1.1.0
>
>         Attachments: mapreduce-4698.patch
>
>
> TestJobHistoryConfig cannot find the LOG_DIR and throws 
> {code}
> 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)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (MAPREDUCE-4698) TestJobHistoryConfig throws Exception in testJobHistoryLogging

Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAPREDUCE-4698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13468169#comment-13468169 ] 

Hadoop QA commented on MAPREDUCE-4698:
--------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12547442/mapreduce-4698.patch
  against trunk revision .

    {color:red}-1 patch{color}.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/2901//console

This message is automatically generated.
                
> TestJobHistoryConfig throws Exception in testJobHistoryLogging
> --------------------------------------------------------------
>
>                 Key: MAPREDUCE-4698
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4698
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 1.1.1
>            Reporter: Gopal V
>            Priority: Minor
>         Attachments: mapreduce-4698.patch
>
>
> TestJobHistoryConfig cannot find the LOG_DIR and throws 
> {code}
> 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)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (MAPREDUCE-4698) TestJobHistoryConfig throws Exception in testJobHistoryLogging

Posted by "Matt Foley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAPREDUCE-4698?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Foley updated MAPREDUCE-4698:
----------------------------------

    Target Version/s: 1.1.0  (was: 1.1.1, 1.2.0)
    
> TestJobHistoryConfig throws Exception in testJobHistoryLogging
> --------------------------------------------------------------
>
>                 Key: MAPREDUCE-4698
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4698
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Gopal V
>            Assignee: Gopal V
>            Priority: Minor
>             Fix For: 1.1.0
>
>         Attachments: mapreduce-4698.patch
>
>
> TestJobHistoryConfig cannot find the LOG_DIR and throws 
> {code}
> 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)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira