AnsweredAssumed Answered

Nodes with no type are ignored by SOLR

Question asked by sharifu on Feb 5, 2013
Latest reply on Mar 12, 2013 by sharifu
I have just upgraded 2 servers from v 4.0d to 4.2.c

I got the following warning in the log files during upgrade process

WARNING: [SetContextPropertiesRule]{Context} Setting property 'debug' to '0' did not find a matching property.
2013-02-05 10:56:29,719  WARN  [solr.core.SolrCore] [localhost-startStop-1] [archive] Solr index directory '/opt/alfresco-4.2.c/alf_data/solr/archive/SpacesStore/index' doesn't exist. Creating new index…
2013-02-05 10:56:30,430  WARN  [handler.component.SpellCheckComponent] [localhost-startStop-1] No queryConverter defined, using default converter
2013-02-05 10:56:30,978  WARN  [solr.core.SolrCore] [localhost-startStop-1] [alfresco] Solr index directory '/opt/alfresco-4.2.c/alf_data/solr/workspace/SpacesStore/index' doesn't exist. Creating new index…
2013-02-05 10:56:31,042  WARN  [handler.component.SpellCheckComponent] [localhost-startStop-1] No queryConverter defined, using default converter
Feb 05, 2013 10:56:31 AM org.apache.catalina.startup.HostConfig deployWAR

2013-02-05 10:58:12,850  WARN  [domain.schema.SchemaBootstrap] [localhost-startStop-1] Schema validation found 14 potential problems, results written to: /opt/alfresco-4.2.c/tomcat/temp/Alfresco/Alfresco-MySQLInnoDBDialect-Validation-Pre-Upgrade-alf_-9242165369295910.txt
2013-02-05 10:58:12,957  WARN  [domain.schema.SchemaBootstrap] [localhost-startStop-1] Schema validation found 5 potential problems, results written to: /opt/alfresco-4.2.c/tomcat/temp/Alfresco/Alfresco-MySQLInnoDBDialect-Validation-Pre-Upgrade-avm_-5011767096017105226.txt
2013-02-05 10:58:13,305  WARN  [domain.schema.SchemaBootstrap] [localhost-startStop-1] Schema validation found 1 potential problems, results written to: /opt/alfresco-4.2.c/tomcat/temp/Alfresco/Alfresco-MySQLInnoDBDialect-Validation-Pre-Upgrade-jbpm_-349329466019641078.txt
2013-02-05 10:58:13,770  WARN  [domain.schema.SchemaBootstrap] [localhost-startStop-1] Schema validation found 30 potential problems, results written to: /opt/alfresco-4.2.c/tomcat/temp/Alfresco/Alfresco-MySQLInnoDBDialect-Validation-Pre-Upgrade-act_-8501286403509483570.txt

2013-02-05 11:00:47,728  WARN  [domain.schema.SchemaBootstrap] [localhost-startStop-1] Schema validation found 12 potential problems, results written to: /opt/alfresco-4.2.c/tomcat/temp/Alfresco/Alfresco-MySQLInnoDBDialect-Validation-Post-Upgrade-act_-8497788949077085730.txt


2013-02-05 11:13:12,242  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread1] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:12,349  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread1] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:12,349  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread1] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:32,175  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread5] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:32,176  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread5] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:32,977  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,006  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,006  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,058  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,081  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,081  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,169  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,195  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,195  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,252  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,310  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,310  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,352  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,380  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,380  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,440  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,459  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,459  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,477  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,495  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,495  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,520  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,565  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,565  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,780  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,802  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,802  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,849  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:33,849  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:34,383  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:34,383  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:34,423  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:34,424  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:34,817  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:35,642  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:35,655  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:35,667  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:35,675  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread4] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:37,557  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread1] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:37,576  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread1] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:37,576  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread1] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:39,319  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread3] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:39,319  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread3] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:39,381  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread3] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:39,381  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread3] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:39,389  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread3] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:39,402  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread3] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:39,402  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread3] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:41,706  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread1] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:13:51,767  INFO  [node.index.FullIndexRecoveryComponent] [localhost-startStop-1]    20 % complete.
2013-02-05 11:14:01,355  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread2] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:14:01,356  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread2] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:14:01,387  WARN  [repo.dictionary.DictionaryDAO] [indexTrackerThread2] Type not found: {sp.new.model}mlasuppliment
2013-02-05 11:15:52,200  INFO  [node.index.FullIndexRecoveryComponent] [localhost-startStop-1]    30 % complete.
2013-02-05 11:16:31,976  INFO  [node.index.FullIndexRecoveryComponent] [localhost-startStop-1]    40 % complete.
2013-02-05 11:17:09,964  INFO  [node.index.FullIndexRecoveryComponent] [localhost-startStop-1]    50 % complete.
2013-02-05 11:17:46,668  INFO  [node.index.FullIndexRecoveryComponent] [localhost-startStop-1]    60 % complete.
2013-02-05 11:18:25,078  INFO  [node.index.FullIndexRecoveryComponent] [localhost-startStop-1]    70 % complete.
2013-02-05 11:19:07,344  INFO  [node.index.FullIndexRecoveryComponent] [localhost-startStop-1]    80 % complete.
2013-02-05 11:19:49,981  INFO  [node.index.FullIndexRecoveryComponent] [localhost-startStop-1]    90 % complete.
2013-02-05 11:21:16,081  INFO  [node.index.FullIndexRecoveryComponent] [localhost-startStop-1]    100 % complete.
2013-02-05 11:21:16,388  INFO  [node.index.FullIndexRecoveryComponent] [localhost-startStop-1] Index recovery completed.
2013-02-05 11:21:16,419  INFO  [node.index.AVMFullIndexRecoveryComponent] [localhost-startStop-1] Rebuilding indexes for 1 AVM Stores
2013-02-05 11:21:16,420  INFO  [node.index.AVMFullIndexRecoveryComponent] [localhost-startStop-1]     Rebuilding index for sitestore
2013-02-05 11:21:16,541  INFO  [node.index.AVMFullIndexRecoveryComponent] [localhost-startStop-1]   Reindex   100% complete

