i have jar file has jar file parameter. problem want pass parameter on dependency jar file.
given below command:
hadoop jar /opt/lucidworks-hdpsearch/job/lucidworks-hadoop-job-2.0.3.jar com.lucidworks.hadoop.ingest.ingestjob -dlww.commit.on.close=true -dlw.tika.process=true -libjars /opt/lucidworks-hdpsearch/lib/solr-hadoop-tika-2.2.5.jar -cls com.lucidworks.hadoop.ingest.directoryingestmapper -c collection1 -i /user/solr/documents/test.pdf -of com.lucidworks.hadoop.io.lwmapredoutputformat -s http://localhost:8983/solr
i using hadoop solr connector use solr , index files hdfs. job requires lucidworks-hadoop-job-2.0.3.jar
. passing solr-hadoop-tika-2.2.5.jar
parameter jar because files have "rich" documents. need tika extract content of these documents.
tika default extracts both content , meta-data documents. not want meta-data in case. if using tika alone, this:
java -jar /opt/lucidworks-hdpsearch/lib/solr-hadoop-tika-2.2.5.jar -t /user/solr/documents/test.pdf
this extract content of document.
i want give -t
argument when using tika lucidworks-hadoop-job-2.0.3.jar
.
is there way can done?
Comments
Post a Comment