[
https://issues.apache.org/jira/browse/HBASE-19777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16323493#comment-16323493
]
Ted Yu commented on HBASE-19777:
--------------------------------
Looking at the method unwrapRemoteException() which is called by
unwrapRemoteIOException, the probable path of getting null cause is thru this:
{code}
if (cause instanceof RemoteException) {
return ((RemoteException)cause).unwrapRemoteException();
{code}
However, from source code of RemoteException in hadoop, that doesn't seem
likely.
> 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)