Support Questions

Find answers, ask questions, and share your expertise

Building CDH with jdk8

Explorer

The parcel

 

https://archive.cloudera.com/cdh5/parcels/5.14.0/CDH-5.14.0-1.cdh5.14.0.p0.24-el7.parcel

 

built with jdk7

 

I want to rebuild this parcel with jdk8, where can I download the source code? other links contain source code for individual packages, not entire cdh.

 

Thanks

4 REPLIES 4

Expert Contributor
A parcel is just a zip file containing the CDH distribution. You can run CDH with both JDK 7 and JDK 8 versions just fine. What is the issue you are trying to solve? Please clarify.

Explorer

@gzigldrum Thanks for the reply, I understand your point,

 

This task came to me as a business requirement, to build the cloudera jars to jdk8. 

 

Does the cloudera share entire CDH bundle source code? (not individual components which are available here:https://archive.cloudera.com/cdh5/cdh/5/)

Expert Contributor

CDH source code is available, see https://www.cloudera.com/products/open-source/apache-hadoop/key-cdh-components.html

Please note that rebuilding the CDH jars is not a simple task and you will loose support status. I would recommend to reach out to your Cloudera Account representative instead to discuss your requirements.

Explorer

Thanks @gzigldrum

 

got your point readring cloudera support, I am researching on possibility of CDH 5.14, jdk 8,9,10,11. From jdk 9 onwards its getting harder to compile it. CDH 6 is the only option I think.

 

one more thing, the links above has source code for individual components, but when compiled into package, lets say hadoop its not giving me lib64 folder which original CDH parcel has.