Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Error navigator with maxBooleanClauses

Error navigator with maxBooleanClauses

Contributor

Hi,

 

I have a cluster (CDH 5.1.2) with Navigator Service active.

 

In Diagnostics -> Events I have different error as the following one:

 

LOG_MESSAGE 
CLUSTER cluster 
EXCEPTION_TYPES org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException 
LOG_LEVEL ERROR 
ROLE   navigatormetaserver
ROLE_TYPE     NAVIGATORMETASERVER 

CRITICAL  org.apache.solr.common.SolrException: org.apache.solr.search.SyntaxError: Cannot parse 'type:PARENT_CHILD AND endpoint1Ids:(70b5e27f1aaa7a4af466f97ba331cf90 OR 10c0aaabf2556ba759805e0dee224fa2 OR 1f30e0aaaa82a4113b46cd56b7f42ea5 OR cd833f3aaa1e4acb17a90bc7bcaa5b9e OR 3b4cbabdaaa30ba26c9c0b08ae00205 OR ac88baaac6a5f13cf9f106f15b60503cc OR bb1cb03f3a35aaab9ff5561c957c50c0 OR 456feb231d37aaa1360e095cb2f05b1e OR ff2c267e4aaa7fadba239ace699387b8 OR 2c17c4030495faaabbed8c532b6cc14 OR 9b8d38628aaaa900e076a707ba69c08 OR 3e1e671dedaaaad980bd37b250b6acf OR 670ec37ad5e0b5aaa0bb9022d3f28f03b OR 81043e8d350f5aaa13364556eb9a992 OR 472a83ef68eaaa874d28adc828916e OR ab6aad6fb88aaa16d7b6ae1988ca8 OR 
... aaafe764809)': too many boolean clauses
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:491)
at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:197)
at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:90)
at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:310)
at com.cloudera.nav.persist.AbstractSolrManager.query(AbstractSolrManager.java:266)
at com.cloudera.nav.persist.impl.RelationManagerImpl.query(RelationManagerImpl.java:174)
at com.cloudera.nav.persist.impl.OozieLinker.gatherInstanceOfRelationsForEntities(OozieLinker.java:147)
at com.cloudera.nav.persist.impl.OozieLinker.gatherInstanceOfRelations(OozieLinker.java:126)
at com.cloudera.nav.persist.impl.OozieLinker.updateRelations(OozieLinker.java:108)
at com.cloudera.nav.persist.impl.AbstractLinker.updateEpIds(AbstractLinker.java:108)
at com.cloudera.nav.persist.impl.AbstractLinker.updateEp1Ids(AbstractLinker.java:82)
at com.cloudera.nav.persist.impl.AbstractLinker.link(AbstractLinker.java:42)
at com.cloudera.nav.persist.impl.CompositeLinker.link(CompositeLinker.java:75)
at com.cloudera.nav.extract.AbstractCmExtractorFactory$1.run(AbstractCmExtractorFactory.java:65)
at com.cloudera.cmf.cdhclient.CdhExecutor$RunnableWrapper.call(CdhExecutor.java:208)
at com.cloudera.cmf.cdhclient.CdhExecutor$RunnableWrapper.call(CdhExecutor.java:198)
at com.cloudera.cmf.cdhclient.CdhExecutor$CallableWrapper.doWork(CdhExecutor.java:223)
at com.cloudera.cmf.cdhclient.CdhExecutor$1.call(CdhExecutor.java:118)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

 

 

I read from the CDH5-Security-Guide.pdf that it is possible to edit the maxBooleanClauses setting in solrconfig.xml.

 

How can I do this from the console of Cloudera Manager?

 

The parameter should be:

<maxBooleanClauses>2048</maxBooleanClauses>

 

Thanks

Alessio

 

 

Don't have an account?
Coming from Hortonworks? Activate your account here