https://projects.ecoinformatics.org/ecoinfo/https://projects.ecoinformatics.org/ecoinfo/ecoinfo/favicon.ico?14691340362014-04-22T20:30:28ZEcoinformatics RedmineMetacat - Bug #6520: Metacat indexing the resource map prior to metadata documenthttps://projects.ecoinformatics.org/ecoinfo/issues/6520?journal_id=216702014-04-22T20:30:28ZJing Taotao@nceas.ucsb.edu
<ul><li><strong>Subject</strong> changed from <i>Remote server indexing the resource map prior to metadata document</i> to <i>Metacat indexing the resource map prior to metadata document</i></li></ul><p>Actually, the localhost has the same error:<br />[ERROR]: Solr index doesn't have the information about the id tao.13010.1 which is a component in the resource map resourceMap_tao.13010.1. Metacat-Index can't process the resource map prior to its components. [edu.ucsb.nceas.metacat.index.SolrIndex]<br />edu.ucsb.nceas.metacat.index.resourcemap.ResourceMapException: Solr index doesn't have the information about the id tao.13010.1 which is a component in the resource map resourceMap_tao.13010.1. Metacat-Index can't process the resource map prior to its components.<br /> at edu.ucsb.nceas.metacat.index.resourcemap.ResourceMapSubprocessor.getSolrDocs(ResourceMapSubprocessor.java:118)<br /> at edu.ucsb.nceas.metacat.index.resourcemap.ResourceMapSubprocessor.processResourceMap(ResourceMapSubprocessor.java:95)<br /> at edu.ucsb.nceas.metacat.index.resourcemap.ResourceMapSubprocessor.processDocument(ResourceMapSubprocessor.java:81)<br /> at edu.ucsb.nceas.metacat.index.SolrIndex.process(SolrIndex.java:216)<br /> at edu.ucsb.nceas.metacat.index.SolrIndex.insert(SolrIndex.java:364)<br /> at edu.ucsb.nceas.metacat.index.SolrIndex.update(SolrIndex.java:557)<br /> at edu.ucsb.nceas.metacat.index.SolrIndex.update(SolrIndex.java:514)<br /> at edu.ucsb.nceas.metacat.index.SystemMetadataEventListener.entryUpdated(SystemMetadataEventListener.java:146)<br /> at edu.ucsb.nceas.metacat.index.SystemMetadataEventListener.entryAdded(SystemMetadataEventListener.java:119)<br /> at com.hazelcast.client.impl.EntryListenerManager.notifyListeners(EntryListenerManager.java:148)<br /> at com.hazelcast.client.impl.EntryListenerManager.notifyListeners(EntryListenerManager.java:130)<br /> at com.hazelcast.client.impl.ListenerManager.customRun(ListenerManager.java:88)<br /> at com.hazelcast.client.ClientRunnable.run(ClientRunnable.java:30)<br /> at java.lang.Thread.run(Thread.java:744)</p> Metacat - Bug #6520: Metacat indexing the resource map prior to metadata documenthttps://projects.ecoinformatics.org/ecoinfo/issues/6520?journal_id=216712014-04-22T20:31:27ZJing Taotao@nceas.ucsb.edu
<ul></ul><p>I also saw the error when i used morpho 1.10 to insert a package with data:<br />[ERROR]: org.apache.solr.common.SolrException: org.apache.lucene.queryParser.ParseException: Cannot parse 'resourceMap:*+id:"tao.13010.1"': Encountered " ":" ": "" at line 1, column 16.<br />Was expecting one of:<br /> <EOF> <br /> <AND> ...<br /> <OR> ...<br /> <NOT> ...<br /> "+" ...<br /> "-" ...<br /> "(" ...<br /> "*" ...<br /> "^" ...<br /> <QUOTED> ...<br /> <TERM> ...<br /> <FUZZY_SLOP> ...<br /> <PREFIXTERM> ...<br /> <WILDTERM> ...<br /> "[" ...<br /> "{" ...<br /> <NUMBER> ...</p>
<pre><code>at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:105)<br /> at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:173)<br /> at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129)<br /> at org.apache.solr.core.SolrCore.execute(SolrCore.java:1368)<br /> at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:140)<br /> at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)<br /> at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)<br /> at edu.ucsb.nceas.metacat.common.query.EmbeddedSolrQueryService.query(EmbeddedSolrQueryService.java:122)<br /> at edu.ucsb.nceas.metacat.common.query.SolrQueryServiceController.query(SolrQueryServiceController.java:110)<br /> at edu.ucsb.nceas.metacat.index.MetacatSolrIndex.query(MetacatSolrIndex.java:135)<br /> at edu.ucsb.nceas.metacat.dataone.MNodeService.query(MNodeService.java:1631)<br /> at edu.ucsb.nceas.metacat.dataone.MNodeService.lookupOreFor(MNodeService.java:1856)<br /> at edu.ucsb.nceas.metacat.dataone.SystemMetadataFactory.oreExistsFor(SystemMetadataFactory.java:617)<br /> at edu.ucsb.nceas.metacat.dataone.SystemMetadataFactory.createSystemMetadata(SystemMetadataFactory.java:524)<br /> at edu.ucsb.nceas.metacat.MetacatHandler.handleInsertOrUpdateAction(MetacatHandler.java:1843)<br /> at edu.ucsb.nceas.metacat.MetaCatServlet.handleGetOrPost(MetaCatServlet.java:906)<br /> at edu.ucsb.nceas.metacat.MetaCatServlet.doPost(MetaCatServlet.java:503)<br /> at javax.servlet.http.HttpServlet.service(HttpServlet.java:641)<br /> at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)<br /> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)<br /> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)<br /> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)<br /> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)<br /> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)<br /> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)<br /> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)<br /> at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)<br /> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)<br /> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)<br /> at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:200)<br /> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)<br /> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:307)<br /> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)<br /> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)<br /> at java.lang.Thread.run(Thread.java:744)</code></pre> Metacat - Bug #6520: Metacat indexing the resource map prior to metadata documenthttps://projects.ecoinformatics.org/ecoinfo/issues/6520?journal_id=216762014-04-22T22:39:50Zben leinfelderleinfelder@nceas.ucsb.edu
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>Assignee</strong> set to <i>ben leinfelder</i></li><li><strong>Target version</strong> set to <i>2.5.0</i></li></ul><p>Now we will submit the ORE for indexing after we are sure the metadata document has been indexed.</p> Metacat - Bug #6520: Metacat indexing the resource map prior to metadata documenthttps://projects.ecoinformatics.org/ecoinfo/issues/6520?journal_id=216802014-04-23T17:45:00Zben leinfelderleinfelder@nceas.ucsb.edu
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Closed</i></li></ul><p>Tested package upload from Morpho and the resourceMap was successfully indexed.</p> Metacat - Bug #6520: Metacat indexing the resource map prior to metadata documenthttps://projects.ecoinformatics.org/ecoinfo/issues/6520?journal_id=218342014-11-13T23:24:37Zben leinfelderleinfelder@nceas.ucsb.edu
<ul><li><strong>Target version</strong> changed from <i>2.5.0</i> to <i>2.4.2</i></li></ul>