Home
last modified time | relevance | path

Searched refs:shexec (Results 1 – 25 of 28) sorted by relevance

12

/dports/devel/hadoop/hadoop-1.2.1/src/core/org/apache/hadoop/util/
H A DProcessTree.java53 ShellCommandExecutor shexec = null; in isSetsidSupported() local
57 shexec = new ShellCommandExecutor(args); in isSetsidSupported()
58 shexec.execute(); in isSetsidSupported()
110 shexec.execute(); in killProcess()
137 shexec.execute(); in killProcessGroup()
157 ShellCommandExecutor shexec = null; in isAlive() local
160 shexec = new ShellCommandExecutor(args); in isAlive()
161 shexec.execute(); in isAlive()
182 ShellCommandExecutor shexec = null; in isProcessGroupAlive() local
185 shexec = new ShellCommandExecutor(args); in isProcessGroupAlive()
[all …]
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/util/
H A DProcessTree.java54 ShellCommandExecutor shexec = null; in isSetsidSupported() local
58 shexec = new ShellCommandExecutor(args); in isSetsidSupported()
59 shexec.execute(); in isSetsidSupported()
127 ShellCommandExecutor shexec = null; in sendSignal() local
131 shexec.execute(); in sendSignal()
290 ShellCommandExecutor shexec = null; in isAlive() local
294 shexec.execute(); in isAlive()
299 + shexec.toString() + ioe); in isAlive()
315 ShellCommandExecutor shexec = null; in isProcessGroupAlive() local
319 shexec.execute(); in isProcessGroupAlive()
[all …]
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/
H A DNodeHealthScriptRunner.java59 ShellCommandExecutor shexec = null; field in NodeHealthScriptRunner
102 shexec = new ShellCommandExecutor(execScript in NodeHealthMonitorExecutor()
110 shexec.execute(); in run()
116 if (Shell.WINDOWS && shexec.isTimedOut()) { in run()
121 if (!shexec.isTimedOut()) { in run()
129 if (hasErrors(shexec.getOutput())) { in run()
172 setHealthStatus(false, shexec.getOutput()); in reportHealthStatus()
251 if (shexec != null) { in serviceStop()
252 Process p = shexec.getProcess(); in serviceStop()
/dports/databases/hbase/hbase-1.2.1/hbase-server/src/main/java/org/apache/hadoop/hbase/
H A DHealthChecker.java37 private ShellCommandExecutor shexec = null; field in HealthChecker
64 this.shexec = new ShellCommandExecutor(execScript.toArray(new String[execScript.size()]), null, in init()
74 shexec.execute(); in checkHealth()
84 if (shexec.isTimedOut()) { in checkHealth()
88 if (hasErrors(shexec.getOutput())) { in checkHealth()
122 healthReport = shexec.getOutput(); in getHealthReport()
/dports/devel/hadoop/hadoop-1.2.1/src/mapred/org/apache/hadoop/mapred/
H A DNodeHealthCheckerService.java56 ShellCommandExecutor shexec = null; field in NodeHealthCheckerService
114 shexec = new ShellCommandExecutor((String[]) execScript in NodeHealthMonitorExecutor()
122 shexec.execute(); in run()
128 if (!shexec.isTimedOut()) { in run()
136 if (hasErrors(shexec.getOutput())) { in run()
179 setHealthStatus(false, shexec.getOutput()); in reportHealthStatus()
249 if (shexec != null) { in stop()
250 Process p = shexec.getProcess(); in stop()
H A DJvmManager.java456 private ShellCommandExecutor shexec; // shell terminal for running the task field in JvmManager.JvmManagerForType.JvmRunner
/dports/graphics/mirtk/MIRTK-2.0.0-122-g38210fa/Applications/lib/python/mirtk/batch/
H A Dslurm.py40 shexec = "#!/bin/bash\nexec {0} <(cat <<END_OF_SCRIPT\n".format(sys.executable)
41 shexec += script.format(**opts)
42 shexec += "\nEND_OF_SCRIPT)"
44 shexec += " $SLURM_ARRAY_TASK_ID"
45 shexec += "\n"
46 script = shexec
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/
H A DHardLink.java216 ShellCommandExecutor shexec = new ShellCommandExecutor(cmd); in getLinkCount() local
218 shexec.execute(); in getLinkCount()
219 in = new BufferedReader(new StringReader(shexec.getOutput())); in getLinkCount()
221 exitValue = shexec.getExitCode(); in getLinkCount()
232 inpMsg = shexec.getOutput(); in getLinkCount()
H A DFileUtil.java674 ShellCommandExecutor shexec = new ShellCommandExecutor(shellCmd); in unTarUsingTar() local
675 shexec.execute(); in unTarUsingTar()
676 int exitcode = shexec.getExitCode(); in unTarUsingTar()
/dports/devel/hadoop/hadoop-1.2.1/src/test/system/aop/org/apache/hadoop/test/system/
H A DDaemonProtocolAspect.aj334 ShellCommandExecutor shexec = new ShellCommandExecutor(cmd);
335 shexec.execute();
336 String output = shexec.getOutput();
350 ShellCommandExecutor shexec = new ShellCommandExecutor(command);
352 shexec.execute();
359 + shexec.toString()
361 + shexec.getOutput());
375 ShellCommandExecutor shexec = new ShellCommandExecutor(command);
377 shexec.execute();
384 + shexec.toString()
[all …]
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-tools/hadoop-streaming/src/test/java/org/apache/hadoop/streaming/
H A DUtilTest.java131 ShellCommandExecutor shexec = new ShellCommandExecutor( in hasPerlSupport() local
134 shexec.execute(); in hasPerlSupport()
135 if (shexec.getOutput().equals("42")) { in hasPerlSupport()
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/util/
H A DTestProcfsBasedProcessTree.java67 private ShellCommandExecutor shexec = null; field in TestProcfsBasedProcessTree
84 shexec = new ShellCommandExecutor(args.toArray(new String[0])); in run()
85 shexec.execute(); in run()
93 LOG.info("Exit code: " + shexec.getExitCode()); in run()
884 ShellCommandExecutor shexec = null; in isSetsidAvailable() local
888 shexec = new ShellCommandExecutor(args); in isSetsidAvailable()
889 shexec.execute(); in isSetsidAvailable()
894 LOG.info("setsid exited with exit code " + shexec.getExitCode()); in isSetsidAvailable()
919 ShellCommandExecutor shexec = null; in sendSignal() local
921 shexec = new ShellCommandExecutor(arg); in sendSignal()
[all …]
/dports/devel/hadoop/hadoop-1.2.1/src/test/system/aop/org/apache/hadoop/mapred/
H A DTaskTrackerAspect.aj141 ShellCommandExecutor shexec = new ShellCommandExecutor(command);
143 shexec.execute();
151 + shexec.toString() + " the output from command is : "
152 + shexec.getOutput());
H A DJobTrackerAspect.aj268 ShellCommandExecutor shexec = new ShellCommandExecutor(cmd);
269 shexec.execute();
270 return shexec.getOutput();
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/
H A DShell.java386 ShellCommandExecutor shexec = null; in isSetsidSupported() local
390 shexec = new ShellCommandExecutor(args); in isSetsidSupported()
391 shexec.execute(); in isSetsidSupported()
398 + (shexec != null ? shexec.getExitCode() : "(null executor)")); in isSetsidSupported()
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/util/
H A DTestShell.java139 Shell.ShellCommandExecutor shexec = new Shell.ShellCommandExecutor( in testShellCommandTimerLeak() local
142 shexec.execute(); in testShellCommandTimerLeak()
/dports/devel/hadoop/hadoop-1.2.1/src/test/org/apache/hadoop/util/
H A DTestProcfsBasedProcessTree.java53 private ShellCommandExecutor shexec = null; field in TestProcfsBasedProcessTree
70 shexec = new ShellCommandExecutor(args.toArray(new String[0])); in run()
71 shexec.execute(); in run()
79 LOG.info("Exit code: " + shexec.getExitCode()); in run()
/dports/mail/procmail/procmail-3.22/src/
H A Dcommon.h4 shexec P((const char*const*argv)) __attribute__((noreturn)),
H A Dcommon.c18 void shexec(argv)const char*const*argv; in shexec() function
H A Dpipes.c95 newargv[1]=shellflags;*newargv=tgetenv(shell);shexec(newargv);
138 newargv[argc]=0;shexec(newargv);
H A Dformisc.c194 shexec(argv);
/dports/devel/hadoop/hadoop-1.2.1/src/core/org/apache/hadoop/fs/
H A DFileUtil.java551 ShellCommandExecutor shexec = new ShellCommandExecutor(shellCmd); in unTar() local
552 shexec.execute(); in unTar()
553 int exitcode = shexec.getExitCode(); in unTar()
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests/src/test/java/org/apache/hadoop/yarn/server/
H A DMiniYARNCluster.java171 ShellCommandExecutor shexec = new ShellCommandExecutor( in MiniYARNCluster() local
174 shexec.execute(); in MiniYARNCluster()
178 targetPath, shexec.getOutput()), e); in MiniYARNCluster()
/dports/games/ponscripter-07th-mod/ponscripter-fork-3.0.0/src/
H A DPonscripterLabel.cpp1208 SHELLEXECUTE shexec = in init() local
1210 if (shexec) { in init()
1211 shexec(NULL, "open", "", NULL, NULL, SW_SHOWNORMAL); in init()
1212 shexec(NULL, "open", (const char *)script_h.save_path, in init()
1215 shexec(NULL, "open", hpath, NULL, NULL, SW_SHOWNORMAL); in init()
/dports/lang/munger/munger-5.12/
H A Dlisp.h623 FUNC( shexec );

12