hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siddharth Seth (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-4466) Using URI for yarn.nodemanager log dirs fails
Date Thu, 09 Aug 2012 22:49:19 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-4466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Siddharth Seth updated MAPREDUCE-4466:
--------------------------------------

    Fix Version/s:     (was: trunk)
           Status: Open  (was: Patch Available)

Thanks for the updated patch Mayank. Mostly looks good. 
The findbugs warning can be avoided by catching individual exceptions instead of a generic
catchAll.
The unit test has some issues. It refers to absolute paths (file:///target/) - which will
break on most systems. Also TestNMWebServers isn't the best place to test this. A simple verification
of getContainerLogDirs on a path with and without "file://" should be sufficient.

Unsetting the Fix Version - that needs to be set only after the change is committed.
                
> Using URI for yarn.nodemanager log dirs fails
> ---------------------------------------------
>
>                 Key: MAPREDUCE-4466
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-4466
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.23.3
>            Reporter: Eli Collins
>            Assignee: Mayank Bansal
>            Priority: Minor
>         Attachments: MAPREDUCE-4466-trunk-v1.patch, MAPREDUCE-4466-trunk-v2.patch, MAPREDUCE-4466-trunk-v3.patch
>
>
> If I use URIs (eg file:///home/eli/hadoop/dirs) for yarn.nodemanager.log-dirs or yarn.nodemanager.remote-app-log-dir
the container log servlet fails with an NPE (works if I remove the "file" scheme). Using a
URI for yarn.nodemanager.local-dirs works.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message