hbase SCAN操作-ROOT- .META.

hbase(main):015:0> scan '-ROOT-'
ROW                                      COLUMN+CELL                                                                                                         
 .META.,,1                               column=info:regioninfo, timestamp=1362852985262, value=REGION => {NAME => '.META.,,1', STARTKEY => '', ENDKEY => '',
                                          ENCODED => 1028785192, TABLE => {{NAME => '.META.', IS_META => 'true', FAMILIES => [{NAME => 'info', BLOOMFILTER =>
                                          'NONE', REPLICATION_SCOPE => '0', VERSIONS => '10', COMPRESSION => 'NONE', TTL => '2147483647', BLOCKSIZE => '8192'
                                         , IN_MEMORY => 'true', BLOCKCACHE => 'true'}]}}                                                                     
 .META.,,1                               column=info:server, timestamp=1364666791583, value=ubuntu.ubuntu-domain:60020                                       
 .META.,,1                               column=info:serverstartcode, timestamp=1364666791583, value=1364666785372                                           
1 row(s) in 0.0170 seconds

hbase(main):016:0> scan '.META.'
ROW                                      COLUMN+CELL 
                                                                                                        
 hmap,,1362853286215.9efb76644ffa7494c8d column=info:regioninfo, timestamp=1362853286399, value=REGION => {NAME => 'hmap,,1362853286215.9efb76644ffa7494c8d0f
 0f0d6d65f493b.                          0d6d65f493b.', STARTKEY => '', ENDKEY => '', ENCODED => 9efb76644ffa7494c8d0f0d6d65f493b, TABLE => {{NAME => 'hmap',
                                          FAMILIES => [{NAME => 'f', BLOOMFILTER => 'NONE', REPLICATION_SCOPE => '0', COMPRESSION => 'NONE', VERSIONS => '3',
                                          TTL => '2147483647', BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE => 'true'}]}}                          
 hmap,,1362853286215.9efb76644ffa7494c8d column=info:server, timestamp=1364666791751, value=ubuntu.ubuntu-domain:60020                                       
 0f0d6d65f493b.                                                                                                                                              
 hmap,,1362853286215.9efb76644ffa7494c8d column=info:serverstartcode, timestamp=1364666791751, value=1364666785372                                           
 0f0d6d65f493b.                                                                                                                                              
 schedule,,1362856798653.55cd3ad5400cdbe column=info:regioninfo, timestamp=1362856798727, value=REGION => {NAME => 'schedule,,1362856798653.55cd3ad5400cdbe50
 504e7aab9462ef6c1.                      4e7aab9462ef6c1.', STARTKEY => '', ENDKEY => '', ENCODED => 55cd3ad5400cdbe504e7aab9462ef6c1, TABLE => {{NAME => 'sc
                                         hedule', FAMILIES => [{NAME => 'f', BLOOMFILTER => 'NONE', REPLICATION_SCOPE => '0', COMPRESSION => 'NONE', VERSIONS
                                          => '3', TTL => '2147483647', BLOCKSIZE => '65536', IN_MEMORY => 'false', BLOCKCACHE => 'true'}]}}                  
 schedule,,1362856798653.55cd3ad5400cdbe column=info:server, timestamp=1364666791767, value=ubuntu.ubuntu-domain:60020                                       
 504e7aab9462ef6c1.                                                                                                                                          
 schedule,,1362856798653.55cd3ad5400cdbe column=info:serverstartcode, timestamp=1364666791767, value=1364666785372                                           
 504e7aab9462ef6c1.                                                                                                                                          
2 row(s) in 0.0300 seconds

hbase(main):017:0> list
TABLE                                                                                                                                                        
hmap                                                                                                                                                         
schedule                                                                                                                                                     
2 row(s) in 0.0280 seconds

