public static void main(String[] args) {
    try {

      Configuration conf = new Configuration();
      RCFileCat instance = new RCFileCat();
      instance.setConf(conf);

      ToolRunner.run(instance, args);
    } catch (Exception e) {
      e.printStackTrace();
      System.err.println("\n\n\n");
      printUsage(e.getMessage());
      System.exit(1);
    }
  }
Print record to string builder
@param value
@param buf
@throws IOException
cli/src/java/org/apache/hadoop/hive/cli/RCFileCat.java