forked from xldrx/cloudapp-mp4
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTablePartB.java
More file actions
31 lines (20 loc) · 776 Bytes
/
TablePartB.java
File metadata and controls
31 lines (20 loc) · 776 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
import java.io.IOException;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.HBaseConfiguration;
import org.apache.hadoop.hbase.HColumnDescriptor;
import org.apache.hadoop.hbase.HTableDescriptor;
import org.apache.hadoop.hbase.TableName;
import org.apache.hadoop.hbase.client.HBaseAdmin;
import org.apache.hadoop.hbase.client.HTable;
import org.apache.hadoop.hbase.client.Put;
import org.apache.hadoop.hbase.client.Result;
import org.apache.hadoop.hbase.client.ResultScanner;
import org.apache.hadoop.hbase.client.Scan;
import org.apache.hadoop.hbase.util.Bytes;
public class TablePartB{
public static void main(String[] args) throws IOException {
//TODO
System.out.println("Found tables:");
//TODO: print the list
}
}