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

Ted Yu commented on AMBARI-18853:
---------------------------------

I used the following code in hbase:
{code}
    Configuration conf = TEST_UTIL.getConfiguration();
    conf.set("a", "'hello'");
    String a = conf.get("a");
{code}
The value for variable a is "'hello'"

> Provide an option for not encoding double quote in custom hbase-site
> --------------------------------------------------------------------
>
>                 Key: AMBARI-18853
>                 URL: https://issues.apache.org/jira/browse/AMBARI-18853
>             Project: Ambari
>          Issue Type: Improvement
>            Reporter: Ted Yu
>
> The double quote I entered in config entry under 'Custom hbase-site' is 
> encoded as """ when saved to disk:
> {code}
>     <property>
>       <name>hbase.it.clustermanager.ssh.cmd</name>
>       <value>/usr/bin/ssh %1$s %2$s%3$s%4$s &#34;sudo su - hbase -c 
> \&#34;%5$s\&#34;&#34;</value>
>     </property>
> {code}
> The encoding shouldn't be performed since the value would be passed to chaos 
> monkey to execute certain command.
> There should be an option to disable the encoding.



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

Reply via email to