hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uma Maheswara Rao G (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-1599) Umbrella Jira for Improving HBASE support in HDFS
Date Sat, 31 Mar 2012 02:29:27 GMT

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

Uma Maheswara Rao G commented on HDFS-1599:

Yah, I agree that Hbase implemented reflections for supporting older versions.

Here What I mean is, If Hbase keep using internal API and HDFS keep changing them means, Hbase
will end-up in putting one one if-else condition for each version :-). I feel that Hbase really
should request the HDFS about the needs, instead silently adding if-else with reflection.

At one point at least, if HDFS provides some public apis to Hbase say from X version. Hbase
can add last if else with this public API. Then there won't be any issues in migrating of
Hadoop version. X+ can easily support Hbase.

>What are the other methods that HBase requires?
@Nicholas, Let me get the list of APIs Habse using currently reflections.

I just seen the comment for solving one issue in Habse. HBASE-5680. Solution proposed is reflection.
But HdfsConstants marked as private. That means HDFS may change it tomorrow in next version.
Again should add one more if-else in Hbase :-)
If we expose throw some public API here, Then HDFS will not change it so easily right. Hbase
need not worry much in migrating to newer version? 

What do you say Todd?
> Umbrella Jira for Improving HBASE support in HDFS
> -------------------------------------------------
>                 Key: HDFS-1599
>                 URL: https://issues.apache.org/jira/browse/HDFS-1599
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Sanjay Radia
> Umbrella Jira for improved HBase support in HDFS

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message