- Timestamp:
- 2016-10-28T14:28:51+13:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
other-projects/hathitrust/solr-extracted-features/trunk/_RUN.bash
r30952 r30975 19 19 fi 20 20 21 if [ "x$output_dir" = "x" ] ; then22 echo "_RUN.bash: Failed to set 'output_dir'" 1>&223 exit24 fi21 #if [ "x$output_dir" = "x" ] ; then 22 # echo "_RUN.bash: Failed to set 'output_dir'" 1>&2 23 # exit 24 #fi 25 25 26 26 run_jps=0 … … 71 71 72 72 self_contained_jar=target/htrc-ef-ingest-0.9-jar-with-dependencies.jar 73 base_cmd="spark-submit --class org.hathitrust.PrepareForIngest $master_opt $self_contained_jar"73 cmd="spark-submit --class org.hathitrust.PrepareForIngest $master_opt $self_contained_jar" 74 74 75 cmd="$base_cmd --verbosity 1 $json_filelist $input_dir $output_dir $*" 75 if [ "x$solr_url" != "x" ] ; then 76 cmd="$cmd --solr-url $solr_url" 77 fi 78 79 if [ "x$output_dir" != "x" ] ; then 80 cmd="$cmd --output-dir $output_dir" 81 fi 82 83 84 cmd="$cmd --verbosity 1 $input_dir $json_filelist $*" 76 85 77 86 echo "****" … … 79 88 echo "* $cmd" 80 89 echo "****" 90 81 91 if [ "$run_jps" = "1" ] ; then 82 92 echo "* Monitor progress on Spark cluster through:"
Note:
See TracChangeset
for help on using the changeset viewer.