[jira] Created: (HADOOP-2575) Shell command ls should support option -d

View: New views
6 Messages — Rating Filter:   Alert me  

[jira] Created: (HADOOP-2575) Shell command ls should support option -d

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Shell command ls should support option -d
-----------------------------------------

                 Key: HADOOP-2575
                 URL: https://issues.apache.org/jira/browse/HADOOP-2575
             Project: Hadoop
          Issue Type: New Feature
          Components: fs
    Affects Versions: 0.15.2
            Reporter: Hairong Kuang
             Fix For: 0.16.0


Shell command "ls" currently does not support option -d. Meanwhile the shell supports command "stat", but needs to supply the print format specifying which attributes to print on the screen. It's hard to use and in addition it does not support printing the file permissions. So I would like to propose that  the shell supports "ls -d" and deprecates the command "stat".

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Re: [jira] Created: (HADOOP-2575) Shell command ls should support option -d

by Nigel Daley-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I hope the new shell command will be "ls -d" and not "lsd".  All our  
commands should support combinable options rather than adding a new  
command for every option (like lsr, dus, et).


On Jan 10, 2008, at 4:20 PM, Hairong Kuang (JIRA) wrote:

> Shell command ls should support option -d
> -----------------------------------------
>
>                  Key: HADOOP-2575
>                  URL: https://issues.apache.org/jira/browse/ 
> HADOOP-2575
>              Project: Hadoop
>           Issue Type: New Feature
>           Components: fs
>     Affects Versions: 0.15.2
>             Reporter: Hairong Kuang
>              Fix For: 0.16.0
>
>
> Shell command "ls" currently does not support option -d. Meanwhile  
> the shell supports command "stat", but needs to supply the print  
> format specifying which attributes to print on the screen. It's  
> hard to use and in addition it does not support printing the file  
> permissions. So I would like to propose that  the shell supports  
> "ls -d" and deprecates the command "stat".
>
> --
> This message is automatically generated by JIRA.
> -
> You can reply to this email to add a comment to the issue online.
>


[jira] Commented: (HADOOP-2575) Shell command ls should support option -d

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Amar Kamat commented on HADOOP-2575:
------------------------------------

Can you paste the code and which class you are using for executing the shell command.

> Shell command ls should support option -d
> -----------------------------------------
>
>                 Key: HADOOP-2575
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2575
>             Project: Hadoop
>          Issue Type: New Feature
>          Components: fs
>    Affects Versions: 0.15.2
>            Reporter: Hairong Kuang
>             Fix For: 0.16.0
>
>
> Shell command "ls" currently does not support option -d. Meanwhile the shell supports command "stat", but needs to supply the print format specifying which attributes to print on the screen. It's hard to use and in addition it does not support printing the file permissions. So I would like to propose that  the shell supports "ls -d" and deprecates the command "stat".

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-2575) Shell command ls should support option -d

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Hairong Kuang commented on HADOOP-2575:
---------------------------------------

When you run "bin/hadoop dfs -ls" from the command line, you are executing the shell command.

> Shell command ls should support option -d
> -----------------------------------------
>
>                 Key: HADOOP-2575
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2575
>             Project: Hadoop
>          Issue Type: New Feature
>          Components: fs
>    Affects Versions: 0.15.2
>            Reporter: Hairong Kuang
>             Fix For: 0.16.0
>
>
> Shell command "ls" currently does not support option -d. Meanwhile the shell supports command "stat", but needs to supply the print format specifying which attributes to print on the screen. It's hard to use and in addition it does not support printing the file permissions. So I would like to propose that  the shell supports "ls -d" and deprecates the command "stat".

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-2575) Shell command ls should support option -d

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Hairong Kuang updated HADOOP-2575:
----------------------------------

    Assignee: Hairong Kuang
    Priority: Blocker  (was: Major)

> Shell command ls should support option -d
> -----------------------------------------
>
>                 Key: HADOOP-2575
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2575
>             Project: Hadoop
>          Issue Type: New Feature
>          Components: fs
>    Affects Versions: 0.15.2
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>            Priority: Blocker
>             Fix For: 0.16.0
>
>
> Shell command "ls" currently does not support option -d. Meanwhile the shell supports command "stat", but needs to supply the print format specifying which attributes to print on the screen. It's hard to use and in addition it does not support printing the file permissions. So I would like to propose that  the shell supports "ls -d" and deprecates the command "stat".

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-2575) Shell command ls should support option -d

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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

Nigel Daley updated HADOOP-2575:
--------------------------------

         Priority: Major  (was: Blocker)
    Fix Version/s:     (was: 0.16.0)

This feature missed the feature freeze date.  Un-assigning from 0.16.

> Shell command ls should support option -d
> -----------------------------------------
>
>                 Key: HADOOP-2575
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2575
>             Project: Hadoop
>          Issue Type: New Feature
>          Components: fs
>    Affects Versions: 0.15.2
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>
> Shell command "ls" currently does not support option -d. Meanwhile the shell supports command "stat", but needs to supply the print format specifying which attributes to print on the screen. It's hard to use and in addition it does not support printing the file permissions. So I would like to propose that  the shell supports "ls -d" and deprecates the command "stat".

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.