Created 09-14-2017 08:38 AM
Dear community,
cliffs: How to update an HDP service (Ranger, Atlas, Hive, whatever) to a newer (github) release?
After sitting for days in front of this problem, I would like to ask kindly for your help. My mission is to install the newest version of the service Ranger for testing purposes. In my sandbox HDP 2.6 stack the newest is 0.7 and I would like to update to 0.7.1 (or even try 0.7.2 snapshot; 1.0 snapshot - whatever).
Iam running HDP Sandbox 2.6.1 and I already tried an approach to delete
/var/lib/ambari-server/resources/stacks/HDP/2.6/services/RANGER
and get clone Ranger.git in here. But somehow the Ranger service in Ambari was still the old one.
Also tried to install manually, add a custom service named Ranger0.7.2 or add a custom stack but I guess iam not skilled enough to get this to work. What is the most common way to get this update done? I appreciate every small hint or help a lot. Huge thanks in advance, you eventually save my day:-)
Created 10-12-2017 08:30 PM
If you want to to just use the a later version of ranger you can do it manually replace the jars with new jars after extracting or building the jars.
Refer.
Created 09-25-2017 07:09 AM
Bump. Still did not found a solution to update a service manually out of the recent github. Please help:-)
Created 10-12-2017 08:30 PM
If you want to to just use the a later version of ranger you can do it manually replace the jars with new jars after extracting or building the jars.
Refer.
Created 10-23-2017 10:36 AM
Thats a good hint. Thank you a lot for that:-) So Iam on the right path. Unfortunately I encountered issues while building with maven. I got the source from github and tried the following: (git checkout ranger release, export java, maven clean and then the following
mvn -DskipTests=false clean compile package install assembly:assembly
(as shown here - source: http://ranger.apache.org/quick_start_guide.html)
But somehow the building is failing all the time: "Build failure". Changing Java type and version helps, but at the end it always fails at some point leading to the same result. Any hint to what kind of configuration is needed to get a successful build?
(tried out openjdk 7,8 and oracle 7,8; on lubuntu or mint with recent 3.5 maven)
Created 11-06-2017 11:44 PM
@Jack Jackson I didnt have any issue building using the following, what error you get while building?
mvn clean compile package assembly:assembly