hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Duo Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19777) RemoteProcedureException#unwrapRemoteIOException doesn't handle the case where cause is null
Date Fri, 12 Jan 2018 03:44:02 GMT

    [ https://issues.apache.org/jira/browse/HBASE-19777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16323500#comment-16323500
] 

Duo Zhang commented on HBASE-19777:
-----------------------------------

{code}
  public RemoteProcedureException(String source, Throwable cause) {
    super(cause);
    assert source != null;
    assert cause != null;
    this.source = source;
  }
{code}

The cause can not be null.

Reading through the log, it seems that the cause itself is NPE.

> RemoteProcedureException#unwrapRemoteIOException doesn't handle the case where cause
is null
> --------------------------------------------------------------------------------------------
>
>                 Key: HBASE-19777
>                 URL: https://issues.apache.org/jira/browse/HBASE-19777
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Romil Choksi
>            Assignee: Ted Yu
>
> Romil noted the following when running IntegrationTestDDLMasterFailover:
> {code}
> 2018-01-11 20:51:50,348|INFO|MainThread|machine.py:164 - run()||GUID=48bb0b38-83c9-4b57-be4d-2c0ce4d765f1|2018-01-11
20:51:50,347 ERROR [main] hbase.IntegrationTestDDLMasterFailover: Found exception in thread:
Thread-9
> 2018-01-11 20:51:50,348|INFO|MainThread|machine.py:164 - run()||GUID=48bb0b38-83c9-4b57-be4d-2c0ce4d765f1|java.io.IOException:
java.lang.NullPointerException
> 2018-01-11 20:51:50,348|INFO|MainThread|machine.py:164 - run()||GUID=48bb0b38-83c9-4b57-be4d-2c0ce4d765f1|at
org.apache.hadoop.hbase.procedure2.RemoteProcedureException.unwrapRemoteIOException(RemoteProcedureException.java:82)
> 2018-01-11 20:51:50,348|INFO|MainThread|machine.py:164 - run()||GUID=48bb0b38-83c9-4b57-be4d-2c0ce4d765f1|at
org.apache.hadoop.hbase.master.MasterRpcServices.getProcedureResult(MasterRpcServices.java:1165)
> 2018-01-11 20:51:50,348|INFO|MainThread|machine.py:164 - run()||GUID=48bb0b38-83c9-4b57-be4d-2c0ce4d765f1|at
org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos$MasterService$2.callBlockingMethod(MasterProtos.java)
> 2018-01-11 20:51:50,349|INFO|MainThread|machine.py:164 - run()||GUID=48bb0b38-83c9-4b57-be4d-2c0ce4d765f1|at
org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:404)
> 2018-01-11 20:51:50,349|INFO|MainThread|machine.py:164 - run()||GUID=48bb0b38-83c9-4b57-be4d-2c0ce4d765f1|at
org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:130)
> 2018-01-11 20:51:50,349|INFO|MainThread|machine.py:164 - run()||GUID=48bb0b38-83c9-4b57-be4d-2c0ce4d765f1|at
org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:324)
> 2018-01-11 20:51:50,349|INFO|MainThread|machine.py:164 - run()||GUID=48bb0b38-83c9-4b57-be4d-2c0ce4d765f1|at
org.apache.hadoop.hbase.ipc.RpcExecutor$Handler.run(RpcExecutor.java:304)
> {code}
> During this time frame, master was disabling ittable-1095976240 .



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message