Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.0.0-alpha-1, 2.1.0, 2.2.0
-
None
Description
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:
$ ./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
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.
Attachments
Attachments
Issue Links
- breaks
-
HBASE-21182 Failed to execute start-hbase.sh
- Resolved
- is related to
-
HBASE-20615 emphasize use of shaded client jars when they're present in an install
- Resolved