[
https://issues.apache.org/jira/browse/AMBARI-13141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14852761#comment-14852761
]
Hudson commented on AMBARI-13141:
---------------------------------
ABORTED: Integrated in Ambari-branch-2.1 #552 (See
[https://builds.apache.org/job/Ambari-branch-2.1/552/])
AMBARI-13141. Properly handle not_if clause for command execution (aonishuk)
(aonishuk:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=136dc8eedfdd2c33f3ce9a75436805af79a955a4)
*
ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/hive.py
> Properly handle not_if clause for command execution
> ---------------------------------------------------
>
> Key: AMBARI-13141
> URL: https://issues.apache.org/jira/browse/AMBARI-13141
> Project: Ambari
> Issue Type: Bug
> Reporter: Andrew Onischuk
> Assignee: Andrew Onischuk
> Fix For: 2.1.2
>
>
> Passwords are not masked in command output.
> It seems like masking is not handled properly for the "not_if" clause.
>
>
>
> 2015-09-11 18:42:56,872 - Execute['export
> HIVE_CONF_DIR=/usr/hdp/current/hive-metastore/conf/conf.server ;
> /usr/hdp/current/hive-metastore/bin/schematool -initSchema -dbType mysql
> -userName hive -passWord [PROTECTED]'] {'not_if': 'ambari-sudo.sh su hive -l
> -s /bin/bash -c \'export
> HIVE_CONF_DIR=/usr/hdp/current/hive-metastore/conf/conf.server ;
> /usr/hdp/current/hive-metastore/bin/schematool -info -dbType mysql -userName
> hive -passWord \'"\'"\'PLAIN_TEXT_PASSWORD_HERE'"\'"\'\'', 'user': 'hive'}
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)