You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2015/09/18 14:24:04 UTC

[jira] [Commented] (AMBARI-13141) Properly handle not_if clause for command execution

    [ https://issues.apache.org/jira/browse/AMBARI-13141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14847349#comment-14847349 ] 

Hudson commented on AMBARI-13141:
---------------------------------

SUCCESS: Integrated in Ambari-trunk-Commit #3461 (See [https://builds.apache.org/job/Ambari-trunk-Commit/3461/])
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=294bba8038e575c22385d8f5c87be6e601235195)
* 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)