[
https://issues.apache.org/jira/browse/BIGTOP-1736?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14366298#comment-14366298
]
Sean Mackrory commented on BIGTOP-1736:
---------------------------------------
So on second thought, the problems I found installing packages myself, etc.
don't explain the problem you saw on puppet. After installing the Solr package
I'm able to run that command with no problem (even without the configuration
files set up, it logs warnings but still exists with 0 status) so I need to
take a closer look at what puppet's doing, exactly. I hadn't tried your Vagrant
deployment yet but I'd like to, but I'm running into issues with the repo. Even
with everything built locally and enable_local_repo set to true, it can never
find hadoop-mapreduce packages. With enable_local_repo set to false, I tried
the following values for repo and it still never found hadoop packages.
{code}
http://bigtop.s3.amazonaws.com/releases/0.7.0/redhat/6/x86_64
http://bigtop.s3.amazonaws.com/releases/0.8.0/redhat/6/x86_64
http://bigtop01.cloudera.org:8080/view/Releases/job/Bigtop-0.8.0/label=centos6/6/artifact/output/
{code}
Do you have a recommended value for repo? How exactly are you running puppet
when you hit this issue?
> Determine why SOLRCTL fails and add error messages to puppet.
> -------------------------------------------------------------
>
> Key: BIGTOP-1736
> URL: https://issues.apache.org/jira/browse/BIGTOP-1736
> Project: Bigtop
> Issue Type: Bug
> Components: solr
> Reporter: jay vyas
> Assignee: Sean Mackrory
>
> I tried testing solr spin up in bigtop.
> I noticed two things.
> 1) Zookeeper wasn't running when it attempted to do the solr setup/apply. I
> assume this is a bug, because, solrcloud reallly needs ZK from what i
> understand.
> 2) There is a cryptic error message... the below puppet logs show it is
> trying to run **init** on {{solrctl}} . Its not immediately clear why it
> fails. lets make puppet report the error better.
> {noformat}
> ==> bigtop1: Error: /bin/bash -c '/usr/bin/solrctl debug-dump | grep -q
> solr.xml || /usr/bin/solrctl init' returned 1 instead of one of [0]
> ==> bigtop1: 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
> sol
> r.xml || /usr/bin/solrctl init' returned 1 instead of one of [0]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)