Arpit Agarwal created HDFS-7153: ----------------------------------- Summary: Add storagePolicy to NN edit log during file creation Key: HDFS-7153 URL: https://issues.apache.org/jira/browse/HDFS-7153 Project: Hadoop HDFS Issue Type: Bug Components: namenode Affects Versions: 2.6.0 Reporter: Arpit Agarwal Assignee: Arpit Agarwal
Storage Policy ID is currently not logged in the NN edit log during file creation as part of {{AddOp}}. This is okay for now since we don't have an API to set storage policy during file creation. However now that we have storage policies, for HDFS-6581 we are looking into using the feature instead of adding a new field to the INodeFile header. It would be useful to have the ability to save policy on file create. -- This message was sent by Atlassian JIRA (v6.3.4#6332)