hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjay Dahiya (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-778) Path.toString() should retain trailing '/' if passed in constructor
Date Wed, 06 Dec 2006 21:14:22 GMT
    [ http://issues.apache.org/jira/browse/HADOOP-778?page=comments#action_12456209 ] 
Sanjay Dahiya commented on HADOOP-778:

I didn't run tests with this, also we don't need it anymore with the new glob format spec.
I agree that one must query the filesystem to determine the file type. The original issue
in this case was to determine user's intention with a path from jobConf.getInputPaths().

> Path.toString() should retain trailing '/' if passed in constructor
> -------------------------------------------------------------------
>                 Key: HADOOP-778
>                 URL: http://issues.apache.org/jira/browse/HADOOP-778
>             Project: Hadoop
>          Issue Type: Bug
>          Components: fs
>            Reporter: Sanjay Dahiya
> Does it break something if Path retains trailing '/' if passed in constructor and returns
it back in toString() ? 
> Looking at Path.toString() JobClient wont have a way of knowing which Paths were intended
to be directories and not files, in the context of globbed regex ( HADOOP-619 ). 

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message