Question about "No registered leader" error

2019-09-17 Thread Hongxu Ma
Hi all I got an error when I was doing index operation: "2019-09-18 02:35:44.427244 ... No registered leader was found after waiting for 4000ms , collection: foo slice: shard2" Beside it, there is no other error in solr log. Collection foo have 2 shards, then I check their jvm gc log: *

Re: Why I receive permission denied when running as root

2019-09-17 Thread Erick Erickson
What it looks like is that execute permissions aren't set on bin/solr, have you checked that? Best, Erick On Tue, Sep 17, 2019 at 10:40 AM Shawn Heisey wrote: > > On 9/16/2019 9:06 PM, Raymond Xie wrote: > > [root@pocnnr1n1 solr]# bin/solr start > > -bash: bin/solr: Permission denied > > The

Re: Unable to Create Collection on Solr Cloud 7.7.1

2019-09-17 Thread Shawn Heisey
On 9/17/2019 6:16 AM, iporritt wrote: I am trying to create a collection on Solr Cloud. I have firstly uploaded SolrConfig.xml and Schema.xml to Zookeeper. HTTP ERROR 500 \nProblem accessing /solr/admin/cores. Reason:\nServer Error Caused by: java.lang.NoClassDefFoundError:

Re: Why I receive permission denied when running as root

2019-09-17 Thread Shawn Heisey
On 9/16/2019 9:06 PM, Raymond Xie wrote: [root@pocnnr1n1 solr]# bin/solr start -bash: bin/solr: Permission denied The first thing I'd check for this is whether the bin/solr script has execute permission. A lack of execute permissions can cause this problem. The first line of that script is

Exception with cross-collection join query

2019-09-17 Thread Christof Lorenz
This has worked previously (solr 4.8) and does not work in solr 7.4. Fist query returns with proper result but index stops working from then on until restart. 13:43:02.573 [https-jsse-nio-8081-exec-6] ERROR org.apache.solr.core.SolrCore - Too many close [count:-1] on

Re: Is shard split operation multithreaded?

2019-09-17 Thread Antczak, Lukasz
Hi, that's exactly what I needed to confirm. Thanks also for pointing to Solr code. Regards Łukasz On Tue, Sep 17, 2019 at 10:23 AM Andrzej Białecki wrote: > If I understand your question correctly .. it’s single-threaded with > regard to a specific shard - but you can run multiple shard

Re: Why I receive permission denied when running as root

2019-09-17 Thread Raymond Xie
Thank you Paras for your reply, yes I downloaded src, after re-download the binary, it is working as expected here. ** *Sincerely yours,* *Raymond* On Tue, Sep 17, 2019 at 9:26 AM Paras Lehana wrote: > Hi Raymond, > > ERROR: start.jar file not

Re: Why I receive permission denied when running as root

2019-09-17 Thread Paras Lehana
Hi Raymond, ERROR: start.jar file not found in /opt/solr-8.2.0/solr/server! > You had probably downloaded the source version. *Download the binary one* ( TGZ or ZIP

Re: Why I receive permission denied when running as root

2019-09-17 Thread Raymond Xie
Thank you Paras: If I am already user of root, and still run sudo? no, it doesn't work: [root@pocnnr1n1 solr]# sudo bin/solr start -force sudo: bin/solr: command not found [root@pocnnr1n1 solr]# ls -l bin/solr -rw-r--r-- 1 root root 80630 Jul 19 09:09 bin/solr So, I followed your suggestion and

Re: Why I receive permission denied when running as root

2019-09-17 Thread Paras Lehana
Hey Raymond, bin/solr start -force I know this could be useless, but did you try the following (notice the sudo)? *sudo* bin/solr start -force Also, I suggest you to review permission of solr file by: ls -l bin/solr If you don't see required executable permissions, you can provide root

Re: Why I receive permission denied when running as root

2019-09-17 Thread Jost Baron
Maybe the execute permission is missing on bin/solr? Try `chmod a+x bin/solr` (this gives *all* users execute permission for bin/solr). On 17.09.19 14:33, Raymond Xie wrote: > Thank you. > > As I suspected, this is something else. It prompts me the same error here: > [root@pocnnr1n1 solr]#

Re: Why I receive permission denied when running as root

2019-09-17 Thread Raymond Xie
Thank you. As I suspected, this is something else. It prompts me the same error here: [root@pocnnr1n1 solr]# bin/solr start -force -bash: bin/solr: Permission denied [root@pocnnr1n1 solr]# It is not a good practice to use root directly, however, using root should not have permission error. This

Unable to Create Collection on Solr Cloud 7.7.1

2019-09-17 Thread iporritt
I am trying to create a collection on Solr Cloud. I have firstly uploaded SolrConfig.xml and Schema.xml to Zookeeper. The SolrConfig.XML is as follows: 7.7.1 ${solr.data.dir:}

Re: HDFS Shard Split

2019-09-17 Thread Andrzej Białecki
SplitShardCmd assumes that its main phase (when the Lucene index is being split) always executes on the local file system of the shard leader, and indeed the ShardSplitCmd.checkDiskSpace() checks the local file system’s free disk space - even though in reality in your case the actual data is

Re: Is shard split operation multithreaded?

2019-09-17 Thread Andrzej Białecki
If I understand your question correctly .. it’s single-threaded with regard to a specific shard - but you can run multiple shard splitting operations in parallel IFF they affect different shards (or different collections). See SplitShardCmd for the details of locking and how the new sub-shards

Is shard split operation multithreaded?

2019-09-17 Thread Antczak, Lukasz
Hello, I have short question to Solr experts. Is shard split operation single- or multi- threaded? Regards Łukasz Antczak -- *Łukasz Antczak* Senior IT Professional GS Data Frontiers Team *Planned absences:* *11th August - 18th August* *26th August - 1st September*