头歌 HBase 性能优化:优化拆分和合并 |
您所在的位置:网站首页 › sqoop性能优化 › 头歌 HBase 性能优化:优化拆分和合并 |
1. source /etc/profile 2. 3. start-all.sh zkServer.sh start start-hbase.sh 进入终端界面 hbase shell create 'stu',{NAME=>'info'},{NAME=>'desc'},SPLITS => ['1000','2000','3000','4000','5000'] put 'stu','15653216541','info:num','14561235651' put 'stu','15653216541','info:s_name','cg' put 'stu','15653216541','desc:sex','m' put 'stu','15653216541','desc:score','95' put 'stu','45136542181','info:num','18124563145' put 'stu','45136542181','info:s_name','cx' put 'stu','45136542181','desc:sex','w' put 'stu','45136542181','desc:score','78' put 'stu','36465216181','info:num','18161256463' put 'stu','36465216181','info:s_name','hm' put 'stu','36465216181','desc:sex','w' put 'stu','36465216181','desc:score','99' put 'stu','58151818461','info:num','16481815185' put 'stu','58151818461','info:s_name','lw' put 'stu','58151818461','desc:sex','m' put 'stu','58151818461','desc:score','65' put 'stu','27651608131','info:num','13180615672' put 'stu','27651608131','info:s_name','gj' put 'stu','27651608131','desc:sex','m' put 'stu','27651608131','desc:score','77' |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |