[jira] [Updated] (HDFS-1788) FsShell ls: Show symlinks properties

2011-06-15 Thread Bochun Bai (JIRA)

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

Bochun Bai updated HDFS-1788:
-

Attachment: HDFS-1788.patch

A field fs.shell.PathData.statLink is added.
PathData.stat is renamed to statReal.

FsShell-ls uses statLink for all.
Other commands like -cat and -cp will use statReal.

 FsShell ls: Show symlinks properties
 

 Key: HDFS-1788
 URL: https://issues.apache.org/jira/browse/HDFS-1788
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: tools
Reporter: Jonathan Eagles
Assignee: John George
Priority: Minor
 Attachments: HDFS-1788.patch


 ls FsShell command implementation has been consistent with the linux 
 implementations of ls \-l. With the addition of symlinks, I would expect the 
 ability to show file type 'd' for directory, '\-' for file, and 'l' for 
 symlink. In addition, following the linkname entry for symlinks, I would 
 expect the ability to show \- link target. In linux, the default is to 
 the the properties of the link and not of the link target. In linux, '-L' 
 option allows for the dereferencing of symlinks to show link target 
 properties, but it is not the default. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HDFS-1788) FsShell ls: Show symlinks properties

2011-03-25 Thread Jonathan Eagles (JIRA)

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

Jonathan Eagles updated HDFS-1788:
--

Description: ls FsShell command implementation has been consistent with the 
linux implementations of ls \-l. With the addition of symlinks, I would expect 
the ability to show file type 'd' for directory, '\-' for file, and 'l' for 
symlink. In addition, following the linkname entry for symlinks, I would expect 
the ability to show \- link target. In linux, the default is to the the 
properties of the link and not of the link target. In linux, '-L' option allows 
for the dereferencing of symlinks to show link target properties, but it is not 
the default.   (was: ls FsShell command implementation has been consistent with 
the linux implementations of ls -l. With the addition of symlinks, I would 
expect the ability to show file type 'd' for directory, '-' for file, and 'l' 
for symlink. In addition, following the linkname entry for symlinks, I would 
expect the ability to show - link target. In linux, the default is to the 
the properties of the link and not of the link target. In linux, '-L' option 
allows for the dereferencing of symlinks to show link target properties, but it 
is not the default. )

 FsShell ls: Show symlinks properties
 

 Key: HDFS-1788
 URL: https://issues.apache.org/jira/browse/HDFS-1788
 Project: Hadoop HDFS
  Issue Type: Improvement
  Components: tools
Reporter: Jonathan Eagles
Priority: Minor

 ls FsShell command implementation has been consistent with the linux 
 implementations of ls \-l. With the addition of symlinks, I would expect the 
 ability to show file type 'd' for directory, '\-' for file, and 'l' for 
 symlink. In addition, following the linkname entry for symlinks, I would 
 expect the ability to show \- link target. In linux, the default is to 
 the the properties of the link and not of the link target. In linux, '-L' 
 option allows for the dereferencing of symlinks to show link target 
 properties, but it is not the default. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira