Changeset 31184

Show
Ignore:
Timestamp:
08.12.2016 09:21:25 (3 years ago)
Author:
davidb
Message:

New provision to run different main classes in _RUN.sh; New top-level script for white list generation

Location:
other-projects/hathitrust/wcsa/extracted-features-solr/trunk/solr-ingest/scripts
Files:
1 added
1 modified

Legend:

Unmodified
Added
Removed
  • other-projects/hathitrust/wcsa/extracted-features-solr/trunk/solr-ingest/scripts/_RUN.sh

    r31093 r31184  
    7575  fi 
    7676fi 
    77      
     77 
     78if [ "x$classmain" = "x" ] ; then 
     79    classmain="org.hathitrust.extractedfeatures.ProcessForSolrIngest" 
     80fi     
     81 
    7882self_contained_jar=target/htrc-ef-ingest-0.9-jar-with-dependencies.jar 
    79 cmd="spark-submit --class org.hathitrust.extractedfeatures.ProcessForSolrIngest $master_opt $self_contained_jar" 
     83cmd="spark-submit --class $classmain $master_opt $self_contained_jar" 
    8084 
    8185if [ "x$solr_url" != "x" ] ; then