You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Hartmut Lang (Created) (JIRA)" <ji...@apache.org> on 2012/03/08 21:17:57 UTC

[jira] [Created] (ZOOKEEPER-1408) CLI: sort output of ls command

CLI: sort output of ls command
------------------------------

                 Key: ZOOKEEPER-1408
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1408
             Project: ZooKeeper
          Issue Type: Improvement
          Components: java client
            Reporter: Hartmut Lang
            Assignee: Hartmut Lang
            Priority: Minor
             Fix For: 3.5.0


Sort the output of the ls-command in the CLI. And remove the [] frame.

Example: change output of "ls /"
[test1, aa3, zkc1, aa2, aa1, zookeeper]
to
aa1, aa2, aa3, test1, zk1, zookeeper


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (ZOOKEEPER-1408) CLI: sort output of ls command

Posted by "Hartmut Lang (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hartmut Lang updated ZOOKEEPER-1408:
------------------------------------

    Release Note: The output of ls-command in CLI does not contain the []-frame any more. Instead the nodes are sorted.
    Hadoop Flags: Incompatible change
    
> CLI: sort output of ls command
> ------------------------------
>
>                 Key: ZOOKEEPER-1408
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1408
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: java client
>            Reporter: Hartmut Lang
>            Assignee: Hartmut Lang
>            Priority: Minor
>             Fix For: 3.5.0
>
>         Attachments: ZOOKEEPER-1408.patch, ZOOKEEPER-1408.patch
>
>
> Sort the output of the ls-command in the CLI. And remove the [] frame.
> Example: change output of "ls /"
> [test1, aa3, zkc1, aa2, aa1, zookeeper]
> to
> aa1, aa2, aa3, test1, zk1, zookeeper

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (ZOOKEEPER-1408) CLI: sort output of ls command

Posted by "Hartmut Lang (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hartmut Lang updated ZOOKEEPER-1408:
------------------------------------

    Attachment: ZOOKEEPER-1408.patch
    
> CLI: sort output of ls command
> ------------------------------
>
>                 Key: ZOOKEEPER-1408
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1408
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: java client
>            Reporter: Hartmut Lang
>            Assignee: Hartmut Lang
>            Priority: Minor
>             Fix For: 3.5.0
>
>         Attachments: ZOOKEEPER-1408.patch
>
>
> Sort the output of the ls-command in the CLI. And remove the [] frame.
> Example: change output of "ls /"
> [test1, aa3, zkc1, aa2, aa1, zookeeper]
> to
> aa1, aa2, aa3, test1, zk1, zookeeper

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (ZOOKEEPER-1408) CLI: sort output of ls command

Posted by "Hartmut Lang (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232245#comment-13232245 ] 

Hartmut Lang commented on ZOOKEEPER-1408:
-----------------------------------------

The jline completion options for nodes should also be sorted.
                
> CLI: sort output of ls command
> ------------------------------
>
>                 Key: ZOOKEEPER-1408
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1408
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: java client
>            Reporter: Hartmut Lang
>            Assignee: Hartmut Lang
>            Priority: Minor
>             Fix For: 3.5.0
>
>
> Sort the output of the ls-command in the CLI. And remove the [] frame.
> Example: change output of "ls /"
> [test1, aa3, zkc1, aa2, aa1, zookeeper]
> to
> aa1, aa2, aa3, test1, zk1, zookeeper

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (ZOOKEEPER-1408) CLI: sort output of ls command

Posted by "Hartmut Lang (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ZOOKEEPER-1408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hartmut Lang updated ZOOKEEPER-1408:
------------------------------------

    Attachment: ZOOKEEPER-1408.patch
    
> CLI: sort output of ls command
> ------------------------------
>
>                 Key: ZOOKEEPER-1408
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1408
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: java client
>            Reporter: Hartmut Lang
>            Assignee: Hartmut Lang
>            Priority: Minor
>             Fix For: 3.5.0
>
>         Attachments: ZOOKEEPER-1408.patch, ZOOKEEPER-1408.patch
>
>
> Sort the output of the ls-command in the CLI. And remove the [] frame.
> Example: change output of "ls /"
> [test1, aa3, zkc1, aa2, aa1, zookeeper]
> to
> aa1, aa2, aa3, test1, zk1, zookeeper

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (ZOOKEEPER-1408) CLI: sort output of ls command

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232250#comment-13232250 ] 

Hadoop QA commented on ZOOKEEPER-1408:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12518832/ZOOKEEPER-1408.patch
  against trunk revision 1302073.

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/998//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/998//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/998//console

This message is automatically generated.
                
> CLI: sort output of ls command
> ------------------------------
>
>                 Key: ZOOKEEPER-1408
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1408
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: java client
>            Reporter: Hartmut Lang
>            Assignee: Hartmut Lang
>            Priority: Minor
>             Fix For: 3.5.0
>
>         Attachments: ZOOKEEPER-1408.patch
>
>
> Sort the output of the ls-command in the CLI. And remove the [] frame.
> Example: change output of "ls /"
> [test1, aa3, zkc1, aa2, aa1, zookeeper]
> to
> aa1, aa2, aa3, test1, zk1, zookeeper

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (ZOOKEEPER-1408) CLI: sort output of ls command

Posted by "Hartmut Lang (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232244#comment-13232244 ] 

Hartmut Lang commented on ZOOKEEPER-1408:
-----------------------------------------

I'd also like to remove the square brackets around the list of nodes.
The brackets just happened to be there, because a toString call of a list-object was used.
                
> CLI: sort output of ls command
> ------------------------------
>
>                 Key: ZOOKEEPER-1408
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1408
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: java client
>            Reporter: Hartmut Lang
>            Assignee: Hartmut Lang
>            Priority: Minor
>             Fix For: 3.5.0
>
>
> Sort the output of the ls-command in the CLI. And remove the [] frame.
> Example: change output of "ls /"
> [test1, aa3, zkc1, aa2, aa1, zookeeper]
> to
> aa1, aa2, aa3, test1, zk1, zookeeper

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (ZOOKEEPER-1408) CLI: sort output of ls command

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1408?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13237875#comment-13237875 ] 

Hadoop QA commented on ZOOKEEPER-1408:
--------------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12519858/ZOOKEEPER-1408.patch
  against trunk revision 1302736.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 4 new or modified tests.

    +1 javadoc.  The javadoc tool did not generate any warning messages.

    +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

    +1 findbugs.  The patch does not introduce any new Findbugs (version 1.3.9) warnings.

    +1 release audit.  The applied patch does not increase the total number of release audit warnings.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1011//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1011//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1011//console

This message is automatically generated.
                
> CLI: sort output of ls command
> ------------------------------
>
>                 Key: ZOOKEEPER-1408
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1408
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: java client
>            Reporter: Hartmut Lang
>            Assignee: Hartmut Lang
>            Priority: Minor
>             Fix For: 3.5.0
>
>         Attachments: ZOOKEEPER-1408.patch, ZOOKEEPER-1408.patch
>
>
> Sort the output of the ls-command in the CLI. And remove the [] frame.
> Example: change output of "ls /"
> [test1, aa3, zkc1, aa2, aa1, zookeeper]
> to
> aa1, aa2, aa3, test1, zk1, zookeeper

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira