{ "version": "https://jsonfeed.org/version/1", "title": "HBase", "description": "HBase is the Hadoop database. Think of it as a distributed, scalable, big data store.", "home_page_url": "go/hbase", "feed_url": "feed/hbase.json", "icon": "https://cdn.v2ex.com/navatar/08c5/433a/597_large.png?m=1369500384", "favicon": "https://cdn.v2ex.com/navatar/08c5/433a/597_normal.png?m=1369500384", "items": [ { "author": { "url": "member/davidkllun", "name": "davidkllun", "avatar": "https://cdn.v2ex.com/gravatar/3788e1c8823e05c13477460e2f4fd1c7?s=73&d=retro" }, "url": "t/717544", "title": "HBase \u5c5e\u65bc\u6578\u64da\u5009\u5eab\u55ce?", "id": "t/717544", "date_published": "2020-10-22T09:16:22+00:00", "content_html": "" }, { "author": { "url": "member/muziling", "name": "muziling", "avatar": "https://cdn.v2ex.com/gravatar/8509ed5054cef8bc3fafd7dd6e9a8947?s=73&d=retro" }, "url": "t/708225", "date_modified": "2020-09-18T03:25:47+00:00", "content_html": "\u4e0a\u767e\u4ebf\u7684\u6570\u636e\uff0c\u6bd4\u5982\u6709 A1 \u5230 A8\uff0c\u5171 8 \u5217\u6570\u636e
\u9700\u8981\u652f\u6301\u901a\u8fc7 A1 \u5355\u4e00\u6761\u4ef6\u6765\u67e5\u8be2
\u9700\u8981\u652f\u6301\u901a\u8fc7 A2 \u5355\u4e00\u6761\u4ef6\u6765\u67e5\u8be2
\u9700\u8981\u652f\u6301\u901a\u8fc7 A3 \u5355\u4e00\u6761\u4ef6\u6765\u67e5\u8be2

\u8fd9\u79cd\u60c5\u51b5\u662f\u4e0d\u662f\u53ea\u80fd\u5efa 3 \u4e2a hbase \u8868\uff0c\u5206\u522b\u7528 A1,A2,A3 \u5f53 rowkey\uff0c \u5373\u4e0a\u767e\u4ebf\u7684\u6570\u636e\u4e00\u5171\u5b58\u4e86 3 \u4efd\u3002", "date_published": "2020-09-18T03:20:02+00:00", "title": "\u4e0a\u767e\u4ebf\u7684\u6570\u636e\uff0c\u5982\u679c\u9700\u8981\u652f\u6301\u591a\u79cd\u67e5\u8be2\u6761\u4ef6\u652f\u6301\uff0c\u662f\u4e0d\u662f\u53ea\u80fd\u5efa\u591a\u4e2a hbase \u8868\uff1f", "id": "t/708225" }, { "author": { "url": "member/outgoingzy", "name": "outgoingzy", "avatar": "https://cdn.v2ex.com/gravatar/d1212a5c90ba571f32be710f7657bd14?s=73&d=retro" }, "url": "t/673391", "title": "\u4f7f\u7528 happybase \u8c03\u7528 put \u65b9\u6cd5\u65f6\u51fa\u9519\uff0c\u522b\u7684\u90fd\u4e0d\u4f1a\u62a5\u9519", "id": "t/673391", "date_published": "2020-05-19T14:47:22+00:00", "content_html": "

\u5df2\u7ecf\u6d4b\u8bd5\u8fc7\uff0c\u5982\u679c\u5728\u8fde\u63a5\u65f6\u52a0\u5165 protocol='compact'\u548c transport='framed'\u7684\u9009\u9879\uff0c\u90a3\u4e48\u8fde table.scan()\u90fd\u4f1a\u62a5\u9519\uff1a\nthriftpy2.transport.base.TTransportException: TTransportException(type=4, message='TSocket read 0 bytes')

\n

\u5e76\u4e14\u4e0e\u6b64\u540c\u65f6\uff0c\u5728 thrift \u7684\u670d\u52a1\u754c\u9762\u4f1a\u62a5\u5982\u4e0b\u7684\u9519\u8bef\uff1a\nERROR [thrift-worker-1] thrift.TBoundedThreadPoolServer: Error occurred during processing of message.\njava.lang.IllegalArgumentException: Invalid famAndQf provided.

\n

\u6211\u4e0d\u77e5\u9053\u662f\u54ea\u91cc\u6709\u95ee\u9898\uff0chbase shell \u4e0b\u6267\u884c\u4efb\u4f55\u547d\u4ee4\u90fd\u6ca1\u6709\u95ee\u9898\uff0c\u53ea\u8981\u8c03\u7528 table.put()\u5c31\u4f1a\u62a5\u9519\uff0c\u5df2\u7ecf\u4e24\u5929\u4e86\uff0c\u8fd8\u662f\u6ca1\u6709\u627e\u5230\u95ee\u9898\u5728\u54ea\uff0c\u62dc\u6258\u5927\u5bb6\u5e2e\u5e2e\u6211

\n" }, { "author": { "url": "member/u86", "name": "u86", "avatar": "https://cdn.v2ex.com/gravatar/0ac4b7fbafe013924be0f08cb3846761?s=73&d=retro" }, "url": "t/557688", "date_modified": "2019-04-22T13:55:31+00:00", "content_html": "\u5728 hbase shell \u4e2d\u4f7f\u7528 list \u547d\u4ee4\u62a5\u9519\uff1aERROR: Can't get master address from ZooKeeper; znode data == null
\u5728\u7f51\u4e0a\u641c\u7684\u65b9\u6cd5\u90fd\u89e3\u51b3\u4e0d\u4e86 \u6709\u6ca1\u6709\u5927\u795e\u6307\u70b9\u4e00\u4e0b \u5934\u75bc", "date_published": "2019-04-22T13:53:51+00:00", "title": "\u865a\u62df\u673a\u91cc hbase shell \u4e2d\u4f7f\u7528 list \u547d\u4ee4\u62a5\u9519", "id": "t/557688" }, { "author": { "url": "member/ray1888", "name": "ray1888", "avatar": "https://cdn.v2ex.com/gravatar/cde2df61ae02e568c7336eb6858c4a59?s=73&d=retro" }, "url": "t/398700", "date_modified": "2017-10-18T09:19:08+00:00", "content_html": "

\u521a\u521a\u5f00\u59cb\u7814\u7a76 hbase\uff0c\u60f3\u8bf7\u95ee\u4e00\u4e0b\uff0c\u4e00\u4e2a\u8868\u91cc\u9762\u7684\u6bcf\u4e00\u884c\u8ddf rowkey \u6709\u4ec0\u4e48\u5173\u7cfb\u5417\uff1f\u600e\u6837\u53bb\u5b9a\u4e49 rowkey \uff1f\u6c42\u89e3\u7b54

\n", "date_published": "2017-10-18T09:17:53+00:00", "title": "\u6c42\u95ee\u4e00\u4e2a hbase \u7684\u57fa\u672c\u95ee\u9898", "id": "t/398700" }, { "author": { "url": "member/funky", "name": "funky", "avatar": "https://cdn.v2ex.com/avatar/deda/eedf/47167_large.png?m=1742095057" }, "url": "t/316787", "date_modified": "2016-10-31T06:05:58+00:00", "content_html": "\u73b0\u5728\u4e1a\u52a1\u4e0a\u6709\u4e00\u4e2a\u573a\u666f\uff1a\u6709\u4e00\u5f20\u4eba\u7fa4\u8096\u50cf\u8868\uff0c\u4e00\u884c\u8bb0\u5f55\u4ee3\u8868\u4e00\u4e2a\u4eba\uff0c\u5176\u4e2d\u4eba\u7684\u5c5e\u6027(\u7eac\u5ea6)\u5f88\u591a\u79cd\uff0c\u4ee5\u4e00\u4e2a\u5217\u7c07,\u591a\u4e2a qualifier \u7684\u5f62\u5f0f\u5b58\u653e\uff0c\u540c\u65f6\u4eba\u7684\u5c5e\u6027\uff08\u7eac\u5ea6\uff09\u53ef\u4ee5\u52a8\u6001\u589e\u52a0\uff0c\u73b0\u5728\u5c31\u662f\u5728\u8fd9\u5f20\u8868\u4e0a\u8fdb\u884c\u7edf\u8ba1(\u591a\u4e2a\u7eac\u5ea6\u8ba1\u7b97 count \uff09\u90a3\u4e48\u8be5\u5982\u4f55\u8bbe\u8ba1\u8868\u5462\uff1f\r
ps: \u7528 HBase \u5b58\u653e\uff0c \u8868\u7684\u6570\u636e\u91cf\u589e\u957f\u5f88\u5feb\uff0c\u540c\u65f6\u8be5\u8868\u7684\u89c4\u6a21\u4e5f\u4f1a\u5f88\u5927\u3002\u540c\u65f6\u5bf9\u54cd\u5e94\u8981\u5728\u53ef\u63a5\u53d7\u7684\u8303\u56f4\u5185", "date_published": "2016-10-31T06:04:59+00:00", "title": "\u5173\u4e8e\u8868\u8bbe\u8ba1\u7684\u95ee\u9898", "id": "t/316787" }, { "author": { "url": "member/mikej", "name": "mikej", "avatar": "https://cdn.v2ex.com/avatar/db59/312b/38469_large.png?m=1753912303" }, "url": "t/120799", "title": "\u5173\u4e8e hbase \u7684\u4e00\u4e2a\u6d88\u606f\u4e2d\u5fc3\u8868\u7684 rowkey \u8bbe\u8ba1", "id": "t/120799", "date_published": "2014-07-03T07:50:35+00:00", "content_html": "\u516c\u53f8\u51c6\u5907\u5c06\u6d88\u606f\u4e2d\u5fc3\u7531\u539f\u5148\u7684mysql\u50a8\u5b58\u6539\u4e3ahbase\uff0c\u4e3b\u8981\u9700\u6c42\u5982\u4e0b\uff1a

1.\u6d88\u606f\u5206\u4e3a\u7cfb\u7edf\u516c\u544a\u548c\u4e2a\u4eba\u6d88\u606f\uff0c\u4e2a\u4eba\u6d88\u606f\u6709\u4e0d\u540c\u7684\u7c7b\u522b\uff0c\u6bcf\u6761\u6d88\u606f\u6709\u5df2\u8bfb\u548c\u672a\u8bfb\u72b6\u6001\u3002
2.\u67e5\u770b\u6d88\u606f\u65f6\u53ef\u4ee5\u5206\u522b\u67e5\u770b\u5168\u90e8\u6d88\u606f\u3001\u7cfb\u7edf\u516c\u544a\u548c\u4e2a\u4eba\u6d88\u606f\uff0c\u5176\u4e2d\u4e2a\u4eba\u6d88\u606f\u53ef\u4ee5\u5206\u7c7b\u522b\u67e5\u770b\u3002\u4e5f\u53ef\u4ee5\u5206\u5df2\u8bfb\u548c\u672a\u8bfb\u67e5\u770b\uff08\u6309\u7167\u65f6\u95f4\u6392\u5e8f\uff09\u3002

\u73b0\u5728\u7684\u6d88\u606f\u8868\u7684\u8bbe\u8ba1\u662f\u8fd9\u6837\u7684\uff1a

rowkey = uid+is_read+msg_type+\u9012\u51cf\u7684timestamp\uff0c\u6bd4\u5982\uff1a22222222,1,3,8595702279104
column family\u53ea\u6709\u4e00\u4e2amessage\uff0c\u7528\u4e8e\u5b58\u50a8\u6d88\u606f\u5185\u5bb9

\u6839\u636ehbase\u7684\u6570\u636e\u5b58\u50a8\u7279\u6027\uff0c\u6570\u636e\u6309\u7167rowkey\u7684\u5b57\u5178\u5e8f\u6392\u5217\uff0c\u8fd9\u6837\u5f88\u5bb9\u6613\u6309\u5206\u7c7b\u522b\u67e5\u770b\u6570\u636e\uff0c\u4f46\u67e5\u770b\u5168\u90e8\u6d88\u606f\u5c31\u4e0d\u80fd\u6309\u7167\u65f6\u95f4\u6392\u5e8f\u4e86\uff0c\u56e0\u4e3a\u4e0d\u540c\u7c7b\u522b\u7684\u6d88\u606f\u90fd\u805a\u96c6\u5728\u4e00\u8d77\uff0c\u5982\u679c\u628atimestamp\u653e\u5230is_read\u524d\u9762\uff0c\u6240\u6709\u6d88\u606f\u6309\u65f6\u95f4\u6392\u5217\uff0c\u4f46\u4e0d\u540c\u7c7b\u522b\u7684\u6d88\u606f\u53c8\u5206\u6563\u4e86\u3002\u90fd\u4e0d\u80fd\u6ee1\u8db3\u9700\u6c42\u3002\uff08\u540c\u4e00\u6761\u6570\u636e\u5206\u4e0d\u540c\u7684rowkey\u5b58\u4e24\u6b21\u53ef\u4ee5\u89e3\u51b3\u95ee\u9898\uff0c\u4f46\u662f\u589e\u52a0\u4e86\u4e00\u500d\u7684\u50a8\u5b58\u7a7a\u95f4\u4e0d\u592a\u53ef\u53d6\u554a\uff09

\u524d\u7aef\u662f\u901a\u8fc7thrift\u7528php\u8bbf\u95ee\u7684\uff0c\u63d0\u4f9b\u7684\u63a5\u53e3\u771f\u7684\u5f88\u4e0d\u7075\u6d3b\uff0c\u8bf7\u95ee\u6709\u4ec0\u4e48\u597d\u7684\u89e3\u51b3\u65b9\u6848\u5417\uff1f\u8fd8\u6709\u5c31\u662fhbase\u7684\u5b58\u50a8\u6027\u80fd\u600e\u4e48\u6837\uff0c\u5e0c\u671b\u6709\u4f7f\u7528\u7ecf\u9a8c\u7684\u670b\u53cb\u4eec\u80fd\u4ecb\u7ecd\u4e00\u4e0b :)" }, { "author": { "url": "member/Livid", "name": "Livid", "avatar": "https://cdn.v2ex.com/avatar/c4ca/4238/1_large.png?m=1778374421" }, "url": "t/68787", "title": "LINE App \u7684\u7814\u53d1\u6545\u4e8b", "id": "t/68787", "date_published": "2013-05-14T06:45:18+00:00", "content_html": "
http://www.cubrid.org/blog/dev-platform/the-story-behind-line-app-development/

\u975e\u5e38\u503c\u5f97\u8bfb\u3002" }, { "author": { "url": "member/Livid", "name": "Livid", "avatar": "https://cdn.v2ex.com/avatar/c4ca/4238/1_large.png?m=1778374421" }, "url": "t/66656", "title": "HappyBase", "id": "t/66656", "date_published": "2013-04-22T16:49:46+00:00", "content_html": "https://github.com/wbolster/happybase

Python \u7684 HBase \u5ba2\u6237\u7aef\u3002" } ] } ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86