@@ -0,0 +1,1766 @@
+/*%0A * The Alluxio Open Foundation licenses this work under the Apache License, version 2.0%0A * (the %22License%22). You may not use this work except in compliance with the License, which is%0A * available at www.apache.org/licenses/LICENSE-2.0%0A *%0A * This software is distributed on an %22AS IS%22 basis, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,%0A * either express or implied, as more fully set forth in the License.%0A *%0A * See the NOTICE file distributed with this work for information regarding copyright ownership.%0A */%0A%0Apackage alluxio.shell.command;%0A%0Aimport alluxio.client.file.FileSystem;%0Aimport alluxio.exception.AlluxioException;%0A%0Aimport org.apache.commons.cli.CommandLine;%0Aimport org.apache.commons.cli.Option;%0Aimport org.apache.commons.cli.Options;%0A%0Aimport java.io.IOException;%0A%0Apublic class CollectLogFilesCommand extends AbstractShellCommand %7B%0A  private static final Option COMPRESSION_OPTION =%0A      Option.builder(%22c%22).required(false).hasArg(false)%0A      .desc(%22perform compression on log files%22).build();%0A%0A  public CollectLogFilesCommand(FileSystem fs) %7B super(fs); %7D%0A%0A  @Override%0A  protected int getNumOfArgs() %7B%0A    return 0;%0A  %7D%0A%0A  @Override%0A  public String getCommandName() %7B%0A    return %22collectLogFiles%22;%0A  %7D%0A%0A  @Override%0A  public int run(CommandLine cl) throws AlluxioException, IOException %7B%0A    String%5B%5D args = cl.getArgs();%0A    System.out.println(%22y7jin: collect log files%22);%0A    for (String s : args) %7B%0A      System.out.println(s);%0A    %7D%0A    return 0;%0A  %7D%0A%0A  @Override%0A  public Options getOptions() %7B%0A    return new Options().addOption(COMPRESSION_OPTION);%0A  %7D%0A%0A  @Override%0A  public String getUsage() %7B%0A    return %22collectLogFiles %5B-c%5D%22;%0A  %7D%0A%0A  @Override%0A  public String getDescription() %7B%0A    return %22Collect the log files on Alluxio servers%22;%0A  %7D%0A%7D%0A

Add a dummy command for log collection (WIP).