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

Istvan Toth commented on PHOENIX-7139:
--------------------------------------

It also works fine with either  hbase-shaded-client-byo-hadoop from "hbase 
classpath", or with hbase-shaded-client (which includes hadoop).

On second thought, "hbase mapredcp" not including the hadoop classpath is 
probably by design, as running the MR jobs via the "hadoop" command adds that 
automatically.

> Create phoenix-mapreduce-byo-shaded-hbase artifact for use by connectors
> ------------------------------------------------------------------------
>
>                 Key: PHOENIX-7139
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-7139
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Istvan Toth
>            Assignee: Istvan Toth
>            Priority: Major
>
> This is designed to work with the classpath returned by the "hbase mapredcp" 
> command, which has the unshaded Hadoop dependencies, and the shaded 
> _hbase-shaded-mapreduce_ Jar.
> This is the same shading currently used by the Phoenix connectors shaded 
> artifacts.
>  * All Hadoop and HBase artifacts are marked as provided
>  * Protobuf 2.5 is relocated under 
> {color:#000000}org.apache.hadoop.hbase.shaded{color}
>  * Direct non-hbase and non-hadoop dependencies are relocated under 
> {color:#000000}org.apache.phoenix.shaded
> {color}
> {color:#000000}In theory, this should also work as a JDBC client with either 
> hbase-shaded-client, or with hbase-shaded-client-byo-hadoop + hadoop 
> classpath. (Not tested yet){color}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to