Ethan Rose created HDDS-4959:
--------------------------------
Summary: NoSuchMethodException when wrapping RpcException on
downgrade
Key: HDDS-4959
URL: https://issues.apache.org/jira/browse/HDDS-4959
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Ethan Rose
After downgrade from a pre-finalized cluster, the following exception appears
multiple times in the datanode logs:
{code:java}
dn1_1 | 2021-03-01 23:17:58 WARN NetUtils:836 - Unable to wrap exception of
type class org.apache.hadoop.ipc.RpcException: it has no (String) constructor
dn1_1 | java.lang.NoSuchMethodException:
org.apache.hadoop.ipc.RpcException.<init>(java.lang.String)
dn1_1 | at java.base/java.lang.Class.getConstructor0(Class.java:3349)
dn1_1 | at java.base/java.lang.Class.getConstructor(Class.java:2151)
dn1_1 | at
org.apache.hadoop.net.NetUtils.wrapWithMessage(NetUtils.java:832)
dn1_1 | at
org.apache.hadoop.net.NetUtils.wrapException(NetUtils.java:808)
dn1_1 | at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1549)
dn1_1 | at org.apache.hadoop.ipc.Client.call(Client.java:1491)
dn1_1 | at org.apache.hadoop.ipc.Client.call(Client.java:1388)
dn1_1 | at
org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:233)
dn1_1 | at
org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:118)
dn1_1 | at com.sun.proxy.$Proxy38.submitRequest(Unknown Source)
dn1_1 | at
org.apache.hadoop.ozone.protocolPB.StorageContainerDatanodeProtocolClientSideTranslatorPB.submitRequest(StorageContainerDatanodeProtocolClientSideTranslatorPB.java:116)
dn1_1 | at
org.apache.hadoop.ozone.protocolPB.StorageContainerDatanodeProtocolClientSideTranslatorPB.getVersion(StorageContainerDatanodeProtocolClientSideTranslatorPB.java:132)
dn1_1 | at
org.apache.hadoop.ozone.container.common.states.endpoint.VersionEndpointTask.call(VersionEndpointTask.java:70)
dn1_1 | at
org.apache.hadoop.ozone.container.common.states.endpoint.VersionEndpointTask.call(VersionEndpointTask.java:41)
dn1_1 | at
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
dn1_1 | at
java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
dn1_1 | at
java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
dn1_1 | at
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
dn1_1 | at
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
dn1_1 | at java.base/java.lang.Thread.run(Thread.java:834)
{code}
It does not seem to cause adverse behavior in the cluster.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]