hadoop_tools: App.java
| File App.java, 437 bytes (added by liaojiaohe, 14 years ago) |
|---|
| Line | |
|---|---|
| 1 | package cn.pconline.hadooptools; |
| 2 | |
| 3 | import org.apache.hadoop.util.ProgramDriver; |
| 4 | |
| 5 | /** |
| 6 | * Hello world! |
| 7 | * |
| 8 | */ |
| 9 | public class App |
| 10 | { |
| 11 | public static void main( String[] args ) throws Throwable |
| 12 | { |
| 13 | |
| 14 | ProgramDriver pgd = new ProgramDriver(); |
| 15 | pgd.addClass(ScanTable.NAME, ScanTable.class, |
| 16 | "Search table in HBase table use filter"); |
| 17 | pgd.addClass(Head.NAME, Head.class, "read dfs file top n"); |
| 18 | |
| 19 | pgd.driver(args); |
| 20 | |
| 21 | |
| 22 | } |
| 23 | } |
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)