You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by Charlot W <7w...@gmail.com> on 2014/10/29 10:59:12 UTC

Rewrite Hbase Thrift2

Hi to all,
(my hbase is of hdp2.1 from:
http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.1-latest/bk_installing_manually_book/content/rpm-chap1.html
)

i planed to rewrite the thrift2 of hbase, so i download the src
from: http://mirrors.advancedhosters.com/apache/hbase/hbase-0.99.1/
i used mvn to package the jar and link it to the
/usr/lib/hbase/lib/hbase-thrift.jar
but  the thrfit server fail to start:
log:
2014-10-29 16:56:45,890 INFO  [main] impl.MetricsConfig: loaded properties
from hadoop-metrics2-hbase.properties
2014-10-29 16:56:46,089 INFO  [main] impl.MetricsSystemImpl: Scheduled
snapshot period at 10 second(s).
2014-10-29 16:56:46,089 INFO  [main] impl.MetricsSystemImpl: HBase metrics
system started
2014-10-29 16:56:46,134 DEBUG [main] thrift2.ThriftServer: Using binary
protocol
2014年 10月 29日 星期三 16:56:52 CST Starting thrift2 on hdp-nn1
core file size          (blocks, -c) 0
data seg size           (kbytes, -d) unlimited
scheduling priority             (-e) 0
file size               (blocks, -f) unlimited
pending signals                 (-i) 61194
max locked memory       (kbytes, -l) 64
max memory size         (kbytes, -m) unlimited
open files                      (-n) 1024
pipe size            (512 bytes, -p) 8
POSIX message queues     (bytes, -q) 819200
real-time priority              (-r) 0
stack size              (kbytes, -s) 8192
cpu time               (seconds, -t) unlimited
max user processes              (-u) 61194
virtual memory          (kbytes, -v) unlimited
file locks                      (-x) unlimited
2014-10-29 16:56:54,455 INFO  [main] impl.MetricsConfig: loaded properties
from hadoop-metrics2-hbase.properties
2014-10-29 16:56:54,589 INFO  [main] impl.MetricsSystemImpl: Scheduled
snapshot period at 10 second(s).
2014-10-29 16:56:54,589 INFO  [main] impl.MetricsSystemImpl: HBase metrics
system started
2014-10-29 16:56:54,631 DEBUG [main] thrift2.ThriftServer: Using binary
protocol

is the hbase version or something caused?

Best,
Charlot