ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremy (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-22282) Ambari adds quotes around Superset CACHE_CONFIG settings
Date Sat, 21 Oct 2017 22:06:00 GMT
Jeremy created AMBARI-22282:
-------------------------------

             Summary: Ambari adds quotes around Superset CACHE_CONFIG settings
                 Key: AMBARI-22282
                 URL: https://issues.apache.org/jira/browse/AMBARI-22282
             Project: Ambari
          Issue Type: Bug
          Components: ambari-agent
    Affects Versions: 2.5.2
            Reporter: Jeremy
            Priority: Minor


in config.py, the format of CACHE_CONFIG needs to be 

CACHE_CONFIG={ "CACHE_TYPE": "redis", "CACHE_DEFAULT_TIMEOUT": 30, "CACHE_KEY_PREFIX": "superset_",
   "CACHE_REDIS_HOST": "redishost',  "CACHE_REDIS_PORT": 6379,    "CACHE_REDIS_DB": 3}

Ambari is making this CACHE_CONFIG='{ "CACHE_TYPE": "redis", "CACHE_DEFAULT_TIMEOUT": 30,
"CACHE_KEY_PREFIX": "superset_",    "CACHE_REDIS_HOST": "redishost',  "CACHE_REDIS_PORT":
6379,    "CACHE_REDIS_DB": 3}'

Which is causing ElixerCache to throw an error since it can't process the dictionary obj



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message