Bryan Beaudreault created HBASE-26910:
-----------------------------------------

             Summary: Allow builders of hbase to specify hadoop mode for 
hbase-shaded-client
                 Key: HBASE-26910
                 URL: https://issues.apache.org/jira/browse/HBASE-26910
             Project: HBase
          Issue Type: Improvement
            Reporter: Bryan Beaudreault
            Assignee: Bryan Beaudreault


HBASE-20333 added a new shaded artifact, hbase-shaded-client-byo-hadoop. This 
is useful in environments where they already depend on hadoop so pulling in the 
hadoop classes from hbase-shaded-client would be extreme.

I think the split that [~busbey] decided on there definitely made sense for the 
general case (with byo-hadoop being the specially named artifact). But some of 
us may work in environments where the default case is the byo-hadoop case. For 
those environments, it's a little confusing and verbose to have to refer to the 
hbase client as hbase-shaded-client-byo-hadoop everywhere.

Using profiles I think we could provide an optional activation which allows 
someone building their own hbase to decide whether hbase-shaded-client should 
include hadoop or not. This way normal users using the artifacts published to 
maven central are unaffected, but super users building their own have some 
extra flexibility.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to