[ 
https://issues.apache.org/jira/browse/ATLAS-4530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

cdmikechen updated ATLAS-4530:
------------------------------
    Description: 
I upgraded my solr from 7 to 8. When creating a entity, I catch an error
{code}
2022-01-12 17:37:03,670 ERROR - [pool-2-thread-8 - 
47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
failed due to (400) 
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at 
http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
 Attempted an atomic/partial update to a child doc without indicating the 
_root_ somehow., retry? 0 (CloudSolrClient:897)
2022-01-12 17:37:07,016 ERROR - [pool-2-thread-8 - 
47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
failed due to (400) 
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at 
http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
 Attempted an atomic/partial update to a child doc without indicating the 
_root_ somehow., retry? 0 (CloudSolrClient:897)
2022-01-12 17:37:10,369 ERROR - [pool-2-thread-8 - 
47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
failed due to (400) 
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at 
http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
 Attempted an atomic/partial update to a child doc without indicating the 
_root_ somehow., retry? 0 (CloudSolrClient:897)
2022-01-12 17:37:16,929 ERROR - [pool-2-thread-8 - 
47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
failed due to (400) 
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at 
http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
 Attempted an atomic/partial update to a child doc without indicating the 
_root_ somehow., retry? 0 (CloudSolrClient:897)
2022-01-12 17:37:23,489 ERROR - [pool-2-thread-8 - 
47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
failed due to (400) 
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at 
http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
 Attempted an atomic/partial update to a child doc without indicating the 
_root_ somehow., retry? 0 (CloudSolrClient:897)
2022-01-12 17:37:30,043 ERROR - [pool-2-thread-8 - 
47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
failed due to (400) 
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at 
http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
 Attempted an atomic/partial update to a child doc without indicating the 
_root_ somehow., retry? 0 (CloudSolrClient:897)
2022-01-12 17:37:36,600 ERROR - [pool-2-thread-8 - 
47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
failed due to (400) 
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at 
http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
 Attempted an atomic/partial update to a child doc without indicating the 
_root_ somehow., retry? 0 (CloudSolrClient:897)
2022-01-12 17:37:49,575 ERROR - [pool-2-thread-8 - 
47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
failed due to (400) 
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at 
http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
 Attempted an atomic/partial update to a child doc without indicating the 
_root_ somehow., retry? 0 (CloudSolrClient:897)
2022-01-12 17:38:15,431 ERROR - [pool-2-thread-8 - 
47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
failed due to (400) 
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at 
http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
 Attempted an atomic/partial update to a child doc without indicating the 
_root_ somehow., retry? 0 (CloudSolrClient:897)
2022-01-12 17:38:15,432 ERROR - [pool-2-thread-8 - 
47e54dcd-b032-4942-bfbc-52879f409141:] ~ Error while committing index mutations 
for transaction [30] on index: search (StandardJanusGraph:765)
org.janusgraph.core.JanusGraphException: Could not execute operation due to 
backend exception
        at 
org.janusgraph.diskstorage.util.BackendOperation.execute(BackendOperation.java:56)
        at 
org.janusgraph.diskstorage.indexing.IndexTransaction.flushInternal(IndexTransaction.java:152)
        at 
org.janusgraph.diskstorage.indexing.IndexTransaction.commit(IndexTransaction.java:133)
        at 
org.janusgraph.diskstorage.BackendTransaction.commitIndexes(BackendTransaction.java:140)
        at 
org.janusgraph.graphdb.database.StandardJanusGraph.commit(StandardJanusGraph.java:761)
        at 
org.janusgraph.graphdb.transaction.StandardJanusGraphTx.commit(StandardJanusGraphTx.java:1425)
        at 
org.janusgraph.graphdb.tinkerpop.JanusGraphBlueprintsGraph$GraphTransaction.doCommit(JanusGraphBlueprintsGraph.java:297)
        at 
org.apache.tinkerpop.gremlin.structure.util.AbstractTransaction.commit(AbstractTransaction.java:104)
        at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.commit(AtlasJanusGraph.java:248)
        at 
org.apache.atlas.GraphTransactionInterceptor.doCommit(GraphTransactionInterceptor.java:157)
        at 
org.apache.atlas.GraphTransactionInterceptor.doCommitOrRollback(GraphTransactionInterceptor.java:152)
        at 
org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:91)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
        at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671)
        at 
org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2$$EnhancerBySpringCGLIB$$efb454f3.createOrUpdate(<generated>)
        at 
org.apache.atlas.web.rest.EntityREST.createOrUpdate(EntityREST.java:350)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
        at 
com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
        at 
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
        at 
com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
        at 
com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
        at 
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
        at 
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
        at 
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)
        at 
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)
        at 
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
        at 
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
        at 
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)
        at 
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)
        at 
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
        at 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845)
        at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1712)
        at 
org.apache.atlas.web.filters.AuditFilter.doFilter(AuditFilter.java:104)
        at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1699)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
        at 
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
        at 
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.apache.atlas.web.filters.AtlasCSRFPreventionFilter.doFilter(AtlasCSRFPreventionFilter.java:192)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.apache.atlas.web.filters.AtlasAuthenticationFilter.doFilter(AtlasAuthenticationFilter.java:358)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.apache.atlas.web.filters.StaleTransactionCleanupFilter.doFilter(StaleTransactionCleanupFilter.java:55)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215)
        at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.apache.atlas.web.filters.AtlasKnoxSSOAuthenticationFilter.redirectToKnox(AtlasKnoxSSOAuthenticationFilter.java:208)
        at 
