def start(self, env): import params install_alluxio() # Mount ramfs cmd = params.install_dir + '/bin/alluxio-start.sh ' + 'worker' + ' Mount' Execute('echo "Running cmd: ' + cmd + '"') Execute(cmd) cmd = "echo `ps -A -o pid,command | grep -i \"[j]ava\" | grep AlluxioWorker | awk '{print $1}'`> " + params.work_pid_file Execute(cmd)
def install(self, env): import params self.install_packages(env) env.set_params(params) install_alluxio()
def install(self, env): install_alluxio(first=True) self.configure(env)
def install(self, env): install_alluxio() self.configure(env)