Created
February 16, 2013 19:13
-
-
Save shrijeet/4968275 to your computer and use it in GitHub Desktop.
copy table's main
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void main(String[] args) throws Exception { | |
Configuration conf = HBaseConfiguration.create(); | |
String[] otherArgs = | |
new GenericOptionsParser(conf, args).getRemainingArgs(); | |
Job job = createSubmittableJob(conf, otherArgs); | |
if (job != null) { | |
System.exit(job.waitForCompletion(true) ? 0 : 1); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment