You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Uma Maheswara Rao G (Jira)" <ji...@apache.org> on 2022/06/08 20:14:00 UTC

[jira] [Updated] (HDDS-6830) EC: SCMContainerPlacementRackScatter#chooseDatanodes may choose less nodes than required in unknown cases.

     [ https://issues.apache.org/jira/browse/HDDS-6830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uma Maheswara Rao G updated HDDS-6830:
--------------------------------------
    Reporter: Nilotpal Nandi  (was: Uma Maheswara Rao G)

> EC: SCMContainerPlacementRackScatter#chooseDatanodes may choose less nodes than required in unknown cases.
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HDDS-6830
>                 URL: https://issues.apache.org/jira/browse/HDDS-6830
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Nilotpal Nandi
>            Priority: Minor
>
> This issue may be shaded because we have a sanity check at the end of chooseDatanodes method and throw SCM Exception. However, it fail in the above checks itself if it cannot choose enough nodes. With the sanity check the following condition we may not meet, but we can still investigate why SCMContainerPlacementRackScatter giving up silently without exception. 
> {code:java}
> 2022-05-19 20:15:35,536 ERROR org.apache.ratis.statemachine.StateMachine: Terminating with exit status 1: Nodes size=4, replication factor=5 do not match java.lang.IllegalArgumentException: Nodes size=4, replication factor=5 do not match at com.google.common.base.Preconditions.checkArgument(Preconditions.java:303) at org.apache.hadoop.hdds.scm.pipeline.PipelineStateMap.addPipeline(PipelineStateMap.java:74) at org.apache.hadoop.hdds.scm.pipeline.PipelineStateManagerImpl.addPipeline(PipelineStateManagerImpl.java:99) at jdk.internal.reflect.GeneratedMethodAccessor222.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at org.apache.hadoop.hdds.scm.ha.SCMStateMachine.process(SCMStateMachine.java:168) at org.apache.hadoop.hdds.scm.ha.SCMStateMachine.applyTransaction(SCMStateMachine.java:139) at org.apache.ratis.server.impl.RaftServerImpl.applyLogToStateMachine(RaftServerImpl.java:1723) at org.apache.ratis.server.impl.StateMachineUpdater.applyLog(StateMachineUpdater.java:234) at org.apache.ratis.server.impl.StateMachineUpdater.run(StateMachineUpdater.java:179) at java.base/java.lang.Thread.run(Thread.java:834){code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org