stargate

Filters in HBASE

别说谁变了你拦得住时间么 提交于 2019-12-25 18:52:42
问题 How can i use the following Filters in HBASE efficiently by PHP? http://svn.apache.org/repos/asf/hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/filter/ 回答1: You can always port the code to PHP. But if you don't feel up for that. The only other option i know of is the Java Bridge. I never used it before. But you should be able to do things like: $filter = new Java("org.apache.hadoop.hbase.filter.BinaryComparator", "bin value"); http://files.zend.com/help/Zend-Server-Community

Filters in HBASE

 ̄綄美尐妖づ 提交于 2019-12-25 18:52:06
问题 How can i use the following Filters in HBASE efficiently by PHP? http://svn.apache.org/repos/asf/hbase/branches/0.90/src/main/java/org/apache/hadoop/hbase/filter/ 回答1: You can always port the code to PHP. But if you don't feel up for that. The only other option i know of is the Java Bridge. I never used it before. But you should be able to do things like: $filter = new Java("org.apache.hadoop.hbase.filter.BinaryComparator", "bin value"); http://files.zend.com/help/Zend-Server-Community

Hbase Stargate returns scrambled values

元气小坏坏 提交于 2019-12-11 07:18:39
问题 I'm trying out Hbase Stargate as a REST server that's bundled with my Hbase installation. It's simple to get up and running, but I'm wondering how to view actual row data? When I perform a GET request in my REST client, I am returned with scrambled values: GET localhost:8282/article/row1/ <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <CellSet> <Row key="cm93MQ=="> <Cell column="Y2Y6QXJ0aWNsZUlE" timestamp="1357592601561">MQ==</Cell> <Cell column="Y2Y6Q2FwRGF0ZQ==" timestamp=

How to lookup HBase REST API (Stargate) if the row-keys are reversed urls

回眸只為那壹抹淺笑 提交于 2019-12-07 21:10:01
问题 I am using nutch2.2.1 + hbase0.90.4, and wanting to access the data via the HBase REST API Stargate. If I seed nutch with a url (eg. www.usatoday.com), the reversed url becomes the HBase row-key in the designated table ('webpage'). I can lookup the data via the hbase shell as follows: hbase(main):001:0> get 'webpage', 'com.usatoday.www:http/' COLUMN CELL f:fi timestamp=1404762373394,value=\x00'\x8D\x00 f:ts timestamp=1404762373394, value=\x00\x00\x01G\x12\\xB5\xB3 mk:_injmrk_ timestamp

HBase REST Filter ( SingleColumnValueFilter )

元气小坏坏 提交于 2019-11-29 02:07:57
问题 I cannot figure out how to use filters in the HBase REST interface (HBase 0.90.4-cdh3u3). The documentation just gives me a schema definition for a "string", but doesn't show how to use it. So, I'm able to do this: curl -v -H 'Content-Type: text/xml' -d '<Scanner startRow="ddo" stopRow="ddp" batch="1024"/>' 'http://hbasegw:8080/table/scanner' and then retrieve with curl -s -H "Content-Type: text/xml" http://hbasegw:8080/table/scanner/13293426893883128482b | tidy -i -q -xml But now I want to