You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by y_...@tsmc.com on 2010/09/09 03:07:21 UTC

try to read content of stored file

Hi there,

I am very curious about the content of Hbase store file.
Try to read it by HDFS java API, but it's hard to understand these data due
to alot of invisible codes.
Any suggestion?


Fleming Chiu(邱宏明)
Be Veg! Go Green! Save the planet!


 --------------------------------------------------------------------------- 
                                                         TSMC PROPERTY       
 This email communication (and any attachments) is proprietary information   
 for the sole use of its                                                     
 intended recipient. Any unauthorized review, use or distribution by anyone  
 other than the intended                                                     
 recipient is strictly prohibited.  If you are not the intended recipient,   
 please notify the sender by                                                 
 replying to this email, and then delete this email and any copies of it     
 immediately. Thank you.                                                     
 --------------------------------------------------------------------------- 




Re: try to read content of stored file

Posted by Stack <st...@duboce.net>.
Try this tool:

$ ./bin/hbase org.apache.hadoop.hbase.io.hfile.HFile

Doing the above dumps out usage.  You can pass a filename -- specify
it fully with its hdfs schema as in hdfs://a:9000/hbase/.META./12/34
-- or pass the name of a region and it'll dump all therein.

Let us know if its not working for you.

St.Ack

2010/9/8  <y_...@tsmc.com>:
>
> Hi there,
>
> I am very curious about the content of Hbase store file.
> Try to read it by HDFS java API, but it's hard to understand these data due
> to alot of invisible codes.
> Any suggestion?
>
>
> Fleming Chiu(邱宏明)
> Be Veg! Go Green! Save the planet!
>
>
>  ---------------------------------------------------------------------------
>                                                         TSMC PROPERTY
>  This email communication (and any attachments) is proprietary information
>  for the sole use of its
>  intended recipient. Any unauthorized review, use or distribution by anyone
>  other than the intended
>  recipient is strictly prohibited.  If you are not the intended recipient,
>  please notify the sender by
>  replying to this email, and then delete this email and any copies of it
>  immediately. Thank you.
>  ---------------------------------------------------------------------------
>
>
>
>