You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "jay vyas (JIRA)" <ji...@apache.org> on 2015/03/08 10:32:38 UTC

[jira] [Updated] (BIGTOP-1736) Determine why SOLRCTL fails and add error messages to puppet.

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

jay vyas updated BIGTOP-1736:
-----------------------------
    Description: 
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}

  was:
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 code 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}


> 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
>
> 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)