Beispiel #1
0
 def dsetool(self, cmd):
     env = self.get_env()
     extension.append_to_client_env(self, env)
     dsetool = common.join_bin(self.get_install_dir(), 'bin', 'dsetool')
     args = [dsetool, '-h', 'localhost', '-j', str(self.jmx_port)]
     args += cmd.split()
     p = subprocess.Popen(args, env=env)
     p.wait()
Beispiel #2
0
 def dsetool(self, cmd):
     env = self.get_env()
     extension.append_to_client_env(self, env)
     dsetool = common.join_bin(self.get_install_dir(), 'bin', 'dsetool')
     args = [dsetool, '-h', 'localhost', '-j', str(self.jmx_port)]
     args += cmd.split()
     p = subprocess.Popen(args, env=env)
     p.wait()
Beispiel #3
0
 def dsetool(self, cmd):
     env = self.get_env()
     extension.append_to_client_env(self, env)
     node_ip, binary_port = self.network_interfaces['binary']
     dsetool = common.join_bin(self.get_install_dir(), 'bin', 'dsetool')
     args = [dsetool, '-h', node_ip, '-j', str(self.jmx_port), '-c', str(binary_port)]
     args += cmd.split()
     p = subprocess.Popen(args, env=env, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
     return handle_external_tool_process(p, args)
Beispiel #4
0
 def dsetool(self, cmd):
     env = self.get_env()
     extension.append_to_client_env(self, env)
     node_ip, binary_port = self.network_interfaces['binary']
     dsetool = common.join_bin(self.get_install_dir(), 'bin', 'dsetool')
     args = [dsetool, '-h', node_ip, '-j', str(self.jmx_port), '-c', str(binary_port)]
     args += cmd.split()
     p = subprocess.Popen(args, env=env, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
     return handle_external_tool_process(p, args)
Beispiel #5
0
 def dse(self, dse_options=None):
     if dse_options is None:
         dse_options = []
     env = self.get_env()
     extension.append_to_client_env(self, env)
     env['JMX_PORT'] = self.jmx_port
     dse = common.join_bin(self.get_install_dir(), 'bin', 'dse')
     args = [dse]
     args += dse_options
     p = subprocess.Popen(args, env=env)  #Don't redirect stdout/stderr, users need to interact with new process
     return handle_external_tool_process(p, args)
Beispiel #6
0
 def dse(self, dse_options=None):
     if dse_options is None:
         dse_options = []
     env = self.get_env()
     extension.append_to_client_env(self, env)
     env['JMX_PORT'] = self.jmx_port
     dse = common.join_bin(self.get_install_dir(), 'bin', 'dse')
     args = [dse]
     args += dse_options
     p = subprocess.Popen(args, env=env)  #Don't redirect stdout/stderr, users need to interact with new process
     return handle_external_tool_process(p, args)
Beispiel #7
0
 def dse(self, dse_options=None):
     if dse_options is None:
         dse_options = []
     env = self.get_env()
     extension.append_to_client_env(self, env)
     env['JMX_PORT'] = self.jmx_port
     dse = common.join_bin(self.get_install_dir(), 'bin', 'dse')
     args = [dse]
     args += dse_options
     p = subprocess.Popen(args, env=env)
     p.wait()
Beispiel #8
0
 def dse(self, dse_options=None):
     if dse_options is None:
         dse_options = []
     env = self.get_env()
     extension.append_to_client_env(self, env)
     env['JMX_PORT'] = self.jmx_port
     dse = common.join_bin(self.get_install_dir(), 'bin', 'dse')
     args = [dse]
     args += dse_options
     p = subprocess.Popen(args, env=env)
     p.wait()