You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Jun He (JIRA)" <ji...@apache.org> on 2017/10/17 05:30:00 UTC
[jira] [Created] (BIGTOP-2906) Failed to start solr-server service
using bigtop-deploy
Jun He created BIGTOP-2906:
------------------------------
Summary: Failed to start solr-server service using bigtop-deploy
Key: BIGTOP-2906
URL: https://issues.apache.org/jira/browse/BIGTOP-2906
Project: Bigtop
Issue Type: Bug
Components: solr, tests
Affects Versions: 1.2.0
Reporter: Jun He
Assignee: Jun He
In Solr smoke test the solr-server service is always failed to start with following logs:
================================================
Notice: /Stage[main]/Solr::Server/Package[solr-server]/ensure: ensure changed 'purged' to 'latest'
Notice: /Stage[main]/Solr::Server/File[/etc/default/solr]/content: content changed '{md5}5c4ff9c29a1c173ed1b82efac0cc63d8' to '{md5}852d2cc2b65451471017f4a448200db0'
Notice: /Stage[main]/Solr::Server/Exec[solr init]/returns: Error: failed to initialize Solr
Error: /bin/bash -c '/usr/bin/solrctl debug-dump | grep -q solr.xml || /usr/bin/solrctl init' returned 1 instead of one of [0]
Error: /Stage[main]/Solr::Server/Exec[solr init]/returns: change from notrun to 0 failed: /bin/bash -c '/usr/bin/solrctl debug-dump | grep -q solr.xml || /usr/bin/solrctl init' returned 1 instead of one of [0]
Notice: /Stage[main]/Solr::Server/Exec[solr init]/returns: Error: failed to initialize Solr
================================================
'/usr/bin/solrctl init' returned 1 because solr is configured to run in cloud mode which requires zookeeper service. But at that point zookeeper service is not up. So solr-server is failed to start which leads to later smoke test failure.
Solution:
Add zookeeper service to solr-server's dependency list
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)