hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "zhangduo (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13716) Stop using Hadoop's FSConstants
Date Thu, 21 May 2015 00:21:00 GMT

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

zhangduo commented on HBASE-13716:
----------------------------------

+1 for now.

Add I check the code again, {{HdfsUtils.isHealthy(URI)}} calls {{DistributedFileSystem.setSafeMode(GET,
false)}}, but in HBase we calls {{DistributedFileSystem.setSafeMode(GET, true)}}. I think
the difference is when the second parameter is true then BackupNN will throw a StandByException
that force client to connect to ActiveNN.

If we must connect to ActiveNN in HBase, then {{HdfsUtils.isHealthy(URI)}} is not enough.
So add new methods in {{HdfsUtils}}?

> Stop using Hadoop's FSConstants
> -------------------------------
>
>                 Key: HBASE-13716
>                 URL: https://issues.apache.org/jira/browse/HBASE-13716
>             Project: HBase
>          Issue Type: Task
>    Affects Versions: 1.0.0, 1.1.0
>            Reporter: Sean Busbey
>            Assignee: Sean Busbey
>            Priority: Blocker
>             Fix For: 2.0.0, 1.0.2, 1.2.0, 1.1.1
>
>         Attachments: HBASE-13716.1.patch
>
>
> the FSConstants class was removed in HDFS-8135 (currently slated for Hadoop 2.8.0). I'm
trying to have it reverted in branch-2, but we should migrate off of it sooner rather htan
later.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message