org.apache.atlas.web.filters.AtlasKnoxSSOAuthenticationFilter.doFilter(AtlasKnoxSSOAuthenticationFilter.java:200)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66)
        at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
        at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
        at 
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
        at 
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:347)
        at 
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:263)
        at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1691)
        at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)
        at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
        at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
        at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
        at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
        at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)
        at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
        at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
        at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
        at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
        at org.eclipse.jetty.server.Server.handle(Server.java:534)
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
        at 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
        at 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
        at 
org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
        at 
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
        at 
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
        at 
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
        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)
Caused by: org.janusgraph.diskstorage.TemporaryBackendException: Could not 
successfully complete backend operation due to repeated temporary exceptions 
after PT1M40S
        at 
org.janusgraph.diskstorage.util.BackendOperation.executeDirect(BackendOperation.java:100)
        at 
org.janusgraph.diskstorage.util.BackendOperation.execute(BackendOperation.java:54)
        ... 103 more
Caused by: org.janusgraph.diskstorage.TemporaryBackendException: Unable to 
complete query on Solr.
        at 
org.janusgraph.diskstorage.solr.Solr6Index.storageException(Solr6Index.java:1162)
        at 
org.janusgraph.diskstorage.solr.Solr6Index.mutate(Solr6Index.java:492)
        at 
org.janusgraph.diskstorage.indexing.IndexTransaction$1.call(IndexTransaction.java:155)
        at 
org.janusgraph.diskstorage.indexing.IndexTransaction$1.call(IndexTransaction.java:152)
        at 
org.janusgraph.diskstorage.util.BackendOperation.executeDirect(BackendOperation.java:68)
        ... 104 more
Caused by: org.apache.solr.client.solrj.impl.CloudSolrClient$RouteException: 
Error from server at 
http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
 Attempted an atomic/partial update to a child doc without indicating the 
_root_ somehow.
        at 
org.apache.solr.client.solrj.impl.CloudSolrClient.directUpdate(CloudSolrClient.java:539)
        at 
org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:993)
        at 
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:862)
        at 
org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:793)
        at 
org.janusgraph.diskstorage.solr.Solr6Index.commitChanges(Solr6Index.java:611)
        at 
org.janusgraph.diskstorage.solr.Solr6Index.mutate(Solr6Index.java:487)
        ... 107 more
Caused by: 
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at 
http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
 Attempted an atomic/partial update to a child doc without indicating the 
_root_ somehow.
        at 
org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:627)
        at 
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:253)
        at 
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:242)
        at 
org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:483)
        at 
org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:413)
        at 
org.apache.solr.client.solrj.impl.CloudSolrClient.lambda$directUpdate$47(CloudSolrClient.java:516)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$128(ExecutorUtil.java:188)
        ... 3 more

{code}

