예제 #1
0
 def _start_cloudera_agent(self, instance):
     mng_hostname = self.get_manager(instance.cluster).hostname()
     with instance.remote() as r:
         cmd.configure_agent(r, mng_hostname)
         cmd.start_agent(r)
예제 #2
0
def _start_cloudera_agent(instance):
    mng_hostname = pu.get_manager(instance.node_group.cluster).hostname()
    with instance.remote() as r:
        cmd.configure_agent(r, mng_hostname)
        cmd.start_agent(r)
예제 #3
0
 def _start_cloudera_agent(self, instance):
     mng_hostname = self.get_manager(instance.cluster).hostname()
     with instance.remote() as r:
         cmd.configure_agent(r, mng_hostname)
         cmd.start_agent(r)
예제 #4
0
파일: deploy.py 프로젝트: viplav/sahara
def _start_cloudera_agent(instance):
    mng_hostname = pu.get_manager(instance.node_group.cluster).hostname()
    with instance.remote() as r:
        cmd.configure_agent(r, mng_hostname)
        cmd.start_agent(r)