Project

General

Profile

Actions

Bug #6520

closed

Metacat indexing the resource map prior to metadata document

Added by Jing Tao almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
04/17/2014
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:

Description

When I tested the metacat replication, I got the error in the remote server when i used morpho 1.10 or online registry to insert a package with data file to the local metacat:

metacat-index 20140417-15:11:18: [ERROR]: Solr index doesn't have the information about the id tao.13007.1 which is a component in the resource map resourceMap_tao.13007.1. Metacat-Index can't process the resource map prior to its components. [edu.ucsb.nceas.metacat.index.SolrIndex]
edu.ucsb.nceas.metacat.index.resourcemap.ResourceMapException: Solr index doesn't have the information about the id tao.13007.1 which is a component in the resource map resourceMap_tao.13007.1. Metacat-Index can't process the resource map prior to its components.
at edu.ucsb.nceas.metacat.index.resourcemap.ResourceMapSubprocessor.getSolrDocs(ResourceMapSubprocessor.java:118)
at edu.ucsb.nceas.metacat.index.resourcemap.ResourceMapSubprocessor.processResourceMap(ResourceMapSubprocessor.java:95)
at edu.ucsb.nceas.metacat.index.resourcemap.ResourceMapSubprocessor.processDocument(ResourceMapSubprocessor.java:81)
at edu.ucsb.nceas.metacat.index.SolrIndex.process(SolrIndex.java:216)
at edu.ucsb.nceas.metacat.index.SolrIndex.insert(SolrIndex.java:364)
at edu.ucsb.nceas.metacat.index.SolrIndex.update(SolrIndex.java:557)
at edu.ucsb.nceas.metacat.index.SolrIndex.update(SolrIndex.java:514)
at edu.ucsb.nceas.metacat.index.SystemMetadataEventListener.entryUpdated(SystemMetadataEventListener.java:146)
at edu.ucsb.nceas.metacat.index.SystemMetadataEventListener.entryAdded(SystemMetadataEventListener.java:119)
at com.hazelcast.client.impl.EntryListenerManager.notifyListeners(EntryListenerManager.java:148)
at com.hazelcast.client.impl.EntryListenerManager.notifyListeners(EntryListenerManager.java:130)
at com.hazelcast.client.impl.ListenerManager.customRun(ListenerManager.java:88)
at com.hazelcast.client.ClientRunnable.run(ClientRunnable.java:30)
at java.lang.Thread.run(Thread.java:744)

But the in the local host, the solr index worked fine.

Actions

Also available in: Atom PDF