[
https://issues.apache.org/jira/browse/HDFS-15120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17016695#comment-17016695
]
Jinglun commented on HDFS-15120:
--------------------------------
Hi [~ayushtkn], thanks your comment ! I found the ReconfigurationProtocol is
used by DataNode too. And I found the NameNode already has a
GenericRefreshProtocol. I can create a RefreshBlockPlacementPolicyHandler and
use the GenericRefreshProtocol to refresh. What do you think ?
Upload v02.
> Refresh BlockPlacementPolicy at runtime.
> ----------------------------------------
>
> Key: HDFS-15120
> URL: https://issues.apache.org/jira/browse/HDFS-15120
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Jinglun
> Assignee: Jinglun
> Priority: Major
> Attachments: HDFS-15120.001.patch, HDFS-15120.002.patch
>
>
> Now if we want to switch BlockPlacementPolicies we need to restart the
> NameNode. It would be convenient if we can switch it at runtime. For example
> we can switch between AvailableSpaceBlockPlacementPolicy and
> BlockPlacementPolicyDefault as needed.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]