[
https://issues.apache.org/jira/browse/HDFS-6133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13991492#comment-13991492
]
zhaoyunjiong commented on HDFS-6133:
------------------------------------
I'll use boolean instead of Boolean.
Yes, the NN may not grant all the requested/favored nodes. The best way is to
only pin the blocks on the favored nodes, but considered the probability that
NN didn't grant all the favored nodes is small, so I just pinned them all.
Also I was wondering whether I should provide a API that let user
pinning/un-pinning blocks after file created. That might be more useful than
combine pinning with favored nodes.
> Make Balancer support exclude specified path
> --------------------------------------------
>
> Key: HDFS-6133
> URL: https://issues.apache.org/jira/browse/HDFS-6133
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: balancer, namenode
> Reporter: zhaoyunjiong
> Assignee: zhaoyunjiong
> Attachments: HDFS-6133-1.patch, HDFS-6133.patch
>
>
> Currently, run Balancer will destroying Regionserver's data locality.
> If getBlocks could exclude blocks belongs to files which have specific path
> prefix, like "/hbase", then we can run Balancer without destroying
> Regionserver's data locality.
--
This message was sent by Atlassian JIRA
(v6.2#6252)