incubator-ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yusaku Sako (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-2788) Using configs.sh to set property values in core-site result in line auth_to_local mapping issues
Date Thu, 01 Aug 2013 00:35:48 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-2788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yusaku Sako updated AMBARI-2788:
--------------------------------

    Description: 
Use /ambari-server/src/main/resources/scripts/configs.sh to edit:
{noformat}
"hadoop.security.auth_to_local" : "\n        RULE:[2:$1@$0]([rn]m@.*)s/.*/yarn/\n        RULE:[2:$1@$0]([nd]n@.*)s/.*/hdfs/\n
       RULE:[2:$1@$0](hm@.*)s/.*/hbase/\n        RULE:[2:$1@$0](rs@.*)s/.*/hbase/\n      
 DEFAULT\n    "
{noformat}

The result is that the "\" from newline characters are missing in the resulting configuration.

  was:
Use /ambari-server/src/main/resources/scripts/configs.sh to edit:
"hadoop.security.auth_to_local" : "\n        RULE:[2:$1@$0]([rn]m@.*)s/.*/yarn/\n        RULE:[2:$1@$0]([nd]n@.*)s/.*/hdfs/\n
       RULE:[2:$1@$0](hm@.*)s/.*/hbase/\n        RULE:[2:$1@$0](rs@.*)s/.*/hbase/\n      
 DEFAULT\n    "

The result is that the "\" from newline characters are missing in the resulting configuration.

    
> Using configs.sh to set property values in core-site result in line auth_to_local mapping
issues
> ------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-2788
>                 URL: https://issues.apache.org/jira/browse/AMBARI-2788
>             Project: Ambari
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 1.4.0
>            Reporter: Siddharth Wagle
>            Assignee: Srimanth Gunturi
>             Fix For: 1.4.0
>
>         Attachments: AMBARI-2788.patch
>
>
> Use /ambari-server/src/main/resources/scripts/configs.sh to edit:
> {noformat}
> "hadoop.security.auth_to_local" : "\n        RULE:[2:$1@$0]([rn]m@.*)s/.*/yarn/\n   
    RULE:[2:$1@$0]([nd]n@.*)s/.*/hdfs/\n        RULE:[2:$1@$0](hm@.*)s/.*/hbase/\n       
RULE:[2:$1@$0](rs@.*)s/.*/hbase/\n        DEFAULT\n    "
> {noformat}
> The result is that the "\" from newline characters are missing in the resulting configuration.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message