You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i use the above code to create a table in HBase,bu it give me a java exception:
ym@master:~/gopath/src/test$ go run hbase_createtable.go
2016/05/06 11:15:50 Connected to 192.168.0.116:2181
2016/05/06 11:15:50 Authenticated: id=95836126668718128, timeout=30000
2016/05/06 11:15:50 Recv loop terminated: err=EOF
2016/05/06 11:15:50 Send loop terminated: err=
2016/05/06 11:15:50 err: HBase Java exception java.io.IOException:
java.io.IOException: null
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2159)
at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:104)
at org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:133)
at org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:108)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:542)
at java.lang.Integer.parseInt(Integer.java:615)
at org.apache.hadoop.hbase.HColumnDescriptor.getMaxVersions(HColumnDescriptor.java:617)
at org.apache.hadoop.hbase.master.HMaster.sanityCheckTableDescriptor(HMaster.java:1582)
at org.apache.hadoop.hbase.master.HMaster.createTable(HMaster.java:1452)
at org.apache.hadoop.hbase.master.MasterRpcServices.createTable(MasterRpcServices.java:429)
at org.apache.hadoop.hbase.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java:52195)
at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2117)
... 4 more
2016/05/06 11:15:50 result:
is it a bug of gohbase or my usage error?please help me to fix this problem.
i am sure the HBase server is work normal,because i can create a table in shell commad.
The text was updated successfully, but these errors were encountered:
code:
i use the above code to create a table in HBase,bu it give me a java exception:
is it a bug of gohbase or my usage error?please help me to fix this problem.
i am sure the HBase server is work normal,because i can create a table in shell commad.
The text was updated successfully, but these errors were encountered: