该工作包实现的功能:[[BR]] * HBASE分布式查询,用户输入表名,filter,输出目录等信息查询相应的结果 * 查看HDFS压缩文件文件里面的前几行数据 {{{ public static void main(String[] args) throws Exception { Configuration conf = HBaseConfiguration.create(); //建立Configuration String[] otherArgs = new GenericOptionsParser(conf, args).getRemainingArgs(); //输入参数parser }}} 参数传递的规则:hadoop jar xxxx.jar program [genericOptions] [commandOptions][[BR]] genericOptions: {{{ -conf specify a configuration file -D use value for given property -fs specify a namenode -jt specify a job tracker -files specify comma separated files to be copied to the map reduce cluster -libjars specify comma separated jar files to include in the classpath. -archives specify comma separated archives to be unarchived on the compute machines.v }}}