[ 
https://issues.apache.org/jira/browse/HBASE-21153?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16604797#comment-16604797
 ] 

Sean Busbey commented on HBASE-21153:
-------------------------------------

yeah, we don't fill in the shaded artifacts unless you pass the {{-P release}} 
flag. Old decision because folks were concerned about the added build time. 
it's always been confusing.

you can see it here in your listing:

{code}
./lib/shaded-clients:
total 88K
drwxrwxr-x 2 stack stack 4.0K Sep  5 10:48 .
drwxrwxr-x 6 stack stack  12K Sep  5 10:48 ..
-rw-rw-r-- 1 stack stack  20K Sep  5 10:42 
hbase-shaded-client-2.1.1-SNAPSHOT.jar
-rw-rw-r-- 1 stack stack  19K Sep  5 10:42 
hbase-shaded-client-byo-hadoop-2.1.1-SNAPSHOT.jar
-rw-rw-r-- 1 stack stack  30K Sep  5 10:42 
hbase-shaded-mapreduce-2.1.1-SNAPSHOT.jar
{code}

Compared to mine:

{code}

Busbey-MBA:target busbey$ ls -lah hbase-2.1.1-SNAPSHOT/lib/shaded-clients/
total 242480
drwxr-xr-x    5 busbey  staff   160B Sep  5 13:56 .
drwxr-xr-x  168 busbey  staff   5.3K Sep  5 13:56 ..
-rw-r--r--    1 busbey  staff    44M Sep  5 12:40 
hbase-shaded-client-2.1.1-SNAPSHOT.jar
-rw-r--r--    1 busbey  staff    40M Sep  5 12:40 
hbase-shaded-client-byo-hadoop-2.1.1-SNAPSHOT.jar
-rw-r--r--    1 busbey  staff    34M Sep  5 12:41 
hbase-shaded-mapreduce-2.1.1-SNAPSHOT.jar
{code}

If you list the contents of yours it'll basically just be LICENSE information.

> hbase version broke in 2.1+
> ---------------------------
>
>                 Key: HBASE-21153
>                 URL: https://issues.apache.org/jira/browse/HBASE-21153
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.1.0
>            Reporter: stack
>            Assignee: stack
>            Priority: Major
>             Fix For: 2.1.1
>
>         Attachments: ls.txt
>
>
> 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)

Reply via email to