hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mateusz Fedoryszak (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9746) DistributedCache.addFileToClassPath assumes Path has no authority nor protocol set
Date Thu, 18 Jul 2013 18:56:51 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-9746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13712658#comment-13712658
] 

Mateusz Fedoryszak commented on HADOOP-9746:
--------------------------------------------

[~ojoshi] I've never used hadoop1, so I don't know
                
> DistributedCache.addFileToClassPath assumes Path has no authority nor protocol set
> ----------------------------------------------------------------------------------
>
>                 Key: HADOOP-9746
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9746
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: filecache
>    Affects Versions: 2.0.0-alpha
>            Reporter: Mateusz Fedoryszak
>            Priority: Minor
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> DistributedCache.addFileToClassPath assumes a Path passed as a parameter has no authority
nor protocol set. When it does it silently fails to add a file to the classpath. It is nowhere
documented. It can be easily fixed by substituting file.toString() call with file.toUri().getPath()

--
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

Mime
View raw message