I searched some informations in solr jira and found that in issue [Regression: 
Adding _root_ schema field to existing index causes atomic update 
failures|http://example.com] 
It seems like that in schema.xml atlas use *_root_* filed that not recommended.
https://solr.apache.org/guide/8_9/indexing-nested-documents.html#schema-configuration
 

  was:
When creating a entity, I catch an error
{code}
2022-01-12 17:37:03,670 ERROR - [pool-2-thread-8 - 
47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
failed due to (400) 
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at 
http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
 Attempted an atomic/partial update to a child doc without indicating the 
_root_ somehow., retry? 0 (CloudSolrClient:897)
2022-01-12 17:37:07,016 ERROR - [pool-2-thread-8 - 
47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
failed due to (400) 
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at 
http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
 Attempted an atomic/partial update to a child doc without indicating the 
_root_ somehow., retry? 0 (CloudSolrClient:897)
2022-01-12 17:37:10,369 ERROR - [pool-2-thread-8 - 
47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
failed due to (400) 
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at 
http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
 Attempted an atomic/partial update to a child doc without indicating the 
_root_ somehow., retry? 0 (CloudSolrClient:897)
2022-01-12 17:37:16,929 ERROR - [pool-2-thread-8 - 
47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
failed due to (400) 
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at 
http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
 Attempted an atomic/partial update to a child doc without indicating the 
_root_ somehow., retry? 0 (CloudSolrClient:897)
2022-01-12 17:37:23,489 ERROR - [pool-2-thread-8 - 
47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
failed due to (400) 
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at 
http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
 Attempted an atomic/partial update to a child doc without indicating the 
_root_ somehow., retry? 0 (CloudSolrClient:897)
2022-01-12 17:37:30,043 ERROR - [pool-2-thread-8 - 
47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
failed due to (400) 
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at 
http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
 Attempted an atomic/partial update to a child doc without indicating the 
_root_ somehow., retry? 0 (CloudSolrClient:897)
2022-01-12 17:37:36,600 ERROR - [pool-2-thread-8 - 
47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
failed due to (400) 
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at 
http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
 Attempted an atomic/partial update to a child doc without indicating the 
_root_ somehow., retry? 0 (CloudSolrClient:897)
2022-01-12 17:37:49,575 ERROR - [pool-2-thread-8 - 
47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
failed due to (400) 
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at 
http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
 Attempted an atomic/partial update to a child doc without indicating the 
_root_ somehow., retry? 0 (CloudSolrClient:897)
2022-01-12 17:38:15,431 ERROR - [pool-2-thread-8 - 
47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
failed due to (400) 
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at 
http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
 Attempted an atomic/partial update to a child doc without indicating the 
_root_ somehow., retry? 0 (CloudSolrClient:897)
2022-01-12 17:38:15,432 ERROR - [pool-2-thread-8 - 
47e54dcd-b032-4942-bfbc-52879f409141:] ~ Error while committing index mutations 
for transaction [30] on index: search (StandardJanusGraph:765)
org.janusgraph.core.JanusGraphException: Could not execute operation due to 
backend exception
        at 
org.janusgraph.diskstorage.util.BackendOperation.execute(BackendOperation.java:56)
        at 
org.janusgraph.diskstorage.indexing.IndexTransaction.flushInternal(IndexTransaction.java:152)
        at 
org.janusgraph.diskstorage.indexing.IndexTransaction.commit(IndexTransaction.java:133)
        at 
org.janusgraph.diskstorage.BackendTransaction.commitIndexes(BackendTransaction.java:140)
        at 
org.janusgraph.graphdb.database.StandardJanusGraph.commit(StandardJanusGraph.java:761)
        at 
org.janusgraph.graphdb.transaction.StandardJanusGraphTx.commit(StandardJanusGraphTx.java:1425)
        at 
org.janusgraph.graphdb.tinkerpop.JanusGraphBlueprintsGraph$GraphTransaction.doCommit(JanusGraphBlueprintsGraph.java:297)
        at 
org.apache.tinkerpop.gremlin.structure.util.AbstractTransaction.commit(AbstractTransaction.java:104)
        at 
org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.commit(AtlasJanusGraph.java:248)
        at 
org.apache.atlas.GraphTransactionInterceptor.doCommit(GraphTransactionInterceptor.java:157)
        at 
org.apache.atlas.GraphTransactionInterceptor.doCommitOrRollback(GraphTransactionInterceptor.java:152)
        at 
org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:91)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
        at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671)
        at 
org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2$$EnhancerBySpringCGLIB$$efb454f3.createOrUpdate(<generated>)
        at 
org.apache.atlas.web.rest.EntityREST.createOrUpdate(EntityREST.java:350)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
        at 
com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
        at 
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
        at 
com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
        at 
com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
        at 
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
        at 
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
        at 
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)
        at 
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)
        at 
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
        at 
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
        at 
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)
        at 
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)
        at 
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
        at 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845)
        at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1712)
        at 
org.apache.atlas.web.filters.AuditFilter.doFilter(AuditFilter.java:104)
        at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1699)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
        at 
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
        at 
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.apache.atlas.web.filters.AtlasCSRFPreventionFilter.doFilter(AtlasCSRFPreventionFilter.java:192)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.apache.atlas.web.filters.AtlasAuthenticationFilter.doFilter(AtlasAuthenticationFilter.java:358)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.apache.atlas.web.filters.StaleTransactionCleanupFilter.doFilter(StaleTransactionCleanupFilter.java:55)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215)
        at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.apache.atlas.web.filters.AtlasKnoxSSOAuthenticationFilter.redirectToKnox(AtlasKnoxSSOAuthenticationFilter.java:208)
        at 
