You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Yusaku Sako (JIRA)" <ji...@apache.org> on 2015/07/10 01:55:04 UTC
[jira] [Commented] (AMBARI-9098) Cannot install new secure services
to existing secure HDFS cluster
[ https://issues.apache.org/jira/browse/AMBARI-9098?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14621470#comment-14621470 ]
Yusaku Sako commented on AMBARI-9098:
-------------------------------------
How to apply the patch on top of 1.7.0:
On the Ambari Server host:
cd /usr/lib/ambari-server
wget https://issues.apache.org/jira/secure/attachment/12707622/public.tgz
mv web web-orig
tar zxvf public.tgz
mv public web
wget -O /var/lib/ambari-server/resources/stacks/HDP/2.0.6/services/OOZIE/package/scripts/oozie_service.py
> Cannot install new secure services to existing secure HDFS cluster
> ------------------------------------------------------------------
>
> Key: AMBARI-9098
> URL: https://issues.apache.org/jira/browse/AMBARI-9098
> Project: Ambari
> Issue Type: Bug
> Components: ambari-agent, ambari-web
> Affects Versions: 1.7.0
> Reporter: Jimmy Da
> Assignee: Rishi Pidva
> Priority: Blocker
> Fix For: 2.0.0
>
> Attachments: AMBARI-9098-v1.patch, oozie_service.py, public.tgz
>
>
> hadoop.security.auth_to_local in core-site is overwritten to null when installing new service to a secure cluster
> 1. Setup secure HDFS cluster with services (HDFS, MR2, YARN, ZooKeeper) and Kerberos
> 2. Configure secure user for Oozie (or any other secure service) - create user+setup keytab
> 3. Install Oozie via Ambari UI --> FAIL
> FATAL namenode.NameNode (NameNode.java:main(1400)) - Exception in namenode join
> java.lang.IllegalArgumentException: Invalid rule: null
> 4. Check hadoop.security.auth_to_local property in HDFS configurations under Advanced core-site, see null instead of "RULE:..."
> ---------------------------------------------
> The core-site overwrite is happening in ambari-server/src/main/resources/stacks/HDP/2.0.6/hooks/after-INSTALL/scripts/shared_initialization.py, when I commented out the lines, it works again, but I'm sure there's a reason the check and rewrite is there
> Thanks!
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)