You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Andrew Onischuk (JIRA)" <ji...@apache.org> on 2015/09/18 12:25:04 UTC
[jira] [Resolved] (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:all-tabpanel ]
Andrew Onischuk resolved AMBARI-13141.
--------------------------------------
Resolution: Fixed
Committed to trunk and branch-2.1
> 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)