hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SammiChen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11643) Balancer fencing fails when writing erasure coded lock file
Date Thu, 04 May 2017 02:18:04 GMT

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

SammiChen commented on HDFS-11643:
----------------------------------

My consideration is Id lock file is not only used for {{Balancer}}, but also used for {{Mover}},
might be used for other tool in future,  so add the check in production code is a once-for-all
solution.  On the other hand, Id lock file path is an private data of {{Balancer}}, it's not
exposed to outside. If put the check in unit test, Id file path will be hard coded. Once the
Id file path changed, the unit test will fail.  So I would prefer put the check in production
code unless there is severe impact. 

> Balancer fencing fails when writing erasure coded lock file
> -----------------------------------------------------------
>
>                 Key: HDFS-11643
>                 URL: https://issues.apache.org/jira/browse/HDFS-11643
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: balancer & mover, erasure-coding
>    Affects Versions: 3.0.0-alpha1
>            Reporter: Andrew Wang
>            Assignee: SammiChen
>            Priority: Blocker
>              Labels: hdfs-ec-3.0-must-do
>         Attachments: HDFS-11643.001.patch, HDFS-11643.002.patch, HDFS-11643.003.patch,
HDFS-11643.004.patch, HDFS-11643.005.patch, HDFS-11643.006.patch, HDFS-11643.007.patch, HDFS-11643.008.patch
>
>
> At startup, the balancer writes its hostname to the lock file and calls hflush(). hflush
is not supported for EC files, so this fails when the entire filesystem is erasure coded.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message