org.apache.atlas.web.filters.AtlasKnoxSSOAuthenticationFilter.doFilter(AtlasKnoxSSOAuthenticationFilter.java:200)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66)
        at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
        at 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
        at 
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
        at 
org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
        at 
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
        at 
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:347)
        at 
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:263)
        at 
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1691)
        at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)
        at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
        at 
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
        at 
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
        at 
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
        at 
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)
        at 
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
        at 
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
        at 
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
        at 
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
        at org.eclipse.jetty.server.Server.handle(Server.java:534)
        at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
        at 
org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
        at 
org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
        at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
        at 
org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
        at 
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
        at 
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
        at 
org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
        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)
Caused by: org.janusgraph.diskstorage.TemporaryBackendException: Could not 
successfully complete backend operation due to repeated temporary exceptions 
after PT1M40S
        at 
org.janusgraph.diskstorage.util.BackendOperation.executeDirect(BackendOperation.java:100)
        at 
org.janusgraph.diskstorage.util.BackendOperation.execute(BackendOperation.java:54)
        ... 103 more
Caused by: org.janusgraph.diskstorage.TemporaryBackendException: Unable to 
complete query on Solr.
        at 
org.janusgraph.diskstorage.solr.Solr6Index.storageException(Solr6Index.java:1162)
        at 
org.janusgraph.diskstorage.solr.Solr6Index.mutate(Solr6Index.java:492)
        at 
org.janusgraph.diskstorage.indexing.IndexTransaction$1.call(IndexTransaction.java:155)
        at 
org.janusgraph.diskstorage.indexing.IndexTransaction$1.call(IndexTransaction.java:152)
        at 
org.janusgraph.diskstorage.util.BackendOperation.executeDirect(BackendOperation.java:68)
        ... 104 more
Caused by: org.apache.solr.client.solrj.impl.CloudSolrClient$RouteException: 
Error from server at 
http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
 Attempted an atomic/partial update to a child doc without indicating the 
_root_ somehow.
        at 
org.apache.solr.client.solrj.impl.CloudSolrClient.directUpdate(CloudSolrClient.java:539)
        at 
org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:993)
        at 
org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:862)
        at 
org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:793)
        at 
org.janusgraph.diskstorage.solr.Solr6Index.commitChanges(Solr6Index.java:611)
        at 
org.janusgraph.diskstorage.solr.Solr6Index.mutate(Solr6Index.java:487)
        ... 107 more
Caused by: 
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
from server at 
http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
 Attempted an atomic/partial update to a child doc without indicating the 
_root_ somehow.
        at 
org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:627)
        at 
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:253)
        at 
org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:242)
        at 
org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:483)
        at 
org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:413)
        at 
org.apache.solr.client.solrj.impl.CloudSolrClient.lambda$directUpdate$47(CloudSolrClient.java:516)
        at java.util.concurrent.FutureTask.run(FutureTask.java:266)
        at 
org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$128(ExecutorUtil.java:188)
        ... 3 more

{code}

