AMBARI-20037. Druid-superset install fails with ambari running on python 2.6.6. (Nishant Bangarwa via Swapan Shridhar).
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/59daf8b0 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/59daf8b0 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/59daf8b0 Branch: refs/heads/branch-feature-AMBARI-20053 Commit: 59daf8b0ea0465b83dad45102105f498a9784912 Parents: ce7c727 Author: Swapan Shridhar <[email protected]> Authored: Tue Feb 21 12:29:14 2017 -0800 Committer: Swapan Shridhar <[email protected]> Committed: Tue Feb 21 12:29:14 2017 -0800 ---------------------------------------------------------------------- .../common-services/DRUID/0.9.2/package/scripts/superset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/59daf8b0/ambari-server/src/main/resources/common-services/DRUID/0.9.2/package/scripts/superset.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/DRUID/0.9.2/package/scripts/superset.py b/ambari-server/src/main/resources/common-services/DRUID/0.9.2/package/scripts/superset.py index 6a56e25..f0077fa 100644 --- a/ambari-server/src/main/resources/common-services/DRUID/0.9.2/package/scripts/superset.py +++ b/ambari-server/src/main/resources/common-services/DRUID/0.9.2/package/scripts/superset.py @@ -145,7 +145,7 @@ def quote_string_value(value): if value.lower() == "true" or value.lower() == "false" or value.isdigit(): return value else: - return "'{}'".format(value) + return "'{0}'".format(value)
