Home
last modified time | relevance | path

Searched refs:procfsRootDir (Results 1 – 4 of 4) sorted by relevance

/dports/devel/hadoop/hadoop-1.2.1/src/test/org/apache/hadoop/util/
H A DTestProcfsBasedProcessTree.java273 setupProcfsRootDir(procfsRootDir); in testCpuAndMemoryForProcessTree()
274 setupPidDirs(procfsRootDir, pids); in testCpuAndMemoryForProcessTree()
328 FileUtil.fullyDelete(procfsRootDir); in testCpuAndMemoryForProcessTree()
345 setupProcfsRootDir(procfsRootDir); in testMemForOlderProcesses()
346 setupPidDirs(procfsRootDir, pids); in testMemForOlderProcesses()
433 FileUtil.fullyDelete(procfsRootDir); in testMemForOlderProcesses()
450 setupProcfsRootDir(procfsRootDir); in testProcessTreeDump()
451 setupPidDirs(procfsRootDir, pids); in testProcessTreeDump()
511 FileUtil.fullyDelete(procfsRootDir); in testProcessTreeDump()
523 if (procfsRootDir.exists()) { in setupProcfsRootDir()
[all …]
/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.java245 String procfsRootDir, Clock clock) { in createProcessTree() argument
404 setupProcfsRootDir(procfsRootDir); in testCpuAndMemoryForProcessTree()
405 setupPidDirs(procfsRootDir, pids); in testCpuAndMemoryForProcessTree()
511 FileUtil.fullyDelete(procfsRootDir); in testCpuAndMemoryForProcessTree()
548 setupProcfsRootDir(procfsRootDir); in testMemForOlderProcesses()
549 setupPidDirs(procfsRootDir, pids); in testMemForOlderProcesses()
753 FileUtil.fullyDelete(procfsRootDir); in testMemForOlderProcesses()
774 setupProcfsRootDir(procfsRootDir); in testDestroyProcessTree()
800 setupProcfsRootDir(procfsRootDir); in testProcessTreeDump()
801 setupPidDirs(procfsRootDir, pids); in testProcessTreeDump()
[all …]
/dports/devel/hadoop/hadoop-1.2.1/src/test/org/apache/hadoop/mapred/
H A DTestTaskTrackerMemoryManager.java405 File procfsRootDir = new File(TEST_ROOT_DIR, "proc"); in testProcessTreeLimits() local
408 TestProcfsBasedProcessTree.setupProcfsRootDir(procfsRootDir); in testProcessTreeLimits()
411 TestProcfsBasedProcessTree.setupPidDirs(procfsRootDir, pids); in testProcessTreeLimits()
435 TestProcfsBasedProcessTree.writeStatFiles(procfsRootDir, pids, procs); in testProcessTreeLimits()
448 procfsRootDir.getAbsolutePath()); in testProcessTreeLimits()
456 procfsRootDir.getAbsolutePath()); in testProcessTreeLimits()
469 procfsRootDir.getAbsolutePath()); in testProcessTreeLimits()
479 FileUtil.fullyDelete(procfsRootDir); in testProcessTreeLimits()
/dports/devel/hadoop2/hadoop-2.7.2-src/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/src/test/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/monitor/
H A DTestContainersMonitor.java105 File procfsRootDir = new File(localDir, "proc"); in testProcessTreeLimits() local
108 TestProcfsBasedProcessTree.setupProcfsRootDir(procfsRootDir); in testProcessTreeLimits()
111 TestProcfsBasedProcessTree.setupPidDirs(procfsRootDir, pids); in testProcessTreeLimits()
135 TestProcfsBasedProcessTree.writeStatFiles(procfsRootDir, pids, procs, null); in testProcessTreeLimits()
147 procfsRootDir.getAbsolutePath()); in testProcessTreeLimits()
155 procfsRootDir.getAbsolutePath()); in testProcessTreeLimits()
169 procfsRootDir.getAbsolutePath()); in testProcessTreeLimits()
179 FileUtil.fullyDelete(procfsRootDir); in testProcessTreeLimits()