I searched some informations in solr jira and found that in issue [Regression: 
Adding _root_ schema field to existing index causes atomic update 
failures|http://example.com] 
It seems like that in schema.xml atlas use *_root_* filed that not recommended.
https://solr.apache.org/guide/8_9/indexing-nested-documents.html#schema-configuration
 


> Can not create entity with solr 8
> ---------------------------------
>
>                 Key: ATLAS-4530
>                 URL: https://issues.apache.org/jira/browse/ATLAS-4530
>             Project: Atlas
>          Issue Type: Bug
>          Components:  atlas-core
>    Affects Versions: 2.1.0
>            Reporter: cdmikechen
>            Priority: Critical
>
> I upgraded my solr from 7 to 8. When creating a entity, I catch an error
> {code}
> 2022-01-12 17:37:03,670 ERROR - [pool-2-thread-8 - 
> 47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
> failed due to (400) 
> org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
> from server at 
> http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
>  Attempted an atomic/partial update to a child doc without indicating the 
> _root_ somehow., retry? 0 (CloudSolrClient:897)
> 2022-01-12 17:37:07,016 ERROR - [pool-2-thread-8 - 
> 47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
> failed due to (400) 
> org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
> from server at 
> http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
>  Attempted an atomic/partial update to a child doc without indicating the 
> _root_ somehow., retry? 0 (CloudSolrClient:897)
> 2022-01-12 17:37:10,369 ERROR - [pool-2-thread-8 - 
> 47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
> failed due to (400) 
> org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
> from server at 
> http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
>  Attempted an atomic/partial update to a child doc without indicating the 
> _root_ somehow., retry? 0 (CloudSolrClient:897)
> 2022-01-12 17:37:16,929 ERROR - [pool-2-thread-8 - 
> 47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
> failed due to (400) 
> org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
> from server at 
> http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
>  Attempted an atomic/partial update to a child doc without indicating the 
> _root_ somehow., retry? 0 (CloudSolrClient:897)
> 2022-01-12 17:37:23,489 ERROR - [pool-2-thread-8 - 
> 47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
> failed due to (400) 
> org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
> from server at 
> http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
>  Attempted an atomic/partial update to a child doc without indicating the 
> _root_ somehow., retry? 0 (CloudSolrClient:897)
> 2022-01-12 17:37:30,043 ERROR - [pool-2-thread-8 - 
> 47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
> failed due to (400) 
> org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
> from server at 
> http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
>  Attempted an atomic/partial update to a child doc without indicating the 
> _root_ somehow., retry? 0 (CloudSolrClient:897)
> 2022-01-12 17:37:36,600 ERROR - [pool-2-thread-8 - 
> 47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
> failed due to (400) 
> org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
> from server at 
> http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
>  Attempted an atomic/partial update to a child doc without indicating the 
> _root_ somehow., retry? 0 (CloudSolrClient:897)
> 2022-01-12 17:37:49,575 ERROR - [pool-2-thread-8 - 
> 47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
> failed due to (400) 
> org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
> from server at 
> http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
>  Attempted an atomic/partial update to a child doc without indicating the 
> _root_ somehow., retry? 0 (CloudSolrClient:897)
> 2022-01-12 17:38:15,431 ERROR - [pool-2-thread-8 - 
> 47e54dcd-b032-4942-bfbc-52879f409141:] ~ Request to collection vertex_index 
> failed due to (400) 
> org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
> from server at 
> http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
>  Attempted an atomic/partial update to a child doc without indicating the 
> _root_ somehow., retry? 0 (CloudSolrClient:897)
> 2022-01-12 17:38:15,432 ERROR - [pool-2-thread-8 - 
> 47e54dcd-b032-4942-bfbc-52879f409141:] ~ Error while committing index 
> mutations for transaction [30] on index: search (StandardJanusGraph:765)
> org.janusgraph.core.JanusGraphException: Could not execute operation due to 
> backend exception
>       at 
> org.janusgraph.diskstorage.util.BackendOperation.execute(BackendOperation.java:56)
>       at 
> org.janusgraph.diskstorage.indexing.IndexTransaction.flushInternal(IndexTransaction.java:152)
>       at 
> org.janusgraph.diskstorage.indexing.IndexTransaction.commit(IndexTransaction.java:133)
>       at 
> org.janusgraph.diskstorage.BackendTransaction.commitIndexes(BackendTransaction.java:140)
>       at 
> org.janusgraph.graphdb.database.StandardJanusGraph.commit(StandardJanusGraph.java:761)
>       at 
> org.janusgraph.graphdb.transaction.StandardJanusGraphTx.commit(StandardJanusGraphTx.java:1425)
>       at 
> org.janusgraph.graphdb.tinkerpop.JanusGraphBlueprintsGraph$GraphTransaction.doCommit(JanusGraphBlueprintsGraph.java:297)
>       at 
> org.apache.tinkerpop.gremlin.structure.util.AbstractTransaction.commit(AbstractTransaction.java:104)
>       at 
> org.apache.atlas.repository.graphdb.janus.AtlasJanusGraph.commit(AtlasJanusGraph.java:248)
>       at 
> org.apache.atlas.GraphTransactionInterceptor.doCommit(GraphTransactionInterceptor.java:157)
>       at 
> org.apache.atlas.GraphTransactionInterceptor.doCommitOrRollback(GraphTransactionInterceptor.java:152)
>       at 
> org.apache.atlas.GraphTransactionInterceptor.invoke(GraphTransactionInterceptor.java:91)
>       at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
>       at 
> org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671)
>       at 
> org.apache.atlas.repository.store.graph.v2.AtlasEntityStoreV2$$EnhancerBySpringCGLIB$$efb454f3.createOrUpdate(<generated>)
>       at 
> org.apache.atlas.web.rest.EntityREST.createOrUpdate(EntityREST.java:350)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>       at 
> com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
>       at 
> com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$TypeOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:185)
>       at 
> com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
>       at 
> com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
>       at 
> com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
>       at 
> com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
>       at 
> com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
>       at 
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1542)
>       at 
> com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1473)
>       at 
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1419)
>       at 
> com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1409)
>       at 
> com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:409)
>       at 
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:558)
>       at 
> com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:733)
>       at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
>       at 
> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:845)
>       at 
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1712)
>       at 
> org.apache.atlas.web.filters.AuditFilter.doFilter(AuditFilter.java:104)
>       at 
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1699)
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)
>       at 
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)
>       at 
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
>       at 
> org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
>       at 
> org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
>       at 
> org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:111)
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
>       at 
> org.apache.atlas.web.filters.AtlasCSRFPreventionFilter.doFilter(AtlasCSRFPreventionFilter.java:192)
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
>       at 
> org.apache.atlas.web.filters.AtlasAuthenticationFilter.doFilter(AtlasAuthenticationFilter.java:358)
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
>       at 
> org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:170)
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
>       at 
> org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:63)
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
>       at 
> org.apache.atlas.web.filters.StaleTransactionCleanupFilter.doFilter(StaleTransactionCleanupFilter.java:55)
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
>       at 
> org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilterInternal(BasicAuthenticationFilter.java:215)
>       at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
>       at 
> org.apache.atlas.web.filters.AtlasKnoxSSOAuthenticationFilter.redirectToKnox(AtlasKnoxSSOAuthenticationFilter.java:208)
>       at 
> org.apache.atlas.web.filters.AtlasKnoxSSOAuthenticationFilter.doFilter(AtlasKnoxSSOAuthenticationFilter.java:200)
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
>       at 
> org.springframework.security.web.authentication.AbstractAuthenticationProcessingFilter.doFilter(AbstractAuthenticationProcessingFilter.java:200)
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
>       at 
> org.springframework.security.web.authentication.logout.LogoutFilter.doFilter(LogoutFilter.java:116)
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
>       at 
> org.springframework.security.web.header.HeaderWriterFilter.doFilterInternal(HeaderWriterFilter.java:66)
>       at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
>       at 
> org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:105)
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
>       at 
> org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter.doFilterInternal(WebAsyncManagerIntegrationFilter.java:56)
>       at 
> org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
>       at 
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)
>       at 
> org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:214)
>       at 
> org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:177)
>       at 
> org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:347)
>       at 
> org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:263)
>       at 
> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1691)
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:582)
>       at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
>       at 
> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:548)
>       at 
> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:226)
>       at 
> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1180)
>       at 
> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:512)
>       at 
> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
>       at 
> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1112)
>       at 
> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
>       at 
> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:134)
>       at org.eclipse.jetty.server.Server.handle(Server.java:534)
>       at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:320)
>       at 
> org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:251)
>       at 
> org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:273)
>       at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:95)
>       at 
> org.eclipse.jetty.io.SelectChannelEndPoint$2.run(SelectChannelEndPoint.java:93)
>       at 
> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.executeProduceConsume(ExecuteProduceConsume.java:303)
>       at 
> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.produceConsume(ExecuteProduceConsume.java:148)
>       at 
> org.eclipse.jetty.util.thread.strategy.ExecuteProduceConsume.run(ExecuteProduceConsume.java:136)
>       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)
> Caused by: org.janusgraph.diskstorage.TemporaryBackendException: Could not 
> successfully complete backend operation due to repeated temporary exceptions 
> after PT1M40S
>       at 
> org.janusgraph.diskstorage.util.BackendOperation.executeDirect(BackendOperation.java:100)
>       at 
> org.janusgraph.diskstorage.util.BackendOperation.execute(BackendOperation.java:54)
>       ... 103 more
> Caused by: org.janusgraph.diskstorage.TemporaryBackendException: Unable to 
> complete query on Solr.
>       at 
> org.janusgraph.diskstorage.solr.Solr6Index.storageException(Solr6Index.java:1162)
>       at 
> org.janusgraph.diskstorage.solr.Solr6Index.mutate(Solr6Index.java:492)
>       at 
> org.janusgraph.diskstorage.indexing.IndexTransaction$1.call(IndexTransaction.java:155)
>       at 
> org.janusgraph.diskstorage.indexing.IndexTransaction$1.call(IndexTransaction.java:152)
>       at 
> org.janusgraph.diskstorage.util.BackendOperation.executeDirect(BackendOperation.java:68)
>       ... 104 more
> Caused by: org.apache.solr.client.solrj.impl.CloudSolrClient$RouteException: 
> Error from server at 
> http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
>  Attempted an atomic/partial update to a child doc without indicating the 
> _root_ somehow.
>       at 
> org.apache.solr.client.solrj.impl.CloudSolrClient.directUpdate(CloudSolrClient.java:539)
>       at 
> org.apache.solr.client.solrj.impl.CloudSolrClient.sendRequest(CloudSolrClient.java:993)
>       at 
> org.apache.solr.client.solrj.impl.CloudSolrClient.requestWithRetryOnStaleState(CloudSolrClient.java:862)
>       at 
> org.apache.solr.client.solrj.impl.CloudSolrClient.request(CloudSolrClient.java:793)
>       at 
> org.janusgraph.diskstorage.solr.Solr6Index.commitChanges(Solr6Index.java:611)
>       at 
> org.janusgraph.diskstorage.solr.Solr6Index.mutate(Solr6Index.java:487)
>       ... 107 more
> Caused by: 
> org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
> from server at 
> http://solr-cluster-0.solr-cluster-headless.bigdata-storage:8983/solr/vertex_index_shard2_replica_n6:
>  Attempted an atomic/partial update to a child doc without indicating the 
> _root_ somehow.
>       at 
> org.apache.solr.client.solrj.impl.HttpSolrClient.executeMethod(HttpSolrClient.java:627)
>       at 
> org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:253)
>       at 
> org.apache.solr.client.solrj.impl.HttpSolrClient.request(HttpSolrClient.java:242)
>       at 
> org.apache.solr.client.solrj.impl.LBHttpSolrClient.doRequest(LBHttpSolrClient.java:483)
>       at 
> org.apache.solr.client.solrj.impl.LBHttpSolrClient.request(LBHttpSolrClient.java:413)
>       at 
> org.apache.solr.client.solrj.impl.CloudSolrClient.lambda$directUpdate$47(CloudSolrClient.java:516)
>       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>       at 
> org.apache.solr.common.util.ExecutorUtil$MDCAwareThreadPoolExecutor.lambda$execute$128(ExecutorUtil.java:188)
>       ... 3 more
> {code}
> I searched some informations in solr jira and found that in issue 
> [Regression: Adding _root_ schema field to existing index causes atomic 
> update failures|http://example.com] 
> It seems like that in schema.xml atlas use *_root_* filed that not 
> recommended.
> https://solr.apache.org/guide/8_9/indexing-nested-documents.html#schema-configuration
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to