You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Stephen O'Donnell (Jira)" <ji...@apache.org> on 2023/06/29 21:51:00 UTC
[jira] [Resolved] (HDDS-8948) During the upgrade process, the datanode has an error exception message
[ https://issues.apache.org/jira/browse/HDDS-8948?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stephen O'Donnell resolved HDDS-8948.
-------------------------------------
Fix Version/s: 1.4.0
Resolution: Fixed
> During the upgrade process, the datanode has an error exception message
> ------------------------------------------------------------------------
>
> Key: HDDS-8948
> URL: https://issues.apache.org/jira/browse/HDDS-8948
> Project: Apache Ozone
> Issue Type: Bug
> Reporter: guangbao zhao
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.4.0
>
>
> datanode log:
> java.util.concurrent.ExecutionException: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: DataNode has higher Software Layout Version than SCM.
> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
> at java.util.concurrent.FutureTask.get(FutureTask.java:192)
> at org.apache.hadoop.ozone.container.common.states.datanode.RunningDatanodeState.computeNextContainerState(RunningDatanodeState.java:199)
> at org.apache.hadoop.ozone.container.common.states.datanode.RunningDatanodeState.await(RunningDatanodeState.java:239)
> at org.apache.hadoop.ozone.container.common.states.datanode.RunningDatanodeState.await(RunningDatanodeState.java:50)
> at org.apache.hadoop.ozone.container.common.statemachine.StateContext.execute(StateContext.java:666)
> at org.apache.hadoop.ozone.container.common.statemachine.DatanodeStateMachine.startStateMachineThread(DatanodeStateMachine.java:334)
> at org.apache.hadoop.ozone.container.common.statemachine.DatanodeStateMachine.lambda$startDaemon$0(DatanodeStateMachine.java:532)
> at java.lang.Thread.run(Thread.java:745)
> Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: DataNode has higher Software Layout Version than SCM.
> at java.util.concurrent.FutureTask.report(FutureTask.java:122)
> at java.util.concurrent.FutureTask.get(FutureTask.java:206)
> at org.apache.hadoop.ozone.container.common.states.datanode.RunningDatanodeState.lambda$execute$0(RunningDatanodeState.java:157)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> ... 1 more
> Caused by: java.lang.IllegalStateException: DataNode has higher Software Layout Version than SCM.
> at com.google.common.base.Preconditions.checkState(Preconditions.java:512)
> at org.apache.hadoop.ozone.container.common.states.endpoint.RegisterEndpointTask.call(RegisterEndpointTask.java:165)
> at org.apache.hadoop.ozone.container.common.states.endpoint.RegisterEndpointTask.call(RegisterEndpointTask.java:52)
> ... 4 more
>
>
> Through positioning, it is found that when the datanode calls the register method to the recon, because the recon has not been updated to the new version, the layout of the recon is inconsistent with the layout of the datanode.
> I think this exception message is misleading {*}DataNode has higher Software Layout Version than SCM{*}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org