[ 
https://issues.apache.org/jira/browse/HDFS-12730?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16225996#comment-16225996
 ] 

Hanisha Koneru commented on HDFS-12730:
---------------------------------------

Thanks for the patch, [~manojg].

This is what I understood from HDFS-11402:
Once the _capture.openfiles_ setting is enabled, the attributes of the open 
files in the previously taken snapshots are updated once. And any further 
updates to the open file should not modify the attributes in the already taken 
snapshots. 

The test LGTM. (if my understanding is correct. Please correct me if I am 
wrong).




> Verify open files captured in the snapshots across config disable and enable
> ----------------------------------------------------------------------------
>
>                 Key: HDFS-12730
>                 URL: https://issues.apache.org/jira/browse/HDFS-12730
>             Project: Hadoop HDFS
>          Issue Type: Test
>          Components: hdfs
>    Affects Versions: 3.0.0
>            Reporter: Manoj Govindassamy
>            Assignee: Manoj Govindassamy
>         Attachments: HDFS-12730.01.patch
>
>
> Open files captured in the snapshots have their meta data preserved based on 
> the config 
> _dfs.namenode.snapshot.capture.openfiles_ (refer HDFS-11402). During the 
> upgrade scenario or when the NameNode gets restarted with config turned on or 
> off,  the attributes of the open files captured in the snapshots are 
> influenced accordingly. Better to have a test case to verify open file 
> attributes across config turn on and off, and the current expected behavior 
> with HDFS-11402 so as to catch any regressions in the future.



--
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

Reply via email to