dlmarion commented on code in PR #3136:
URL: https://github.com/apache/accumulo/pull/3136#discussion_r1052552561


##########
shell/src/main/java/org/apache/accumulo/shell/commands/ClasspathCommand.java:
##########
@@ -30,9 +30,9 @@ public class ClasspathCommand extends Command {
   public int execute(final String fullCommand, final CommandLine cl, final 
Shell shellState) {
 
     final PrintWriter writer = shellState.getWriter();
-    
org.apache.accumulo.start.classloader.vfs.AccumuloVFSClassLoader.printClassPath(s
 -> {
-      writer.print(s);
-    }, true);
+    // 
org.apache.accumulo.start.classloader.vfs.AccumuloVFSClassLoader.printClassPath(s
 -> {
+    // writer.print(s);
+    // }, true);

Review Comment:
   I think it might be sufficient to remove the classpath command. In the 
default scenario, the server and client VMs will use the standard JVM classpath 
mechanism. In the case where a users is using the new VFS classloader, the 
classpath is 
[printed](https://github.com/apache/accumulo-classloaders/blob/main/modules/vfs-class-loader/src/main/java/org/apache/accumulo/classloader/vfs/AccumuloVFSClassLoader.java#L596)
 to the server-side log during initialization (so it's only printed once).



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to