简体   繁体   中英

Writing data to HBase

I'm using Nutch to crawl site data and then writing data to HBase. Problem is that, in tutorials is mentioned, how to update the specific row (put), but not how to create with Java code. How to create row at crawling time, that "row number" will increment?

I got idea. If someone is interested: Use any unique value of data as "key". For example, I have to work with books, so my row "number" will be unique ISBN code.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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