Remove unneeded starting ntp
Starting ntp service in unneeded because it will be started before. Closes-bug: 1487465 Change-Id: Ic944f3e42e648e6513ce5f86effcadb57334f5da
This commit is contained in:
parent
c6cb9c24b2
commit
21a85d1c61
@ -52,14 +52,6 @@ def start_manager(remote):
|
||||
_root(remote, 'service cloudera-scm-server start')
|
||||
|
||||
|
||||
def start_ntp(remote):
|
||||
distrib = _get_os_distrib(remote)
|
||||
if distrib == 'centos':
|
||||
_root(remote, 'service ntpd start')
|
||||
elif distrib == 'ubuntu':
|
||||
_root(remote, 'service ntp start')
|
||||
|
||||
|
||||
def configure_agent(remote, manager_address):
|
||||
remote.replace_remote_string('/etc/cloudera-scm-agent/config.ini',
|
||||
'server_host=.*',
|
||||
|
@ -237,7 +237,6 @@ class AbstractPluginUtils(object):
|
||||
def _start_cloudera_agent(self, instance):
|
||||
mng_hostname = self.get_manager(instance.cluster).hostname()
|
||||
with instance.remote() as r:
|
||||
cmd.start_ntp(r)
|
||||
cmd.configure_agent(r, mng_hostname)
|
||||
cmd.start_agent(r)
|
||||
|
||||
|
@ -46,7 +46,6 @@ PACKAGES = [
|
||||
'hive-server2',
|
||||
'hive-webhcat-server',
|
||||
'hue',
|
||||
'ntp',
|
||||
'oozie',
|
||||
'oracle-j2sdk1.7',
|
||||
'spark-core',
|
||||
|
@ -45,7 +45,6 @@ PACKAGES = [
|
||||
'impala-state-store',
|
||||
'impala-catalog',
|
||||
'impala-shell',
|
||||
'ntp',
|
||||
'oozie',
|
||||
'oracle-j2sdk1.7',
|
||||
'sentry',
|
||||
|
@ -47,7 +47,6 @@ PACKAGES = [
|
||||
'impala-catalog',
|
||||
'impala-shell',
|
||||
'keytrustee-keyprovider',
|
||||
'ntp',
|
||||
'oozie',
|
||||
'oracle-j2sdk1.7',
|
||||
'sentry',
|
||||
|
Loading…
Reference in New Issue
Block a user