Member since
07-08-2013
7
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
3596 | 04-13-2014 10:21 PM |
04-16-2014
10:59 AM
> Still for a solr CLI tool to default back to '/' of the entire quorum, without any notice and clearing it with a --force is pretty scarry and not what you expect as an end user of a solr specific tool. I understand. However you are passing the "--force" option, which is really just meant for the case where you absolutely want to force the clearance (e.g. "rm -f /*" being a classic/similar case). W/o this option we would complain and tell you that if you really want to do this you need to use --force (given it might be dangerous, etc...). So the problem lies in what should we do to better handle this case. Requiring your to say "solrctl --force --really" or somesuch doesn't sound like it would be reasonable. Say you specify "/" in your --zk rather than "/solr" (or it's the default as in your case). One option is that we could refuse to make the change if we find znodes in "/" (in this case) that shouldn't belong. However that seems erorr prone and not a great solution (say it's not /hbase and rather something else, etc...). Say you have "/solr1" and "/solr2", the same issue would apply if you accidentally specified the wrong one with --force, etc... Any suggestions/ideas? I guess solrctl could prompt you interactively when you use --force: "solrctl is about to reinitialize '/solr' repository, accept?" or "solrctl is about to reinitialize "/" repository, accept?" in your case. but then non-interactive use might suffer (but then add a "-y" option or somesuch to compensate). This is the way I'm leaning at the moment.
... View more
04-13-2014
10:21 PM
Hi RobV. Are you using CM to manage the cluster or non-CM? I suspect that the "--zk" option is not being passed correctly, either on the command line or as setup in the default solr config (perhaps you switched hosts?). solrctl should be managing "/solr" in ZK, however it can be passed another root. If the root is not specified it will default to "/". At which point it might try to delete "/hbase" accidentally (cleanup). I'll enter a bug report for us to look at this. Re the overseer getting stuck, it sounds similar to this: http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH5/latest/CDH5-Release-Notes/cd5rn_fixed_in_50.html?scroll=concept_lm5_fgf_mn_unique_1#concept_lm5_fgf_mn_unique_1 I'll verify that we check the collection doesn't end with a "/" character. Regards, Patrick
... View more