[ https://issues.apache.org/jira/browse/HBASE-18849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
stack resolved HBASE-18849. --------------------------- Resolution: Fixed Assignee: stack Pushed the below to master branch {code} commit 58f9cd3586d0d42d26c82fc9b4a9e0c63e44c6d4 Author: Michael Stack <st...@apache.org> Date: Tue Sep 19 16:53:21 2017 -0700 HBASE-18849 expand "thirdparty" reference to give examples of setting netty location in common testing modules diff --git a/src/main/asciidoc/_chapters/developer.adoc b/src/main/asciidoc/_chapters/developer.adoc index 3d010b6c62..d937d77bff 100644 --- a/src/main/asciidoc/_chapters/developer.adoc +++ b/src/main/asciidoc/_chapters/developer.adoc @@ -2160,6 +2160,23 @@ this property on platforms that favor the bundled .so. See release notes on HBAS for more. The complaint you see is something like the following: `Cause: java.lang.RuntimeException: Failed construction of Master: class org.apache.hadoop.hbase.master.HMasterorg.apache.hadoop.hbase.shaded.io.netty.channel.epoll.` +If running unit tests and you run into the above message, add the system property +to your surefire configuration by doing like the below: + +[source,xml] +---- + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <configuration> + <systemPropertyVariables> + <org.apache.hadoop.hbase.shaded.io.netty.packagePrefix>org.apache.hadoop.hbase.shaded.</org.apache.hadoop.hbase.shaded.io.netty.packagePrefix> + </systemPropertyVariables> + </configuration> + </plugin> +---- + +Again the trailing period in the value above is intended. + The `hbase-thirdparty` project has groupid of `org.apache.hbase.thirdparty`. As of this writing, it provides three jars; one for netty with an artifactid of `hbase-thirdparty-netty`, one for protobuf at `hbase-thirdparty-protobuf` and then {code} > expand "thirdparty" reference to give examples of setting netty location in > common testing modules > -------------------------------------------------------------------------------------------------- > > Key: HBASE-18849 > URL: https://issues.apache.org/jira/browse/HBASE-18849 > Project: HBase > Issue Type: Improvement > Components: documentation, thirdparty > Affects Versions: 2.0.0-alpha-2 > Reporter: Sean Busbey > Assignee: stack > Priority: Critical > Fix For: 2.0.0-alpha-4 > > > we should give examples of how folks using e.g. the maven surefire plugin can > configure netty correctly. > e.g.: > you'll need to update your surefire plugin settings to define the given flag: > {code} > ... > <plugin> > <artifactId>maven-surefire-plugin</artifactId> > <configuration> > <systemPropertyVariables> > > <org.apache.hadoop.hbase.shaded.io.netty.packagePrefix>org.apache.hadoop.hbase.shaded.</org.apache.hadoop.hbase.shaded.io.netty.packagePrefix> > </systemPropertyVariables> > </configuration> > </plugin> > ... > {code} > maybe failsafe too? maybe scala-test? -- This message was sent by Atlassian JIRA (v6.4.14#64029)