2013-02-05 11:21:21,761  WARN  [admin.patch.PatchExecuter] [localhost-startStop-1] Patch description is not available: Patch[ id=patch.show.audit, description=patch.show.audit.description, fixesFromSchema=0, fixesToSchema=6011, targetSchema=6012]

2013-02-05 11:21:25,185  WARN  [admin.patch.PatchExecuter] [localhost-startStop-1] Patch description is not available: Patch[ id=patch.emailAliasableAspect, description=patch.emailAliasableAspect.description, fixesFromSchema=0, fixesToSchema=6019, targetSchema=6020]




I am getting the following error once alfresco has been started

2013-02-05 11:24:42,305  ERROR [extensions.webscripts.AbstractRuntime] [http-bio-8443-exec-12] Exception from executeScript - redirecting to status template error: 01050002 Wrapped Exception (with status template): 01050072 Nodes with no type are ignored by SOLR
org.springframework.extensions.webscripts.WebScriptException: 01050002 Wrapped Exception (with status template): 01050072 Nodes with no type are ignored by SOLR
   at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1067)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171)
   at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:426)
   at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:433)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:495)
   at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:533)
   at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:276)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:377)
   at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
   at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:118)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
   at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
   at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
   at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
   at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:581)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
   at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:929)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
   at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1002)
   at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:585)
   at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
   at java.lang.Thread.run(Thread.java:722)
Caused by: org.alfresco.error.AlfrescoRuntimeException: 01050072 Nodes with no type are ignored by SOLR
   at org.alfresco.repo.solr.SOLRTrackingComponentImpl.getNodesMetadata(SOLRTrackingComponentImpl.java:625)
   at sun.reflect.GeneratedMethodAccessor584.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:601)
   at org.alfresco.repo.management.subsystems.SubsystemProxyFactory$1.invoke(SubsystemProxyFactory.java:72)
   at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
   at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
   at $Proxy145.getNodesMetadata(Unknown Source)
   at org.alfresco.repo.web.scripts.solr.NodesMetaDataGet.executeImpl(NodesMetaDataGet.java:181)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.executeImpl(DeclarativeWebScript.java:235)
   at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:64)
   … 28 more
2013-02-05 11:24:42,537  WARN  [solr.tracker.CoreTracker] [SolrTrackingPool-archive3] Node index failed and skipped for 164639 in Tx 1069965
org.alfresco.error.AlfrescoRuntimeException: 01050000 GetNodeMetaData return status is 500
   at org.alfresco.solr.client.SOLRAPIClient.getNodesMetaData(SOLRAPIClient.java:747)
   at org.alfresco.solr.tracker.CoreTracker.indexNode(CoreTracker.java:2248)
   at org.alfresco.solr.tracker.MultiThreadedCoreTracker$NodeIndexWorkerRunnable.doWork(MultiThreadedCoreTracker.java:758)
   at org.alfresco.solr.tracker.MultiThreadedCoreTracker$AbstractWorkerRunnable.run(MultiThreadedCoreTracker.java:699)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
   at java.lang.Thread.run(Thread.java:722)
2013-02-05 11:24:43,297  INFO  [web.scripts.GoogleDocsStatus] [http-apr-8080-exec-5] Successfully retrieved Google Docs subsystem status from Alfresco: false
2013-02-05 11:24:53,494  INFO  [web.scripts.DictionaryQuery] [http-apr-8080-exec-10] Successfully retrieved Data Dictionary from Alfresco.


CPU usage is 90-100%

Outcomes