Uh oh!
There was an error while loading. Please reload this page.
HBASE-24084 Fix missing jdk8 dependencies in hbase-assembly/hadoop-two-compat - #1413
Merged
ndimiduk merged 1 commit intoApr 2, 2020
Merged
Conversation
Apache-HBase
commented
Apr 1, 2020
🎊 +1 overall
This message was automatically generated. |
ndimiduk
commented
Apr 1, 2020
MemberAuthor
For reviewer reference (@jatsakthi in particular), the transitive dependency hull of And of |
Apache-HBase
commented
Apr 1, 2020
🎊 +1 overall
This message was automatically generated. |
Apache-HBase
commented
Apr 1, 2020
🎊 +1 overall
This message was automatically generated. |
ndimiduk
commented
Apr 2, 2020
MemberAuthor
Yeah seems to work for me locally. All this JDK11 complication can be purged from the hadoop-two profiles since that combination is known to not work at runtime. |
…o-compat After HBASE-23986, running on JDK8/Hadoop2 from the binary tarball results in ``` Exception in thread "main" java.lang.NoClassDefFoundError: com/ctc/wstx/io/InputBootstrapper at org.apache.hadoop.hbase.util.ServerCommandLine.doMain(ServerCommandLine.java:149) at org.apache.hadoop.hbase.master.HMaster.main(HMaster.java:3062) Caused by: java.lang.ClassNotFoundException: com.ctc.wstx.io.InputBootstrapper at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ... 2 more ``` The missing class is from `com.fasterxml.woodstox:woodstox-core`. This and `org.codehaus.woodstox:stax2-api` are explicit dependencies of `org.apache.hadoop:hadoop-common:jar:2.10.0`. Thus, include them in the default jars provided under `lib`. Signed-off-by: stack <stack@apache.org>
ndimidukforce-pushed
the
24084-jdk8-hadoop2-hbase-assembly
branch
from
April 2, 2020 16:50
a0ab2e1 to
704a3a5Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
sort lines and cleanup whitespace in hbase-assembly/hadoop-two-compat.xml
Simply cleanup the whitespace and readability of these include, exclude lists before making any subsequent changes. To be squished into the subsequent commit on merge.
HBASE-24084 Fix missing jdk8 dependencies in hbase-assembly/hadoop-two-compat
After HBASE-23986, running on JDK8/Hadoop2 from the binary tarball
results in
The missing class is from
com.fasterxml.woodstox:woodstox-core. Thisand
org.codehaus.woodstox:stax2-apiare explicit dependencies oforg.apache.hadoop:hadoop-common:jar:2.10.0. Thus, include them inthe default jars provided under
lib.