Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102890647
list-running-jobs.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Feb 25, 06:13
Size
378 B
Mime Type
text/x-shellscript
Expires
Thu, Feb 27, 06:13 (2 d)
Engine
blob
Format
Raw Data
Handle
24450886
Attached To
R3704 elastic-yarn
list-running-jobs.sh
View Options
#!/bin/bash
[[
-z
$SCRIPT_CONFIG_PATH
]]
&&
echo
"SCRIPT_CONFIG_PATH not set!"
&&
exit
1
.
$SCRIPT_CONFIG_PATH
/config_nodes.sh
if
[
$#
==
2
]
&&
[
$2
==
"-c"
]
;
then
clush -w
$CLUSH_NODES
'ps ax | grep \"org.apache.hadoop.yarn.sls.SLSRunner\" | grep -v grep | wc -l'
else
clush -w
$CLUSH_NODES
'ps ax | grep \"org.apache.hadoop.yarn.sls.SLSRunner\" | grep -v grep'
fi
Event Timeline
Log In to Comment