[ https://issues.apache.org/jira/browse/HBASE-21153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16605785#comment-16605785 ]
Hudson commented on HBASE-21153: -------------------------------- Results for branch master [build #476 on builds.a.o|https://builds.apache.org/job/HBase%20Nightly/job/master/476/]: (x) *{color:red}-1 overall{color}* ---- details (if available): (x) {color:red}-1 general checks{color} -- For more information [see general report|https://builds.apache.org/job/HBase%20Nightly/job/master/476//General_Nightly_Build_Report/] (x) {color:red}-1 jdk8 hadoop2 checks{color} -- For more information [see jdk8 (hadoop2) report|https://builds.apache.org/job/HBase%20Nightly/job/master/476//JDK8_Nightly_Build_Report_(Hadoop2)/] (x) {color:red}-1 jdk8 hadoop3 checks{color} -- For more information [see jdk8 (hadoop3) report|https://builds.apache.org/job/HBase%20Nightly/job/master/476//JDK8_Nightly_Build_Report_(Hadoop3)/] (/) {color:green}+1 source release artifact{color} -- See build output for details. (/) {color:green}+1 client integration test{color} > Shaded client jars should always build in relevant phase to avoid confusion > --------------------------------------------------------------------------- > > Key: HBASE-21153 > URL: https://issues.apache.org/jira/browse/HBASE-21153 > Project: HBase > Issue Type: Improvement > Components: build > Affects Versions: 3.0.0, 2.1.0, 2.2.0 > Reporter: stack > Assignee: Sean Busbey > Priority: Major > Fix For: 3.0.0, 2.2.0, 2.1.1 > > Attachments: HBASE-21153.0.patch, ls.txt > > > *edit*: > Now that our assembly directly relies on the shaded clients, failing to build > the actual client jars (e.g. because {{-P release}} is required to fill in > their contents) causes confusing errors for downstream folks about classes > not being found when they run simple commands like {{hbase version}}. > We should always fill in the shaded artifacts to make our build easier to > understand. > *original report:*: When I run the {{hbase version}} command it comes back > with: > {code}$ ./bin/hbase version > Error: Could not find or load main class > org.apache.hadoop.hbase.util.GetJavaProperty > Error: Could not find or load main class > org.apache.hadoop.hbase.util.VersionInfo{code} > The two classes are in hbase-commons. > The nice shaded refactoring of our bin/hbase -- i.e. using shaded jars > wherever possible -- may have overstretched expecting version to work with > shaded client ([~busbey] ?). If so, fix is < one-liner. -- This message was sent by Atlassian JIRA (v7.6.3#76005)