Re: How to configure Solr to use ZooKeeper ACLs in order to protect it's content

2015-03-20 Thread Dmitry Karanfilov
Hey Per, This is magic! Work like a charm! Thank you for trying reproduce this, for find the reason of issue, for step-by-step instruction and at all - for your time and help! I would never get it worked without your help! Regards, Dmitry

Re: How to configure Solr to use ZooKeeper ACLs in order to protect it's content

2015-03-20 Thread Per Steffensen
Sorry, I did not follow this mailing-list close enough to detect this question. But Dmitry mailed to me privately asking for help, so here I am Initial steps * mkdir solr-test * cd solr-test * Downloaded solr-5.0.0.zip and unzipped into solr-test folder, so that I have solr-test/solr-5.0.0 fold

Re: How to configure Solr to use ZooKeeper ACLs in order to protect it's content

2015-03-19 Thread Dmitry Karanfilov
Looks like it is still broken. The fixed name of system property zkCredentialsProvider and zkACLProvider are only impacted on the zkcli.sh script (org.apache.solr.cloud.ZkCLI). So using command bellow, I'm able to *bootstrap *and *upconfig *to the Zookeeper with appropriate credentials and ACLs:

Re: How to configure Solr to use ZooKeeper ACLs in order to protect it's content

2015-03-17 Thread Dmitry Karanfilov
Sorry, this is CORRECT: SOLR_ZK_PROVIDERS="-DzkCredentialsProvider=org.apache.solr.common.cloud.VMParamsSingleSetCredentialsDigestZkCredentialsProvider \ -DzkACLProvider=org.apache.solr.common.cloud.VMParamsAllAndReadonlyDigestZkACLProvider" SOLR_ZK_CREDS_AND_ACLS="-DzkDigestUsername=admin-user -D

Re: How to configure Solr to use ZooKeeper ACLs in order to protect it's content

2015-03-17 Thread Dmitry Karanfilov
I found the issue - it is in documentation: WRONG: SOLR_ZK_PROVIDERS="-DdefaultZkCredentialsProvider=org.apache.solr.common.cloud.VMParamsSingleSetCredentialsDigestZkCredentialsProvider \ -DdefaultZkACLProvider=org.apache.solr.common.cloud.VMParamsAllAndReadonlyDigestZkACLProvider" SOLR_ZK_CREDS_