0

This is probably a noob question, so I apologize in advance.

The HBase console, as far as I understand, is an extension (or a script running over) JIRB. Also, it comes with several HBase-specific commands, one of which is 'get' - to retrieve columns\values from a table. However, it seems like 'get' only writes to screen and doesn't output values at all.

Is there any native hbase console command which will allow me to retrieve a value (e.g. a set of rows\columns), put them into a variable and retrieve their values?

Thanks

4

1 回答 1

1

不,0.92 中没有本机控制台命令。如果你深入研究源代码,有一个类 Hbase::Table 可以用来做你想做的事。我相信这将在 0.96 中更加暴露。在这一点上,我已经求助于将我自己的 Ruby 添加到我的 shell 来处理各种常见任务(比如在扫描中使用 SingleColumnValueFilters)。

于 2012-05-23T18:00:56.247 回答