You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2017/05/01 20:04:04 UTC
[jira] [Commented] (SOLR-10430) Add ls command to ZkCLI for listing
only sub-directories
[ https://issues.apache.org/jira/browse/SOLR-10430?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15991438#comment-15991438 ]
Mark Miller commented on SOLR-10430:
------------------------------------
Thanks for the patch [~szantaikis], looks like a couple precommit violations:
{noformat}
[forbidden-apis] Scanning classes for violations...
[forbidden-apis] Forbidden method invocation: java.io.PrintStream#<init>(java.io.OutputStream) [Uses default charset]
[forbidden-apis] in org.apache.solr.cloud.ZkCLITest (ZkCLITest.java:198)
[forbidden-apis] Forbidden method invocation: java.io.ByteArrayOutputStream#toString() [Uses default charset]
[forbidden-apis] in org.apache.solr.cloud.ZkCLITest (ZkCLITest.java:203)
[forbidden-apis] Forbidden method invocation: java.io.PrintStream#<init>(java.io.OutputStream) [Uses default charset]
[forbidden-apis] in org.apache.solr.cloud.ZkCLITest (ZkCLITest.java:215)
[forbidden-apis] Forbidden method invocation: java.io.ByteArrayOutputStream#toString() [Uses default charset]
[forbidden-apis] in org.apache.solr.cloud.ZkCLITest (ZkCLITest.java:220)
[forbidden-apis] Scanned 3641 (and 2473 related) class file(s) for forbidden API invocations (in 3.22s), 4 error(s).
{noformat}
We forbid using methods that use the default charset - generally you want to use .ROOT or .ENGLISH.
> Add ls command to ZkCLI for listing only sub-directories
> --------------------------------------------------------
>
> Key: SOLR-10430
> URL: https://issues.apache.org/jira/browse/SOLR-10430
> Project: Solr
> Issue Type: Improvement
> Security Level: Public(Default Security Level. Issues are Public)
> Components: scripts and tools
> Reporter: Peter Szantai-Kis
> Assignee: Mark Miller
> Priority: Minor
> Attachments: SOLR-10430.patch, SOLR-10430.patch, SOLR-10430.patch
>
>
> Current list command prints out the whole directory/file tree, which can be too verbose for some situations, especially when the cluster gets bigger over time.
> Add a "ls" command that would support listing only part of the file tree based on the input path given
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org