[ https://issues.apache.org/jira/browse/CASSANDRA-16057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17214000#comment-17214000 ]
Yifan Cai commented on CASSANDRA-16057: --------------------------------------- Good catch! It turns out that my previous command used to list {{(System.out | System.err)}} usage was wrong. The "-u" is unnecessary. I have fixed the 3.11 branch. {code:java} 08:14:09 in cassandra on b/CASSANDRA-16057-3.11 ➜ egrep -r 'System.out|System.err' src/java/org/apache/cassandra/tools | awk {'print $1'} | sort | uniq src/java/org/apache/cassandra/tools/AbstractJmxClient.java: src/java/org/apache/cassandra/tools/BulkLoader.java: src/java/org/apache/cassandra/tools/GetVersion.java: src/java/org/apache/cassandra/tools/LoaderOptions.java: src/java/org/apache/cassandra/tools/NodeProbe.java: src/java/org/apache/cassandra/tools/Output.java: src/java/org/apache/cassandra/tools/SSTableExpiredBlockers.java: src/java/org/apache/cassandra/tools/SSTableExport.java: src/java/org/apache/cassandra/tools/SSTableLevelResetter.java: src/java/org/apache/cassandra/tools/SSTableMetadataViewer.java: src/java/org/apache/cassandra/tools/SSTableOfflineRelevel.java: src/java/org/apache/cassandra/tools/SSTableRepairedAtSetter.java: src/java/org/apache/cassandra/tools/StandaloneSSTableUtil.java: src/java/org/apache/cassandra/tools/StandaloneScrubber.java: src/java/org/apache/cassandra/tools/StandaloneSplitter.java: src/java/org/apache/cassandra/tools/StandaloneUpgrader.java: src/java/org/apache/cassandra/tools/StandaloneVerifier.java: src/java/org/apache/cassandra/tools/Util.java: src/java/org/apache/cassandra/tools/nodetool/formatter/TableBuilder.java: 08:15:16 in cassandra on b/CASSANDRA-16057-3.0 ➜ egrep -r 'System.out|System.err' src/java/org/apache/cassandra/tools | awk {'print $1'} | sort | uniq src/java/org/apache/cassandra/tools/AbstractJmxClient.java: src/java/org/apache/cassandra/tools/BulkLoader.java: src/java/org/apache/cassandra/tools/GetVersion.java: src/java/org/apache/cassandra/tools/NodeProbe.java: src/java/org/apache/cassandra/tools/Output.java: src/java/org/apache/cassandra/tools/SSTableExpiredBlockers.java: src/java/org/apache/cassandra/tools/SSTableExport.java: src/java/org/apache/cassandra/tools/SSTableLevelResetter.java: src/java/org/apache/cassandra/tools/SSTableMetadataViewer.java: src/java/org/apache/cassandra/tools/SSTableOfflineRelevel.java: src/java/org/apache/cassandra/tools/SSTableRepairedAtSetter.java: src/java/org/apache/cassandra/tools/StandaloneSSTableUtil.java: src/java/org/apache/cassandra/tools/StandaloneScrubber.java: src/java/org/apache/cassandra/tools/StandaloneSplitter.java: src/java/org/apache/cassandra/tools/StandaloneUpgrader.java: src/java/org/apache/cassandra/tools/StandaloneVerifier.java: src/java/org/apache/cassandra/tools/Util.java: 08:15:26 in cassandra on b/CASSANDRA-16057-2.2 ➜ egrep -r 'System.out|System.err' src/java/org/apache/cassandra/tools | awk {'print $1'} | sort | uniq src/java/org/apache/cassandra/tools/AbstractJmxClient.java: src/java/org/apache/cassandra/tools/BulkLoader.java: src/java/org/apache/cassandra/tools/GetVersion.java: src/java/org/apache/cassandra/tools/NodeProbe.java: src/java/org/apache/cassandra/tools/Output.java: src/java/org/apache/cassandra/tools/SSTableExpiredBlockers.java: src/java/org/apache/cassandra/tools/SSTableExport.java: src/java/org/apache/cassandra/tools/SSTableImport.java: src/java/org/apache/cassandra/tools/SSTableLevelResetter.java: src/java/org/apache/cassandra/tools/SSTableMetadataViewer.java: src/java/org/apache/cassandra/tools/SSTableOfflineRelevel.java: src/java/org/apache/cassandra/tools/SSTableRepairedAtSetter.java: src/java/org/apache/cassandra/tools/StandaloneScrubber.java: src/java/org/apache/cassandra/tools/StandaloneSplitter.java: src/java/org/apache/cassandra/tools/StandaloneUpgrader.java: src/java/org/apache/cassandra/tools/StandaloneVerifier.java: src/java/org/apache/cassandra/tools/Util.java: {code} > Should update in-jvm dtest to expose stdout and stderr for nodetool > ------------------------------------------------------------------- > > Key: CASSANDRA-16057 > URL: https://issues.apache.org/jira/browse/CASSANDRA-16057 > Project: Cassandra > Issue Type: Improvement > Components: Test/dtest/java > Reporter: David Capwell > Assignee: Yifan Cai > Priority: Normal > Fix For: NA > > Time Spent: 2h 20m > Remaining Estimate: 0h > > Many nodetool commands output to stdout or stderr so running nodetool using > in-jvm dtest should expose that to tests. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org