From 78266e08b470bd0b39b7de9d809864c36f298c90 Mon Sep 17 00:00:00 2001 From: Michael Stack Date: Tue, 19 Sep 2017 16:53:21 -0700 Subject: [PATCH] HBASE-18849 expand "thirdparty" reference to give examples of setting netty location in common testing modules Signed-off-by: Chia-Ping Tsai --- src/main/asciidoc/_chapters/developer.adoc | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/main/asciidoc/_chapters/developer.adoc b/src/main/asciidoc/_chapters/developer.adoc index eceb873aa43..95334bfcd05 100644 --- a/src/main/asciidoc/_chapters/developer.adoc +++ b/src/main/asciidoc/_chapters/developer.adoc @@ -2221,6 +2221,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] +---- + + maven-surefire-plugin + + + org.apache.hadoop.hbase.shaded. + + + +---- + +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