You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@htrace.apache.org by "Masatake Iwasaki (JIRA)" <ji...@apache.org> on 2015/08/19 15:27:46 UTC

[jira] [Commented] (HTRACE-227) Remove dependency to non-public API of hadoop-common from htrace-hbase

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

Masatake Iwasaki commented on HTRACE-227:
-----------------------------------------

I attached 001. It still uses Hadoop API such as Tool, ToolRunner and Configuration. Because those are public and stable API, it is relatively safe as far as hbase-client depends on them and provide transitive dependency to hadoop-common.

I changed the scope of hbase-client dependency to "provided" to make main artifact contains only relocated modules. It may be helpful to add profile to package fat-jar containing all dependencies in follow-up.

Web-UI resources will be obsoleted by HTRACE-226. I just fixed them as it just works in current master. Http server part could used for basis to host REST API compatible with htraced and UI of htrace-webapp.

> Remove dependency to non-public API of hadoop-common from htrace-hbase
> ----------------------------------------------------------------------
>
>                 Key: HTRACE-227
>                 URL: https://issues.apache.org/jira/browse/HTRACE-227
>             Project: HTrace
>          Issue Type: Improvement
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>         Attachments: HTRACE-227.001.patch
>
>
> htrace-hbase uses priavte API of Hadoop such as HttpServer2 and ServletUtils. These dependency should be removed to avoid conflict with specific version of Hadoop.



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