hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-18271) Shade netty
Date Tue, 08 Aug 2017 16:16:02 GMT

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

stack commented on HBASE-18271:
-------------------------------

.002 sets configuration on surefiire in hbase-server:

diff --git a/hbase-server/pom.xml b/hbase-server/pom.xml
index 647d5314ce..e377874f64 100644
--- a/hbase-server/pom.xml
+++ b/hbase-server/pom.xml
@@ -264,6 +264,7 @@
           </properties>
           <systemPropertyVariables>
             <test.build.webapps>target/test-classes/webapps</test.build.webapps>
+            <org.apache.hadoop.hbase.shaded.io.netty.packagePrefix>org.apache.hadoop.hbase.shaded.</org.apache.hadoop.hbase.shaded.io.netty.packagePrefix>
           </systemPropertyVariables>
         </configuration>
       </plugin>

Seems to work from top-level build but not in hbase-server.

Need to figure how to set this at runtime.

> Shade netty
> -----------
>
>                 Key: HBASE-18271
>                 URL: https://issues.apache.org/jira/browse/HBASE-18271
>             Project: HBase
>          Issue Type: Sub-task
>          Components: rpc
>    Affects Versions: 2.0.0
>            Reporter: stack
>            Assignee: stack
>            Priority: Critical
>             Fix For: 2.0.0-beta-1
>
>         Attachments: HBASE-18271.master.001.patch, HBASE-18271.master.002.patch
>
>
> Our new prefatory project, hbase-thirdparty, includes a relocated netty 4.1.12. This
issue is about changing references in hbase to make use of this shaded netty. This way we
will take ourselves out of the clashing library saga and change netty as we see fit.
> One kink is the inclusion inside the netty-all jar of an .so. We need to make sure it
gets loaded and that on linux we are doing native epoll; all should be in place to do this
but need to add a system property to bin/hbase for netty to pick up. TODO as part of this
issue. See tail of upgrade guava sibling issue.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message