davidchiu created SOLR-7946:
-------------------------------

             Summary: After Solr 5.0, The script(set-map-reduce-classpath.sh) 
of MapReduceIndexTool should be made a change.
                 Key: SOLR-7946
                 URL: https://issues.apache.org/jira/browse/SOLR-7946
             Project: Solr
          Issue Type: Bug
          Components: contrib - MapReduce
    Affects Versions: 5.2.1, 5.0
            Reporter: davidchiu
            Priority: Minor
             Fix For: 5.3


The original code as following:
[code]
if [ ! -d "$solr_distrib/example/solr-webapp/webapp" ]; then
   unzip -o $solr_distrib/example/webapps/solr.war -d 
$solr_distrib/example/solr-webapp/webapp
fi
....
dir7=`absPath "$solr_distrib/example/solr-webapp/webapp/WEB-INF/lib"`
[/code]

It should be  changed to as following:
[code]
if [ ! -d "$solr_distrib/server/solr-webapp/webapp" ]; then
   unzip -o $solr_distrib/server/webapps/solr.war -d 
$solr_distrib/server/solr-webapp/webapp
fi
....
dir7=`absPath "$solr_distrib/server/solr-webapp/webapp/WEB-INF/lib"`
[/code]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to