public static boolean isValidArguements(String[] args) {
    return args != null && args.length >= 2;
  }
Common usage for other export tools.
@param errorMsg Error message. Can be null.
hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/mapreduce/ExportUtils.java