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

Rakesh R commented on HDFS-13328:
---------------------------------

Thanks [~surendrasingh] for the patch. Apart from the below minor comments, I'm 
+1 for the patch.
 # Please make the class private.
{code:java}
private class ReencryptionPendingInodeIdCollector{code}

 # Please make it final
{code:java}
private final ReencryptionHandler reencryptionHandler;
private final ReencryptionPendingInodeIdCollector traverser;

private final FSDirectory dir;
{code}

 

> Abstract ReencryptionHandler recursive logic in separate class.
> ---------------------------------------------------------------
>
>                 Key: HDFS-13328
>                 URL: https://issues.apache.org/jira/browse/HDFS-13328
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>            Reporter: Surendra Singh Lilhore
>            Assignee: Surendra Singh Lilhore
>            Priority: Major
>         Attachments: HDFS-13328-01.patch
>
>
> HDFS-10899 added DFS logic to scan a directory. It is good to abstract this 
> logic in separate class, so it can be used in some other feature like 
> SPS(HDFS-10285). I already tried abstracting DFS logic in HDFS-12291 and same 
> can be pushed in trunk.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to