Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F120653494
install_jars.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
Sun, Jul 6, 00:34
Size
364 B
Mime Type
text/x-shellscript
Expires
Tue, Jul 8, 00:34 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
27179841
Attached To
R3704 elastic-yarn
install_jars.sh
View Options
#!/bin/bash
YARN_PATH="/HDD-2TB/YARN"
SCRIPTS_PATH="$YARN_PATH/scripts"
DEST_PATH=$YARN_PATH/$YARN_VERSION/hadoop-$YARN_VERSION
. $SCRIPTS_PATH/config/config_classpath.sh
cd $DEST_PATH
CLASSLIST=$(echo $CLASSLIST | tr -s ':' '\n')
for JAR in $CLASSLIST; do
DEST_FILE=$(find -name $(basename $JAR) | head -n 1)
cp $JAR $DEST_FILE
done
cd - &>/dev/null
Event Timeline
Log In to Comment