You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "Lucas Alberto Santos (JIRA)" <ji...@apache.org> on 2016/08/02 18:23:20 UTC

[jira] [Updated] (BIGTOP-2509) Path error in bigtop-packages/src/common/solr/tomcat-deployment.sh

     [ https://issues.apache.org/jira/browse/BIGTOP-2509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lucas Alberto Santos updated BIGTOP-2509:
-----------------------------------------
    Description: 
From Release 1.1.0, i found a error in the Solr deployment script: bigtop-packages/src/common/solr/tomcat-deployment.sh 

There is a incorrect path, the error line is:
cp -r ${SOLR_HOME}/webapps ${TOMCAT_DEPLOYMENT}/webapps

To fix the webapps path error, change the line to:
cp -r ${SOLR_HOME}/server/webapps ${TOMCAT_DEPLOYMENT}/webapps


  was:
Today I was trying out the Solr 4.9 from the 0.8.0 RC, and it looks like some paths have changed.  In /usr/lib/solr/tomcat-deployment.sh there are two lines:

cp -r ${SOLR_HOME}/webapps ${TOMCAT_DEPLOYMENT}/webapps
cp -r ${TOMCAT_CONF}/WEB-INF/* ${TOMCAT_DEPLOYMENT}/webapps/solr/WEB-INF/

I found that to actually get a working Solr setup, I needed to change
these two lines to:

cp -r ${SOLR_HOME}/server/webapps ${TOMCAT_DEPLOYMENT}/webapps
cp -r ${SOLR_HOME}/server/webapps/solr/WEB-INF/* ${TOMCAT_DEPLOYMENT}/webapps/solr/WEB-INF/




> Path error in bigtop-packages/src/common/solr/tomcat-deployment.sh
> ------------------------------------------------------------------
>
>                 Key: BIGTOP-2509
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-2509
>             Project: Bigtop
>          Issue Type: Bug
>          Components: solr
>    Affects Versions: 1.1.0
>            Reporter: Lucas Alberto Santos
>            Assignee: Roman Shaposhnik
>              Labels: releasenotes
>             Fix For: 1.2.0
>
>
> From Release 1.1.0, i found a error in the Solr deployment script: bigtop-packages/src/common/solr/tomcat-deployment.sh 
> There is a incorrect path, the error line is:
> cp -r ${SOLR_HOME}/webapps ${TOMCAT_DEPLOYMENT}/webapps
> To fix the webapps path error, change the line to:
> cp -r ${SOLR_HOME}/server/webapps ${TOMCAT_DEPLOYMENT}/webapps



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