Community Articles
Find and share helpful community-sourced technical articles.
Labels (1)
Super Guru
Please follow below steps to modify quicklinks for Oozie service in Ambari Note - This tutorial has been successfully tried and tested on Ambari 2.4.2.0 and Ambari 2.5.2.0

1. Please make sure that your /var/lib/ambari-server/resources/stacks/HDP/2.0.6/services/OOZIE/metainfo.xml looks like below.
<?xml version="1.0"?> 
<!-- 
Licensed to the Apache Software Foundation (ASF) under one or more 
contributor license agreements. See the NOTICE file distributed with 
this work for additional information regarding copyright ownership. 
The ASF licenses this file to You under the Apache License, Version 2.0 
(the "License"); you may not use this file except in compliance with 
the License. You may obtain a copy of the License at 


http://www.apache.org/licenses/LICENSE-2.0 


Unless required by applicable law or agreed to in writing, software 
distributed under the License is distributed on an "AS IS" BASIS, 
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
See the License for the specific language governing permissions and 
limitations under the License. 
--> 
<metainfo> 
<schemaVersion>2.0</schemaVersion> 
<services> 
<service> 
<name>OOZIE</name> 
<extends>common-services/OOZIE/4.0.0.2.0</extends> 
<quickLinksConfigurations> 
<quickLinksConfiguration> 
<fileName>quicklinks.json</fileName> 
<default>true</default> 
</quickLinksConfiguration> 
</quickLinksConfigurations> 
</service> 
</services> 
</metainfo> 

.

2. Edit /var/lib/ambari-server/resources/stacks/HDP/2.0.6/services/OOZIE/quicklinks/quicklinks.json and modify "url" field to your loadbalancer's URL
e.g. "url" : "https://<load-balancer-hostname:<port-number>/oozie>", 

.

3. Execute below command
cp /var/lib/ambari-server/resources/stacks/HDP/2.0.6/services/OOZIE/quicklinks/quicklinks.json /var/lib/ambari-server/resources/common-services/OOZIE/4.2.0.2.3/quicklinks/quicklinks.json 


Note - Modify version numbers for Oozie if required.

.

4. Restart Ambari server

.

5. Try to access quicklinks for Oozie, it should point you to load balancer URL

.

.

Please comment if you have any feedback/questions/suggestions. Happy Hadooping!! :)

785 Views
0 Kudos
Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.
Version history
Last update:
‎10-06-2017 10:31 PM
Updated by:
Contributors
Top Kudoed Authors