[ https://issues.apache.org/jira/browse/HDFS-11150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15722837#comment-15722837 ]
Rakesh R commented on HDFS-11150: --------------------------------- bq. I have been searching FsImage loader and didn't find some related code, do you have any suggestion? Probably you can refer the implementation of encryption zone info (CRYPTO_XATTR_ENCRYPTION_ZONE) loaded from fsimage after NN restart. I hope the github [source code reference |https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java#L1336] and [test code reference|https://github.com/apache/hadoop/blob/trunk/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestEncryptionZones.java#L476] will help you. > [SPS]: Provide persistence when satisfying storage policy. > ---------------------------------------------------------- > > Key: HDFS-11150 > URL: https://issues.apache.org/jira/browse/HDFS-11150 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode, namenode > Reporter: Yuanbo Liu > Assignee: Yuanbo Liu > Attachments: HDFS-11150-HDFS-10285.001.patch > > > Provide persistence for SPS in case that Hadoop cluster crashes by accident. > Basically we need to change EditLog and FsImage here. -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org