[ https://issues.apache.org/jira/browse/HDFS-12741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16278991#comment-16278991 ]
Nanda kumar commented on HDFS-12741: ------------------------------------ Thanks [~shashikant] for updating the patch. In {{TestKeySpaceManager#testKSMInitializationFailure}} we should not modify {{KSMStorage}} of {{MiniOzoneCluster}} instance that is shared between test cases. Junit executes the testcases in parallel and randomly, so after the execution of testKSMInitializationFailure the {{MiniOzoneCluster}} instance will be stopped causing the later testcases to fail. Instead, we can try to create new KeySpaceManager instance with wrong/different cluster and SCM Id and then try to start it. > ADD support for KSM --createObjectStore command > ----------------------------------------------- > > Key: HDFS-12741 > URL: https://issues.apache.org/jira/browse/HDFS-12741 > Project: Hadoop HDFS > Issue Type: Sub-task > Affects Versions: HDFS-7240 > Reporter: Shashikant Banerjee > Assignee: Shashikant Banerjee > Fix For: HDFS-7240 > > Attachments: HDFS-12741-HDFS-7240.001.patch, > HDFS-12741-HDFS-7240.002.patch, HDFS-12741-HDFS-7240.003.patch > > > KSM --createObjectStore command reads the ozone configuration information and > creates the KSM version file and reads the SCM version file from the SCM > specified. > > The SCM version file is stored in the KSM metadata directory and before > communicating with an SCM KSM verifies that it is communicating with an SCM > where the relationship has been established via createObjectStore command. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org