code: public static void main(String[] args) {
      if (args.length != 1) {
        LOG.info(USAGE);
        System.exit(-1);
      }
      AlluxioConfiguration conf = new InstancedConfiguration(ConfigurationUtils.defaults());
      // Set the process type as "MASTER" since format needs to access the journal like the master.
      CommonUtils.PROCESS_TYPE.set(CommonUtils.ProcessType.MASTER);
      Mode mode = null;
      try {
        mode = Mode.valueOf(args[0].toUpperCase());
      } catch (IllegalArgumentException e) {
        LOG.error("Unrecognized format mode: {}", args[0]);
        LOG.error("Usage: {}", USAGE);
        System.exit(-1);
      }
      try {
        format(mode, conf);
      } catch (Exception e) {
        LOG.error("Failed to format", e);
        System.exit(-1);
      }
      LOG.info("Formatting complete");
      System.exit(0);
    }
docs: Formats the Alluxio file system.
  
  @param args either {@code MASTER} or {@code WORKER}