hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mahadev konar (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-57) hadoop dfs -ls / does not show root of file system
Date Tue, 07 Mar 2006 21:04:44 GMT
    [ http://issues.apache.org/jira/browse/HADOOP-57?page=comments#action_12369313 ] 

Mahadev konar commented on HADOOP-57:
-------------------------------------

here is a better fix:

268a269,271
>       if (path.toString().equals("")){
>           return DFSFile.DFS_FILE_SEPARATOR;
>       }

This one solves the problem and defaults to /user/username in case of non-absolute path.

> hadoop dfs -ls / does not show root of file system
> --------------------------------------------------
>
>          Key: HADOOP-57
>          URL: http://issues.apache.org/jira/browse/HADOOP-57
>      Project: Hadoop
>         Type: Bug
>   Components: dfs
>     Versions: 0.1
>     Reporter: Yoram Arnon
>     Priority: Minor

>
> hadoop dfs -ls / does not show root of file system - it shows the user's home directory.
> It's thus impossible to learn the contents of the root file system via the shell.

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


Mime
View raw message