hbase(main):018:0> scan 'hmap'
ROW                                      COLUMN+CELL                                                                                                         
 0                                       column=f:endtime, timestamp=1362856983775, value=13:22:29                                                           
 0                                       column=f:name, timestamp=1362856983775, value=T11                                                                   
 0                                       column=f:price, timestamp=1362856983775, value=100                                                                  
 0                                       column=f:starttime, timestamp=1362856983775, value=12:20:22                                                         
 11                                      column=f:qua, timestamp=1362853840413, value=ssssssss                                                               
 11                                      column=f:qua1, timestamp=1362853984104, value=ssssssss                                                              
 12                                      column=f:qua, timestamp=1362853840413, value=3333333333                                                             
 12                                      column=f:qua1, timestamp=1362853984104, value=3333333333                                                            
 16                                      column=f:qua, timestamp=1362853840413, value=aaaaaaaaaa                                                             
 16                                      column=f:qua1, timestamp=1362853984104, value=aaaaaaaaaa                                                            
 17                                      column=f:qua, timestamp=1362853840413, value=bbbbbbbbbb                                                             
 17                                      column=f:qua1, timestamp=1362853984104, value=bbbbbbbbbb                                                            
 22                                      column=f:qua, timestamp=1362853840413, value=dddddddd                                                               
 22                                      column=f:qua1, timestamp=1362853984104, value=dddddddd                                                              
 23                                      column=f:qua, timestamp=1362853840413, value=4444444444                                                             
 23                                      column=f:qua1, timestamp=1362853984104, value=4444444444                                                            
 26                                      column=f:endtime, timestamp=1362856983775, value=23:00:00                                                           
 26                                      column=f:name, timestamp=1362856983775, value=G22                                                                   
 26                                      column=f:price, timestamp=1362856983775, value=230                                                                  
 26                                      column=f:starttime, timestamp=1362856983775, value=12:22:11                                                         
 33                                      column=f:qua, timestamp=1362853840413, value=gggggggg                                                               
 33                                      column=f:qua1, timestamp=1362853984104, value=gggggggg                                                              
 34                                      column=f:qua, timestamp=1362853840413, value=5555555555                                                             
 34                                      column=f:qua1, timestamp=1362853984104, value=5555555555                                                            
 66                                      column=f:qua, timestamp=1362853840413, value=hhhhhhhh                                                               
 66                                      column=f:qua1, timestamp=1362853984104, value=hhhhhhhh                                                              
 88                                      column=f:qua, timestamp=1362853840413, value=hbase_to_hadoop                                                        
 88                                      column=f:qua1, timestamp=1362853984104, value=hbase_to_hadoop                                                       
 D11                                     column=f:qua, timestamp=1362855291427, value=12:20:22,13:22:29,100                                                  
 D11 12:20:22                            column=f:qua, timestamp=1362854938698, value=13:22:29                                                               
 G22                                     column=f:qua, timestamp=1362855291427, value=12:22:11,23:00:00,230                                                  
 G22 12:22:11                            column=f:qua, timestamp=1362854938698, value=23:00:00                                                               
 T11                                     column=f:qua, timestamp=1362855291427, value=12:20:22,13:22:29,100                                                  
 T11 12:20:22                            column=f:qua, timestamp=1362854938698, value=13:22:29                                                               
 t22                                     column=f:qua, timestamp=1362855291427, value=12:22:11,23:00:00,230                                                  
 t22 12:22:11                            column=f:qua, timestamp=1362854938698, value=23:00:00                                                               
20 row(s) in 0.0840 seconds

hbase(main):019:0> list       
TABLE                                                                                                                                                        
hmap                                                                                                                                                         
schedule                                                                                                                                                     
2 row(s) in 0.0300 seconds

hbase(main):020:0> scan 'schedule'
ROW                                      COLUMN+CELL                                                                                                         
 0                                       column=f:endtime, timestamp=1362857216179, value=13:22:29                                                           
 0                                       column=f:name, timestamp=1362857216179, value=T11                                                                   
 0                                       column=f:price, timestamp=1362857216179, value=100                                                                  
 0                                       column=f:starttime, timestamp=1362857216179, value=12:20:22                                                         
 26                                      column=f:endtime, timestamp=1362857216179, value=23:00:00                                                           
 26                                      column=f:name, timestamp=1362857216179, value=G22                                                                   
 26                                      column=f:price, timestamp=1362857216179, value=230                                                                  
 26                                      column=f:starttime, timestamp=1362857216179, value=12:22:11                                                         
2 row(s) in 0.0370 seconds

hbase(main):021:0>

你可能感兴趣的:(Hbase入门)