You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Don Bosco Durai (JIRA)" <ji...@apache.org> on 2015/11/13 18:31:10 UTC

[jira] [Updated] (RANGER-728) Update Solr script to resolve issues with ZK and creating collection

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

Don Bosco Durai updated RANGER-728:
-----------------------------------
    Description: 
I found few issues with the script creating Solr for Ranger.

1. If there are multiple hosts given in the ZK hosts, then it create ZK node fails
2. We should use bin/solr create_collection command to create the collection. Currently we are using curl command
3. Currently we are passing all argument via command line. It might be better to customize solr.in.sh and use it while calling bin/solr
4. Provide wrapper "solr" script to include SOLR_INCLUDE before calling bin/solr
5. Update documentation to make the setup more clear


  was:
I found a few issues with the script creating Solr for Ranger.

1. If there are multiple hosts given in the ZK hosts, then it create ZK node fails
2. We should use bin/solr create_collection command to create the collection. Currently we are using curl command
3. Currently we are passing all argument via command line. It might be better to customize solr.in.sh and use it while calling bin/solr
4. Provide wrapper "solr" script to include SOLR_INCLUDE before calling bin/solr
5. Update documentation to make the setup more clear



> Update Solr script to resolve issues with ZK and creating collection
> --------------------------------------------------------------------
>
>                 Key: RANGER-728
>                 URL: https://issues.apache.org/jira/browse/RANGER-728
>             Project: Ranger
>          Issue Type: Bug
>    Affects Versions: 0.5.0
>            Reporter: Don Bosco Durai
>            Assignee: Don Bosco Durai
>
> I found few issues with the script creating Solr for Ranger.
> 1. If there are multiple hosts given in the ZK hosts, then it create ZK node fails
> 2. We should use bin/solr create_collection command to create the collection. Currently we are using curl command
> 3. Currently we are passing all argument via command line. It might be better to customize solr.in.sh and use it while calling bin/solr
> 4. Provide wrapper "solr" script to include SOLR_INCLUDE before calling bin/solr
> 5. Update documentation to make the setup more clear



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