Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-3698 Ozone Non-Rolling upgrades
  3. HDDS-4959

NoSuchMethodException when wrapping RpcException on downgrade

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      After downgrade from a pre-finalized cluster, the following exception appears multiple times in the datanode logs:

      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)
      

      It does not seem to cause adverse behavior in the cluster.

      Attachments

        Issue Links

          Activity

            People

              sky76093016 Keyi Song
              erose Ethan Rose
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: