Para Desenvolvedores

Upgrade LumisXP 12.1.0

Resolvido

Depois do upgrade em homologação, estou tentando indexer os serviços e tenho o seguinte error no log

2019-10-14 16:21:14,370 ERROR 127.0.0.1 admin    [LumisRequest - default task-89; url: [http://localhost:8080/portal/lumis/service/portalmanagement/servicesearchindex/DouiReindexerControllerXml.jsp]; login: [admin]] lumis.service.portalmanagement.servicesearchindex.DouiReindexerControllerXml - Error executing reindex operation.
java.lang.IllegalStateException: Repository is not available due to error during last initialization attempt. Reconfigure or try again in a minute. Original error was: java.lang.IllegalStateException: documentTypeCache is not supposed to be not null
	at lumis.portal.bigdata.BigDataManager.getRepository(BigDataManager.java:185)
	at lumis.portal.bigdata.BigDataManager.getDefaultRepository(BigDataManager.java:158)
	at lumis.doui.bigdata.TabularSourceBigDataPersister.deleteContextDocuments(TabularSourceBigDataPersister.java:266)
	at lumis.doui.bigdata.DouiBigDataUtil.reindexContext(DouiBigDataUtil.java:289)
	at lumis.doui.bigdata.DouiBigDataUtil.reindexServiceInstance(DouiBigDataUtil.java:272)
	at lumis.service.portalmanagement.servicesearchindex.DouiReindexerControllerXml.indexServiceInstance(DouiReindexerControllerXml.java:124)
	at lumis.service.portalmanagement.servicesearchindex.DouiReindexerControllerXml.handleRequest(DouiReindexerControllerXml.java:68)
	at org.apache.jsp.lumis.service.portalmanagement.servicesearchindex.DouiReindexerControllerXml_jsp._jspService(DouiReindexerControllerXml_jsp.java:98)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:402)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:346)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
	at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:130)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.appserver.UndertowFilter.doFilter(UndertowFilter.java:90)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.rest.RestRootFilter.doFilter(RestRootFilter.java:333)
	at org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:462)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.webserver.WebServerIntegrationForwardFilter.doFilter(WebServerIntegrationForwardFilter.java:45)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.service.seo.sitemap.SitemapFilter.doFilter(SitemapFilter.java:72)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.url.WebResourceForwardFilter.doFilter(WebResourceForwardFilter.java:347)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.security.csr.CrossSiteRequestFilter.doFilter(CrossSiteRequestFilter.java:227)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.url.WebResourceDiscoveryFilter.doFilter(WebResourceDiscoveryFilter.java:365)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.presentation.PortalModeDiscoveryFilter.doFilter(PortalModeDiscoveryFilter.java:125)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:232)
	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:209)
	at lumis.service.portalmanagement.monitoring.JavaMelodyCustomMonitoringFilter.doFilter(JavaMelodyCustomMonitoringFilter.java:221)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.authentication.AuthenticationFilter.changeThreadNameAndProceed(AuthenticationFilter.java:490)
	at lumis.portal.authentication.AuthenticationFilter.lambda$doFilter$0(AuthenticationFilter.java:291)
	at lumis.portal.util.PortalUtilInternal.execWithSilentThrow(PortalUtilInternal.java:533)
	at lumis.util.log.MDCUtil.execWithValues(MDCUtil.java:60)
	at lumis.portal.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:282)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.monitor.impl.MonitorContextFilter.lambda$doFilter$1(MonitorContextFilter.java:424)
	at lumis.portal.util.PortalUtilInternal.execWithSilentThrow(PortalUtilInternal.java:533)
	at lumis.util.log.MDCUtil.execWithValues(MDCUtil.java:60)
	at lumis.portal.monitor.impl.MonitorContextFilter.doFilter(MonitorContextFilter.java:402)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.page.cache.PageCacheSSIFilter.doFilter(PageCacheSSIFilter.java:52)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.PortalRequestContextFilter.doFilter(PortalRequestContextFilter.java:97)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.filter.EncodingUTF8Filter.doFilter(EncodingUTF8Filter.java:35)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.webserver.WebServerIntegrationInitFilter.doFilter(WebServerIntegrationInitFilter.java:367)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.website.WebsiteDiscoveryFilter.doFilter(WebsiteDiscoveryFilter.java:302)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.PortalConfiguration$RequestInitializer.doFilter(PortalConfiguration.java:152)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
	at io.undertow.jsp.JspFileHandler.handleRequest(JspFileHandler.java:32)
	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
	at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
	at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
	at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
	at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
	at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
	at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
	at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:285)
	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:264)
	at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
	at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:175)
	at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
	at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:792)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
2019-10-14 16:21:14,372 ERROR 127.0.0.1 lumispagecacheuser   Salões de Festas [Lumis Monitor Processor - 3] lumis.portal.monitor.impl.MonitorUtilInternal - Error sending data to big data repository.
java.lang.IllegalStateException: Repository is not available due to error during last initialization attempt. Reconfigure or try again in a minute. Original error was: java.lang.IllegalStateException: documentTypeCache is not supposed to be not null
	at lumis.portal.bigdata.BigDataManager.getRepository(BigDataManager.java:185)
	at lumis.portal.bigdata.BigDataManager.getDefaultRepository(BigDataManager.java:158)
	at lumis.portal.monitor.impl.MonitorUtilInternal.getOrCreateDocumentType(MonitorUtilInternal.java:1348)
	at lumis.portal.monitor.impl.MonitorUtilInternal.getDocument(MonitorUtilInternal.java:1192)
	at lumis.portal.monitor.impl.MonitorUtilInternal.getDocument(MonitorUtilInternal.java:1173)
	at lumis.portal.monitor.impl.MonitorUtilInternal.persistMonitorEventData(MonitorUtilInternal.java:1487)
	at lumis.portal.monitor.impl.Monitor.sendData(Monitor.java:258)
	at lumis.portal.monitor.impl.Monitor.lambda$scheduleSendData$1(Monitor.java:251)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

Por Webmaster

Em 14/10/19 16:23

Acompanhar pergunta

6 resposta(s):

Ordenar por:

Guilherme,

Instalei o cURL for Windows no server de homologação e rodei o comando no cmd e apareceu o seguinte:

 

Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.

C:\Windows\system32>curl -XGET "http://localhost:9200/_cat/allocation?v&pretty"
shards disk.indices disk.used disk.avail disk.total disk.percent host      ip        node
   227        481mb   186.4gb      1.2tb      1.4tb           12 localhost 127.0.0.1 lumis-producao
   773                                                                               UNASSIGNED

C:\Windows\system32>

 

 

Por Webmaster

Em 16/10/19 17:56
Editado em 17/10/19 08:14

Oi Guilherme,

O Lumis 12.1.0 com o ES 7.1 esta com uma limitação de 1.000 Shards. Isso porque tenho o seguinte error no log

2019-10-17 11:13:01,840 ERROR 127.0.0.1 admin    [LumisRequest - default task-126; url: [http://localhost:8080/portal/lumis/service/portalmanagement/servicesearchindex/DouiReindexerControllerXml.jsp]; login: [admin]] lumis.portal.bigdata.elasticsearch.ElasticsearchRepository - Could not update mapping of document type br_org_fenae_pordentrodafuncef_service_informacoesdecontato_default. Its indices ([lumisportal-null-br_org_fenae_pordentrodafuncef_service_informacoesdecontato_default, lumisportal-pt_br-br_org_fenae_pordentrodafuncef_service_informacoesdecontato_default, lumisportal-en_us-br_org_fenae_pordentrodafuncef_service_informacoesdecontato_default, lumisportal-es-br_org_fenae_pordentrodafuncef_service_informacoesdecontato_default]) will be recreated, because 'force' is 'true', and will require reindexing.
java.lang.IllegalArgumentException: Validation Failed: 1: this action would add [2] total shards, but this cluster currently has [1000]/[1000] maximum shards open;
	at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validateIndexSettings(MetaDataCreateIndexService.java:629)
	at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validate(MetaDataCreateIndexService.java:618)
	at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$IndexCreationTask.execute(MetaDataCreateIndexService.java:286)
	at org.elasticsearch.cluster.ClusterStateUpdateTask.execute(ClusterStateUpdateTask.java:47)
	at org.elasticsearch.cluster.service.MasterService.executeTasks(MasterService.java:687)
	at org.elasticsearch.cluster.service.MasterService.calculateTaskOutputs(MasterService.java:310)
	at org.elasticsearch.cluster.service.MasterService.runTasks(MasterService.java:210)
	at org.elasticsearch.cluster.service.MasterService$Batcher.run(MasterService.java:142)
	at org.elasticsearch.cluster.service.TaskBatcher.runIfNotProcessed(TaskBatcher.java:150)
	at org.elasticsearch.cluster.service.TaskBatcher$BatchedTask.run(TaskBatcher.java:188)
	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:681)
	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:252)
	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:215)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
2019-10-17 11:13:01,844 ERROR 127.0.0.1 admin    [LumisRequest - default task-126; url: [http://localhost:8080/portal/lumis/service/portalmanagement/servicesearchindex/DouiReindexerControllerXml.jsp]; login: [admin]] lumis.doui.bigdata.TabularSourceBigDataPersister - Error creating document type for source default
java.lang.RuntimeException: [lumisportal-null-br_org_fenae_pordentrodafuncef_service_informacoesdecontato_default] IndexNotFoundException[no such index [lumisportal-null-br_org_fenae_pordentrodafuncef_service_informacoesdecontato_default]]
	at lumis.portal.bigdata.elasticsearch.ElasticsearchIndexer.executeSync(ElasticsearchIndexer.java:433)
	at lumis.portal.bigdata.elasticsearch.ElasticsearchIndexer.executeSync(ElasticsearchIndexer.java:414)
	at lumis.portal.bigdata.elasticsearch.ElasticsearchRepository$IndexManager.deleteIndex(ElasticsearchRepository.java:185)
	at lumis.portal.bigdata.elasticsearch.ElasticsearchRepository.addOrUpdateDocumentType(ElasticsearchRepository.java:1121)
	at lumis.portal.bigdata.elasticsearch.ElasticsearchRepository.addOrUpdateDocumentType(ElasticsearchRepository.java:1080)
	at lumis.doui.bigdata.TabularSourceBigDataPersister.initBigData(TabularSourceBigDataPersister.java:137)
	at lumis.doui.bigdata.TabularSourceBigDataPersister.initBigData(TabularSourceBigDataPersister.java:65)
	at lumis.doui.bigdata.DouiBigDataUtil.reindexService(DouiBigDataUtil.java:495)
	at lumis.doui.bigdata.DouiBigDataUtil.reindexService(DouiBigDataUtil.java:464)
	at lumis.service.portalmanagement.servicesearchindex.DouiReindexerControllerXml.indexService(DouiReindexerControllerXml.java:146)
	at lumis.service.portalmanagement.servicesearchindex.DouiReindexerControllerXml.handleRequest(DouiReindexerControllerXml.java:72)
	at org.apache.jsp.lumis.service.portalmanagement.servicesearchindex.DouiReindexerControllerXml_jsp._jspService(DouiReindexerControllerXml_jsp.java:98)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:433)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:402)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:346)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
	at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:85)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
	at io.undertow.websockets.jsr.JsrWebSocketFilter.doFilter(JsrWebSocketFilter.java:130)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.appserver.UndertowFilter.doFilter(UndertowFilter.java:90)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.rest.RestRootFilter.doFilter(RestRootFilter.java:333)
	at org.glassfish.jersey.servlet.ServletContainer.doFilter(ServletContainer.java:462)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.webserver.WebServerIntegrationForwardFilter.doFilter(WebServerIntegrationForwardFilter.java:45)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.service.seo.sitemap.SitemapFilter.doFilter(SitemapFilter.java:72)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.url.WebResourceForwardFilter.doFilter(WebResourceForwardFilter.java:347)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.security.csr.CrossSiteRequestFilter.doFilter(CrossSiteRequestFilter.java:227)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.url.WebResourceDiscoveryFilter.doFilter(WebResourceDiscoveryFilter.java:365)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.presentation.PortalModeDiscoveryFilter.doFilter(PortalModeDiscoveryFilter.java:125)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:232)
	at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:209)
	at lumis.service.portalmanagement.monitoring.JavaMelodyCustomMonitoringFilter.doFilter(JavaMelodyCustomMonitoringFilter.java:221)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.authentication.AuthenticationFilter.changeThreadNameAndProceed(AuthenticationFilter.java:490)
	at lumis.portal.authentication.AuthenticationFilter.lambda$doFilter$0(AuthenticationFilter.java:291)
	at lumis.portal.util.PortalUtilInternal.execWithSilentThrow(PortalUtilInternal.java:533)
	at lumis.util.log.MDCUtil.execWithValues(MDCUtil.java:60)
	at lumis.portal.authentication.AuthenticationFilter.doFilter(AuthenticationFilter.java:282)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.monitor.impl.MonitorContextFilter.lambda$doFilter$1(MonitorContextFilter.java:424)
	at lumis.portal.util.PortalUtilInternal.execWithSilentThrow(PortalUtilInternal.java:533)
	at lumis.util.log.MDCUtil.execWithValues(MDCUtil.java:60)
	at lumis.portal.monitor.impl.MonitorContextFilter.doFilter(MonitorContextFilter.java:402)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.page.cache.PageCacheSSIFilter.doFilter(PageCacheSSIFilter.java:52)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.PortalRequestContextFilter.doFilter(PortalRequestContextFilter.java:97)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.filter.EncodingUTF8Filter.doFilter(EncodingUTF8Filter.java:35)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.webserver.WebServerIntegrationInitFilter.doFilter(WebServerIntegrationInitFilter.java:367)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.website.WebsiteDiscoveryFilter.doFilter(WebsiteDiscoveryFilter.java:302)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at lumis.portal.PortalConfiguration$RequestInitializer.doFilter(PortalConfiguration.java:152)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
	at io.undertow.jsp.JspFileHandler.handleRequest(JspFileHandler.java:32)
	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
	at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
	at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
	at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
	at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:60)
	at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:77)
	at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
	at io.undertow.security.handlers.AbstractSecurityContextAssociationHandler.handleRequest(AbstractSecurityContextAssociationHandler.java:43)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:285)
	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:264)
	at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:81)
	at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:175)
	at io.undertow.server.Connectors.executeRootHandler(Connectors.java:202)
	at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:792)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)

Tenho uma instalação do Lumis 11.2.0 com o ES 6.6.0, com 588 indices e 1.167 shards.

Já o Lumis 12.1, os indíces é 500 e os shards é limitado a 1.000. Como resolver essa limitação do ES 7.1.0?

Por Webmaster

Em 17/10/19 17:01

Webmaster,

Foi implementado um "soft limit" do número de shards abertos por nó no ES 7.

Na atualização do produto, é importante notar os destaques e observações não só na documentação do LumisXP, mas também na documentação de quaisquer softwares que devem sofrer atualização conjunta, como é o caso do ES.

Att.

Por Thiago Berne

Em 17/10/19 17:19

Oi Thiago, como resolver esse problema? Tem alguma configuração a ser feita? Veja imagem

Por Webmaster

Em 17/10/19 17:31

Guilherme, resolvi o problema criando um novo nó.

Mas agora tem um WARN, tem ideia do que possa ser esse aviso?

[2019-10-24T15:59:34,698][INFO ][o.e.c.r.a.AllocationService] [lumisportal_node_01] Cluster health status changed from [YELLOW] to [GREEN] (reason: [shards started [[.kibana_task_manager][0]] ...]).
[2019-10-24T16:01:39,624][INFO ][o.e.c.m.MetaDataIndexTemplateService] [lumisportal_node_01] adding template [lumisportal-null] for index patterns [lumisportal-null-*]
[2019-10-24T16:01:39,921][INFO ][o.e.c.m.MetaDataIndexTemplateService] [lumisportal_node_01] adding template [lumisportal-es] for index patterns [lumisportal-es-*]
[2019-10-24T16:01:40,140][INFO ][o.e.c.m.MetaDataIndexTemplateService] [lumisportal_node_01] adding template [lumisportal-pt_br] for index patterns [lumisportal-pt_br-*]
[2019-10-24T16:01:40,249][INFO ][o.e.c.m.MetaDataIndexTemplateService] [lumisportal_node_01] adding template [lumisportal-en_us] for index patterns [lumisportal-en_us-*]
[2019-10-24T16:01:41,046][INFO ][o.e.c.m.MetaDataCreateIndexService] [lumisportal_node_01] [lumisportal-null-mon_lum_automationflow_customactionexecuted] creating index, cause [api], templates [lumisportal-null], shards [1]/[1], mappings [_doc]
[2019-10-24T16:01:41,608][INFO ][o.e.c.m.MetaDataCreateIndexService] [lumisportal_node_01] [lumisportal-es-mon_lum_automationflow_customactionexecuted] creating index, cause [api], templates [lumisportal-es], shards [1]/[1], mappings [_doc]
[2019-10-24T16:01:42,530][INFO ][o.e.c.m.MetaDataCreateIndexService] [lumisportal_node_01] [lumisportal-pt_br-mon_lum_automationflow_customactionexecuted] creating index, cause [api], templates [lumisportal-pt_br], shards [1]/[1], mappings [_doc]
[2019-10-24T16:01:42,858][WARN ][o.e.c.r.a.AllocationService] [lumisportal_node_01] failing shard [failed shard, shard [lumisportal-pt_br-mon_lum_automationflow_customactionexecuted][0], node[2eyJMN67QhSMxw_t68Rh0A], [R], recovery_source[peer recovery], s[INITIALIZING], a[id=6bWA7yJhTHqz1JFy-O9Kpw], unassigned_info[[reason=INDEX_CREATED], at[2019-10-24T19:01:42.530Z], delayed=false, allocation_status[no_attempt]], message [failed to create index], failure [IllegalArgumentException[IOException while reading synonyms_path_path: E:\elasticsearch-7.1.0\config\lumis-analysis\synonyms-pt_BR.txt]; nested: NoSuchFileException[E:\elasticsearch-7.1.0\config\lumis-analysis\synonyms-pt_BR.txt]; ], markAsStale [true]]
java.lang.IllegalArgumentException: IOException while reading synonyms_path_path: E:\elasticsearch-7.1.0\config\lumis-analysis\synonyms-pt_BR.txt
	at org.elasticsearch.index.analysis.Analysis.getReaderFromFile(Analysis.java:298) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.analysis.common.SynonymTokenFilterFactory.getRulesFromSettings(SynonymTokenFilterFactory.java:138) ~[?:?]
	at org.elasticsearch.analysis.common.SynonymTokenFilterFactory.getChainAwareTokenFilterFactory(SynonymTokenFilterFactory.java:81) ~[?:?]
	at org.elasticsearch.index.analysis.CustomAnalyzerProvider.build(CustomAnalyzerProvider.java:87) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.index.analysis.AnalysisRegistry.processAnalyzerFactory(AnalysisRegistry.java:488) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.index.analysis.AnalysisRegistry.build(AnalysisRegistry.java:433) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.index.analysis.AnalysisRegistry.build(AnalysisRegistry.java:163) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.index.IndexService.<init>(IndexService.java:165) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.index.IndexModule.newIndexService(IndexModule.java:398) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.indices.IndicesService.createIndexService(IndicesService.java:544) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.indices.IndicesService.createIndex(IndicesService.java:493) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.indices.IndicesService.createIndex(IndicesService.java:161) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.indices.cluster.IndicesClusterStateService.createIndices(IndicesClusterStateService.java:498) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.indices.cluster.IndicesClusterStateService.applyClusterState(IndicesClusterStateService.java:268) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.cluster.service.ClusterApplierService.lambda$callClusterStateAppliers$5(ClusterApplierService.java:478) ~[elasticsearch-7.1.0.jar:7.1.0]
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_191]
	at org.elasticsearch.cluster.service.ClusterApplierService.callClusterStateAppliers(ClusterApplierService.java:476) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.cluster.service.ClusterApplierService.applyChanges(ClusterApplierService.java:459) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.cluster.service.ClusterApplierService.runTask(ClusterApplierService.java:413) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.cluster.service.ClusterApplierService$UpdateTask.run(ClusterApplierService.java:164) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:681) [elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:252) [elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:215) [elasticsearch-7.1.0.jar:7.1.0]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_191]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_191]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]
Caused by: java.nio.file.NoSuchFileException: E:\elasticsearch-7.1.0\config\lumis-analysis\synonyms-pt_BR.txt
	at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:79) ~[?:?]
	at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) ~[?:?]
	at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) ~[?:?]
	at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:230) ~[?:?]
	at java.nio.file.Files.newByteChannel(Files.java:361) ~[?:1.8.0_191]
	at java.nio.file.Files.newByteChannel(Files.java:407) ~[?:1.8.0_191]
	at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384) ~[?:1.8.0_191]
	at java.nio.file.Files.newInputStream(Files.java:152) ~[?:1.8.0_191]
	at java.nio.file.Files.newBufferedReader(Files.java:2784) ~[?:1.8.0_191]
	at org.elasticsearch.index.analysis.Analysis.getReaderFromFile(Analysis.java:290) ~[elasticsearch-7.1.0.jar:7.1.0]
	... 25 more
[2019-10-24T16:01:42,968][INFO ][o.e.c.m.MetaDataCreateIndexService] [lumisportal_node_01] [lumisportal-en_us-mon_lum_automationflow_customactionexecuted] creating index, cause [api], templates [lumisportal-en_us], shards [1]/[1], mappings [_doc]
[2019-10-24T16:01:43,202][WARN ][o.e.c.r.a.AllocationService] [lumisportal_node_01] failing shard [failed shard, shard [lumisportal-en_us-mon_lum_automationflow_customactionexecuted][0], node[2eyJMN67QhSMxw_t68Rh0A], [P], recovery_source[new shard recovery], s[INITIALIZING], a[id=M264sHx8SaeVPssNblDs4Q], unassigned_info[[reason=INDEX_CREATED], at[2019-10-24T19:01:42.968Z], delayed=false, allocation_status[no_attempt]], message [failed to create index], failure [IllegalArgumentException[IOException while reading synonyms_path_path: E:\elasticsearch-7.1.0\config\lumis-analysis\synonyms-en_US.txt]; nested: NoSuchFileException[E:\elasticsearch-7.1.0\config\lumis-analysis\synonyms-en_US.txt]; ], markAsStale [true]]
java.lang.IllegalArgumentException: IOException while reading synonyms_path_path: E:\elasticsearch-7.1.0\config\lumis-analysis\synonyms-en_US.txt
	at org.elasticsearch.index.analysis.Analysis.getReaderFromFile(Analysis.java:298) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.analysis.common.SynonymTokenFilterFactory.getRulesFromSettings(SynonymTokenFilterFactory.java:138) ~[?:?]
	at org.elasticsearch.analysis.common.SynonymTokenFilterFactory.getChainAwareTokenFilterFactory(SynonymTokenFilterFactory.java:81) ~[?:?]
	at org.elasticsearch.index.analysis.CustomAnalyzerProvider.build(CustomAnalyzerProvider.java:87) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.index.analysis.AnalysisRegistry.processAnalyzerFactory(AnalysisRegistry.java:488) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.index.analysis.AnalysisRegistry.build(AnalysisRegistry.java:433) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.index.analysis.AnalysisRegistry.build(AnalysisRegistry.java:163) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.index.IndexService.<init>(IndexService.java:165) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.index.IndexModule.newIndexService(IndexModule.java:398) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.indices.IndicesService.createIndexService(IndicesService.java:544) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.indices.IndicesService.createIndex(IndicesService.java:493) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.indices.IndicesService.createIndex(IndicesService.java:161) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.indices.cluster.IndicesClusterStateService.createIndices(IndicesClusterStateService.java:498) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.indices.cluster.IndicesClusterStateService.applyClusterState(IndicesClusterStateService.java:268) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.cluster.service.ClusterApplierService.lambda$callClusterStateAppliers$5(ClusterApplierService.java:478) ~[elasticsearch-7.1.0.jar:7.1.0]
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:1.8.0_191]
	at org.elasticsearch.cluster.service.ClusterApplierService.callClusterStateAppliers(ClusterApplierService.java:476) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.cluster.service.ClusterApplierService.applyChanges(ClusterApplierService.java:459) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.cluster.service.ClusterApplierService.runTask(ClusterApplierService.java:413) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.cluster.service.ClusterApplierService$UpdateTask.run(ClusterApplierService.java:164) ~[elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:681) [elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:252) [elasticsearch-7.1.0.jar:7.1.0]
	at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:215) [elasticsearch-7.1.0.jar:7.1.0]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_191]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_191]
	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191]
Caused by: java.nio.file.NoSuchFileException: E:\elasticsearch-7.1.0\config\lumis-analysis\synonyms-en_US.txt
	at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:79) ~[?:?]
	at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97) ~[?:?]
	at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102) ~[?:?]
	at sun.nio.fs.WindowsFileSystemProvider.newByteChannel(WindowsFileSystemProvider.java:230) ~[?:?]
	at java.nio.file.Files.newByteChannel(Files.java:361) ~[?:1.8.0_191]
	at java.nio.file.Files.newByteChannel(Files.java:407) ~[?:1.8.0_191]
	at java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:384) ~[?:1.8.0_191]
	at java.nio.file.Files.newInputStream(Files.java:152) ~[?:1.8.0_191]
	at java.nio.file.Files.newBufferedReader(Files.java:2784) ~[?:1.8.0_191]
	at org.elasticsearch.index.analysis.Analysis.getReaderFromFile(Analysis.java:290) ~[elasticsearch-7.1.0.jar:7.1.0]
	... 25 more

Por Webmaster

Em 24/10/19 17:36
Editado em 24/10/19 17:37

Entrar

Interaja com a comunidade e tenha acesso a conteúdos exclusivos.

Houve algum erro ao acessar o banco de dados. Tente novamente mais tarde.