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

Ankur Jain commented on PHOENIX-2834:
-------------------------------------

sorry for the delays.

I was successfully able to build phoenix 4.7.0 branch on CDH 5.7.0. For that 

1. I had to rebuild tephra using CDH5.7.0 and also create a separate sub module 
for the same. You can clone my repository for those 
changes(https://github.com/ankurjain86/tephra)
2. Changed dependencies and some of the API to make phoenix code compatible  
with CDH5.7.0. All the changes are pushed in 
https://github.com/ankurjain86/phoenix/tree/4.7.0-HBase-1.2.cdh5.7.0. The main 
pom has a reference to our internal repository which can be replace to your 
internal repository.
3. All our the test cases are passing and also our application is able to use 
it successfully. We are still in process of testing at scale.

I might need to do some work to make it as a CDH parcel and make it available 
to the community. Until then we have to rely on building and using ourselves.

Moreover I wish if phoenix can be supported on CDH out of the box either  by 
effort of community or by effort of cloudera.

Also we should see how tephra has separate out dependencies on different 
flavours of hbase and if we can adopt some practices from there.

> Support Phoenix over CDH 5.7.0
> ------------------------------
>
>                 Key: PHOENIX-2834
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-2834
>             Project: Phoenix
>          Issue Type: New Feature
>    Affects Versions: 4.7.0
>            Reporter: Ankur Jain
>              Labels: CDH
>             Fix For: 4.7.0
>
>         Attachments: PHOENIX-2834.master.patch, PHOENIX-2834.patch
>
>
> Phoenix 4.7 is not compilable on CDH 5.7.0. To make it compilable and run 
> successfully we need to do following things
> 1. CDH 5.7.0 support hbase 1.2.0, which is not currently supported by phoenix 
> yet. Need to change few APIs as per hbase 1.2.0
> 2. We need a cdh compatible tephra library to be added in maven dependency
> 3. Add cloudera repository in pom file
> 4. Update hadoop and hbase dependencies with their respective cloudera 
> version instead of open source version of hadoop and hbase.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to