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.