AMBARI-22221. Fix initialization of Druid Script object. (nishantmonu51)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/d88d3cc0 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/d88d3cc0 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/d88d3cc0 Branch: refs/heads/branch-feature-AMBARI-22008 Commit: d88d3cc06f5355802a95db35c26e383502b658c7 Parents: 527e45d Author: Nishant <nishant.mon...@gmail.com> Authored: Thu Oct 12 21:20:11 2017 +0530 Committer: Nishant <nishant.mon...@gmail.com> Committed: Thu Oct 12 22:37:26 2017 +0530 ---------------------------------------------------------------------- .../common-services/DRUID/0.10.1/package/scripts/druid_node.py | 1 + 1 file changed, 1 insertion(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/d88d3cc0/ambari-server/src/main/resources/common-services/DRUID/0.10.1/package/scripts/druid_node.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/common-services/DRUID/0.10.1/package/scripts/druid_node.py b/ambari-server/src/main/resources/common-services/DRUID/0.10.1/package/scripts/druid_node.py index 8053dcb..8e1a44f 100644 --- a/ambari-server/src/main/resources/common-services/DRUID/0.10.1/package/scripts/druid_node.py +++ b/ambari-server/src/main/resources/common-services/DRUID/0.10.1/package/scripts/druid_node.py @@ -32,6 +32,7 @@ from druid import druid, get_daemon_cmd, getPid class DruidBase(Script): def __init__(self, nodeType=None): + Script.__init__(self) self.nodeType = nodeType def install(self, env):