public static void main(String[] argv) throws Exception {
    // Silence the usual noise. This is probably fragile...
    Log4jUtils.setLogLevel("org.apache.hadoop.hbase", "WARN");
    System.exit(
      ToolRunner.run(HBaseConfiguration.create(), new MapreduceDependencyClasspathTool(), argv));
  }
Generate a classpath string containing any jars required by mapreduce jobs. Specify additional
values by providing a comma-separated list of paths via -Dtmpjars.
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/util/MapreduceDependencyClasspathTool.java