You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Alejandro Fernandez (JIRA)" <ji...@apache.org> on 2016/10/05 22:05:21 UTC

[jira] [Created] (AMBARI-18541) Support changing multi-line configs with configs.sh

Alejandro Fernandez created AMBARI-18541:
--------------------------------------------

             Summary: Support changing multi-line configs with configs.sh
                 Key: AMBARI-18541
                 URL: https://issues.apache.org/jira/browse/AMBARI-18541
             Project: Ambari
          Issue Type: Bug
          Components: ambari-server
    Affects Versions: 2.4.0
            Reporter: Alejandro Fernandez


Today we can use configs.sh to change single line properties, e.g.,
{noformat}/var/lib/ambari-server/resources/scripts/configs.sh set localhost c1 hive-site foo "myvalue"{noformat}

However, if the property value is multi-line, which is used in all config types like hadoop-env, hive-env, zeppelin-env, etc., then it's not possible to apply that value.

We need configs.sh to support reading the value from a file (can be txt, json, doesn't matter).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)