[ https://issues.apache.org/jira/browse/HBASE-21592?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16724478#comment-16724478 ]
Hudson commented on HBASE-21592: -------------------------------- Results for branch branch-1.2 [build #593 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/branch-1.2/593/]: (x) *{color:red}-1 overall{color}* ---- details (if available): (/) {color:green}+1 general checks{color} -- For more information [see general report|https://builds.apache.org/job/HBase%20Nightly/job/branch-1.2/593//General_Nightly_Build_Report/] (x) {color:red}-1 jdk7 checks{color} -- For more information [see jdk7 report|https://builds.apache.org/job/HBase%20Nightly/job/branch-1.2/593//JDK7_Nightly_Build_Report/] (/) {color:green}+1 jdk8 hadoop2 checks{color} -- For more information [see jdk8 (hadoop2) report|https://builds.apache.org/job/HBase%20Nightly/job/branch-1.2/593//JDK8_Nightly_Build_Report_(Hadoop2)/] (/) {color:green}+1 source release artifact{color} -- See build output for details. > quota.addGetResult(r) throw NPE > --------------------------------- > > Key: HBASE-21592 > URL: https://issues.apache.org/jira/browse/HBASE-21592 > Project: HBase > Issue Type: Bug > Reporter: xuqinya > Assignee: xuqinya > Priority: Major > Fix For: 3.0.0, 1.5.0, 2.2.0, 1.2.10, 1.4.10, 2.1.3, 2.0.5 > > Attachments: HBASE-21592.branch-1.0001.patch, > HBASE-21592.branch-2.0001.patch, HBASE-21592.master.0001.patch, > HBASE-21592.master.0002.patch, HBASE-21592.master.0003.patch, > HBASE-21592.master.0004.patch > > > Setting the RPC quota, table.exists(Get) cause quota.addGetResult(r) throw > NPE. > {code:java} > set_quota TYPE => THROTTLE, NAMESPACE => 'ns1', LIMIT => '1000req/sec' > {code} > {code:java} > Connection conn = ConnectionFactory.createConnection(config); > Table htable = conn.getTable(TableName.valueOf("ns1:t1")); > boolean exists = htable.exists(new Get(Bytes.toBytes("123"))); {code} > log: > java.io.IOException: java.io.IOException > at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2183) > at org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:107) > 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.NullPointerException > at > org.apache.hadoop.hbase.quotas.QuotaUtil.calculateResultSize(QuotaUtil.java:282) > at > org.apache.hadoop.hbase.quotas.DefaultOperationQuota.addGetResult(DefaultOperationQuota.java:99) > at > org.apache.hadoop.hbase.regionserver.RSRpcServices.get(RSRpcServices.java:1907) > at > org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:32381) > at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2135) > ... 4 more -- This message was sent by Atlassian JIRA (v7.6.3#76005)