You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2018/06/18 20:39:00 UTC
[jira] [Created] (HBASE-20750) If shaded client artifacts are built
without the -Prelease flag, make sure they'll fail loudly if used
Sean Busbey created HBASE-20750:
-----------------------------------
Summary: If shaded client artifacts are built without the -Prelease flag, make sure they'll fail loudly if used
Key: HBASE-20750
URL: https://issues.apache.org/jira/browse/HBASE-20750
Project: HBase
Issue Type: Improvement
Components: build, shading
Affects Versions: 3.0.0, 2.1.0
Reporter: Sean Busbey
If someone builds the shaded jars and doesn't pass the {{-Prelease}} flag, we get near-empty jars.
We should make sure that if they're loaded they fail loudly rather than as no-ops as they are now.
On a Hadoop 3 cluster without YARN-7190, this results in the following confusing result:
{code}
Busbey-MBA:hbase busbey$ ./hbase-assembly/target/hbase-2.1.0-SNAPSHOT-client/bin/hbase version
HBase 1.2.6
Source code repository file:///home/busbey/projects/hbase/hbase-assembly/target/hbase-1.2.6 revision=Unknown
Compiled by busbey on Mon May 29 02:25:32 CDT 2017
From source with checksum 7e8ce83a648e252758e9dae1fbe779c9
{code}
On a cluster not impacted by YARN-7190 we'll jsut get a confusing class not found exception.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)