Example #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)
Example #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)
Example #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)
Example #4
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)