Hai alcune opzioni:
1 via http: http://[your_hbase_master]:60010/table.jsp?name=[your_table]
2 della riga di comando:
$ hadoop fs -ls /hbase/[your_table]
Found 8 items
-rw-r--r-- 3 hbase hbase 1893 2013-05-25 18:03 /hbase/[your_table]/.tableinfo.0000000001
drwxr-xr-x - hbase hbase 0 2013-05-25 18:03 /hbase/[your_table]/.tmp
drwxr-xr-x - hbase hbase 0 2014-11-04 06:34 /hbase/[your_table]/045ab87f468ba9e967a0987ca98b7db4
drwxr-xr-x - hbase hbase 0 2014-11-04 06:34 /hbase/[your_table]/062bc3ef65b9db80a1eeb2c1f4229fdb
drwxr-xr-x - hbase hbase 0 2014-11-04 06:34 /hbase/[your_table]/0a921049a908dbc929b160210a397632
drwxr-xr-x - hbase hbase 0 2014-11-04 06:34 /hbase/[your_table]/43a9576bad8845f7d7baacc97882eec6
drwxr-xr-x - hbase hbase 0 2014-11-04 06:34 /hbase/[your_table]/f492c709d17c4ded150014543f21e362
drwxr-xr-x - hbase hbase 0 2014-11-04 06:34 /hbase/[your_table]/fa465c6a27023d49893de3c1004efd29
Otterrete una directory per regione (esclusi tmp y .tableinfo):
3 in Java è possibile utilizzare HBaseAdmin.getTableRegions(byte[])
fonte
2015-01-27 06:01:10
someh no 2 La riga di comando non ha funzionato per me. Io uso cdh5.3.0 (hbase.0.98.6) Non ho visto il nome della tabella nella cartella/hbase .. ma n. 1 ha funzionato perfettamente per me. Grazie! –
dove si trova il segno di spunta? Mi piacerebbe scegliere questa risposta .. –
Sembra che in CDH5 + abbiano spostato la directory HDFS, usare 'hadoop fs -ls /' per trovare la nuova directory, oppure, individuare il file hdfs-site.xml e cercare la proprietà hbase.rootdir. –