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

Ayush Saxena commented on HDFS-15120:
-------------------------------------

Hi [~LiJinglun]
Observed one problem here, this fix will work if we want to change the value 
back to default. but not a new one. since you are not setting the new value in 
the conf.
In the test also we just tested from MockBPP to DefaultBPP. and this works.
But I think the reverse won't work.
Give a check once


> 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
>             Fix For: 3.3.0
>
>         Attachments: HDFS-15120.001.patch, HDFS-15120.002.patch, 
> HDFS-15120.003.patch, HDFS-15120.004.patch, HDFS-15120.005.patch, 
> HDFS-15120.006.patch, HDFS-15120.007.1.patch, HDFS-15120.007.patch, 
> HDFS-15120.008.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: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to