简体   繁体   English

如何通过nutch查看存储在hbase中的hbase数据

[英]How to view hbase data stored in hbase by nutch

I am using apache nutch to store data in hbase that is using hdfs as its file system. 我正在使用Apache Nutch将数据存储在使用hdfs作为其文件系统的hbase中。 I want to know which documents it stored in hbase etc. How to read that data from hbase eg Some pdf is stored in hbase. 我想知道它存储在hbase等文件中。如何从hbase读取数据,例如一些pdf存储在hbase中。 I want to read it. 我想读。 how I will do it. 我将如何做。

Please guide me? 请指导我?

Web pages and documents are stored as a row. 网页和文档存储为一行。 If you know your document link, you can get it on hbase shell or other tool (hive pig etc.) Nutch stores URL as reverse URL. 如果知道您的文档链接,则可以在hbase shell或其他工具(蜂巢猪等)上获取它。Nutch将URL存储为反向URL。

Eg " http://bar.foo.com:8983/to/index.html?a=b " becomes "com.foo.bar:8983:http/to/index.html?a=b". 例如,“ http://bar.foo.com:8983/to/index.html?a=b ”变为“ com.foo.bar:8983:http/to/index.html?a=b”。

Information about Hbase Shell http://wiki.apache.org/hadoop/Hbase/Shell 有关Hbase Shell的信息http://wiki.apache.org/hadoop/Hbase/Shell

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM