Member since
01-19-2017
75
Posts
4
Kudos Received
8
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
5410 | 02-25-2018 09:38 PM | |
6205 | 10-25-2017 06:38 AM | |
2749 | 09-15-2017 02:54 AM | |
3360 | 09-15-2017 02:51 AM | |
2669 | 08-01-2017 12:35 AM |
09-14-2017
07:44 PM
Hi All, Recently I faced a issue of indexing and searching a data from the collection. So went to see the schema.xml file from the solr admin console and noticied that the schema.xml has been changed and it was another collection schema.xml it showing in the admin console for the collection. I was really shocked and i really dont know how it was happened. And fortunatly data is not deleted. kindly help to revert back the schema.xml of that collection and make the collection querable and indexable. Please help me since it is very urgent Thanks in advance.
... View more
Labels:
- Labels:
-
Apache Solr
09-14-2017
07:41 AM
Please help me its very urgent!! After 2 months I am getting following error when querying the collection from the solr admin console.. { "responseHeader": { "status": 500, "QTime": 139, "params": { "indent": "true", "q": "*:*", "_": "1505399817473", "wt": "json" } }, "error": { "trace": "java.lang.NullPointerException\n\tat org.apache.solr.handler.component.QueryComponent.mergeIds(QueryComponent.java:1035)\n\tat org.apache.solr.handler.component.QueryComponent.handleRegularResponses(QueryComponent.java:716)\n\tat org.apache.solr.handler.component.QueryComponent.handleResponses(QueryComponent.java:695)\n\tat org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:324)\n\tat org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)\n\tat org.apache.solr.core.SolrCore.execute(SolrCore.java:1995)\n\tat org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:818)\n\tat org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:422)\n\tat org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:211)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\n\tat org.apache.solr.servlet.SolrHadoopAuthenticationFilter$2.doFilter(SolrHadoopAuthenticationFilter.java:288)\n\tat org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:592)\n\tat org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationFilter.doFilter(DelegationTokenAuthenticationFilter.java:291)\n\tat org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:555)\n\tat org.apache.solr.servlet.SolrHadoopAuthenticationFilter.doFilter(SolrHadoopAuthenticationFilter.java:293)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\n\tat org.apache.solr.servlet.HostnameFilter.doFilter(HostnameFilter.java:86)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)\n\tat org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)\n\tat org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:620)\n\tat org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)\n\tat java.lang.Thread.run(Thread.java:745)\n", "code": 500 } }
... View more
Labels:
- Labels:
-
Apache Solr
08-01-2017
12:35 AM
Following blog helped me to setup disaster recovery for solr https://blog.cloudera.com/blog/2017/05/how-to-backup-and-disaster-recovery-for-apache-solr-part-i/
... View more
07-28-2017
05:40 AM
Is that Solr providing any option to write all the user search queries into files. I have to log only queries run by users so that I can process on then to know what users is searching I want to take all user request query to build a report.
... View more
Labels:
- Labels:
-
Apache Solr
07-24-2017
02:08 AM
Problem has been solved. the mistake is mine,previously i have given wrong driver name and url for oracle connection. I have corrected and it successully imported data from oracle.
... View more
07-24-2017
12:44 AM
I have copied the ojdbc6.jar to the path /opt/cloudera/parcels/CDH/lib/solr/ in all 5 nodes. still getting the problem in the SolrCore Initialization Failures error in the solr admin page and also it didn't listing the created collection core in the admin page. Error: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: RequestHandler init failure
... View more
07-24-2017
12:10 AM
Yuexin Zhang thank you for your reply Your solution partially solved my problem. now the collection are created with the below error in the solrAdmin console. org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: RequestHandler init failure Solrconfig xml: <requestHandler name="/dataimport" class="org.apache.solr.handler.dataimport.DataImportHandler"> <lst name="defaults"> <str name="config">db-data-config.xml</str> </lst> </requestHandler> I feel like it expected the ojdbc.jar in the classpath. Since I have 5 nodes cluster should i need to copy the ojdbc.jar in all the node of the folder /opt/cloudera/parcels/CDH/lib/solr/
... View more
07-23-2017
11:42 PM
CDH version : 5.9.2 solr version : 4.10.3 I am trying to import Oracle table data to the Solrcloud. I am getting the error when creating the collection with the below command solrctl --zk ${ZOOKEEPER_CONNECT} collection --create xxxx -s 2 Trace: Caused by: java.lang.ClassNotFoundException: org.apache.solr.handler.dataimport.DataImportHandler so I created the lib folder inside my core instantdir like instantDir/lib and copied jar from the parcel folder /data/opt/cloudera/parcels/CDH-5.9.2-1.cdh5.9.2.p0.3/jars/solr-dataimportandler*.jar But it does not consider those folder jars when i again try to create the collection getting same error. In solrconfig.xml i have below entry for lib tag: <lib dir="../lib" /> when i check the solr server log i can see few warns 2017-07-24 08:15:31,421 WARN org.apache.solr.core.SolrResourceLoader: Can't find (or read) directory to add to classloader: ../lib (resolved as: /var/lib/solr/xxxx_shard1_replica1/../lib). From my understanding the folder xxxx_shard1_replica1 must be created once the collection are successfully created. But I don't why it is refering it that folder and throwing the error.
... View more
Labels:
- Labels:
-
Apache Solr
07-16-2017
10:34 PM
@saranvisa Thank you very much for your reply. Yes, the links are pointing to the old CDH version Hive. And also I found like all the files inside the alternatives are pointing to Old versions CDH (5.4.8 ). is there any way to change all the links are pointing to the new CDH version in a single attempt. And also I like to know the cause of this Issue. Thank you, J.Ganesh Kumar.
... View more
07-13-2017
10:47 PM
Recently I upgraded my CDH from 5.4.8 to 5.9.2 . The installation was Successfully. When I entered into Hive CLI and Beeline I seen like it refereing old 5.4.8 parcels Beeline CLI and HIVE CLI. Could you please check me to fix this issue.
... View more
Labels:
- Labels:
-
Apache Hive
- « Previous
- Next »