hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-13740) Stop using Hadoop private interfaces
Date Thu, 21 May 2015 17:58:19 GMT

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

Andrew Purtell commented on HBASE-13740:
----------------------------------------

bq. For detecting uses, we should use animal sniffer, which might require updating it to handle
annotations.

+1, some kind of static analysis we can run over our code, preferably in precommit builds.
Otherwise this is a great aspirational goal but it will be hard to stay on top of. 

When we get this sorted out for ourselves we can add a chapter on how to do it to our book
for the benefit of our downstreamers too.

> Stop using Hadoop private interfaces
> ------------------------------------
>
>                 Key: HBASE-13740
>                 URL: https://issues.apache.org/jira/browse/HBASE-13740
>             Project: HBase
>          Issue Type: Umbrella
>    Affects Versions: 2.0.0
>            Reporter: Sean Busbey
>            Priority: Blocker
>             Fix For: 2.0.0
>
>
> Now that we are push downstream folks to stay off of our private interfaces, we should
provide a good example by doing the same with Hadoop.
> Things to do in this umbrella
> * We need a good way to check; manual inspection is untenable
> * For anything where Hadoop isn't maintaining an isolated API (i.e. they include a non-org.apache.hadoop
or jvm class), we should just rip things out
> * For the rest we'll need to determine if we ask for upgrading things to LimitedPrivate(HBase)
or Public 



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

Mime
View raw message