@Override public int run(CommandLine cl) throws AlluxioException, IOException { List<SyncPointInfo> files = mFileSystem.getSyncPathList(); System.out.println("The following paths are under active sync"); for (SyncPointInfo syncPointInfo : files) { System.out.print(syncPointInfo.getSyncPointUri() + "\t"); switch (syncPointInfo.getSyncStatus()) { case NOT_INITIALLY_SYNCED: System.out.println("Initial Sync Skipped"); break; case INITIALLY_SYNCED: System.out.println("Initial Sync Done"); break; case SYNCING: System.out.println("Initial Sync In Progress"); break; default: System.out.println("Invalid Syncing Status"); } } return 0; }