Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 7 lines (7 sloc) 362 Bytes
#!/bin/bash
export HADOOP_HOME=/opt/hadoop-3.0.3
FILE=$1
while read line; do
echo "$line"
python3.5 /opt/webarchive-indexing/IndexArcs.py -r hadoop /opt/webarchive-indexing/arcsList/"$line"_ARCS.txt --step-num=1 --output-dir hdfs:///user/root/"$line" --no-output --jobconf mapred.job.name="$line" --python-bin /usr/local/bin/python3.5 &
done < $FILE
You can’t perform that action at this time.