Re: Failed to create schema tree when running Drill View Query

2018-10-11 Thread Kunal Khatua
There is another possible explanation of why this is happening.  The `createFullRootSchema` seems to be called as part of the initial schema creation required for a query, and that means initialization of the backend storage plugins for the new nodes. You might need to disable some of the storag

Re: Failed to create schema tree when running Drill View Query

2018-10-11 Thread Divya Gehlot
Hi Abhishek, Thanks for the response with clarifications ! When I jumped into the logs .. May be I should provide some additional information regarding the Drill cluster before sharing more information what I found in the logs I have 6 nodes cluster where the 3 nodes are old and 3 are newly added n

Re: Failed to create schema tree when running Drill View Query

2018-10-10 Thread Abhishek Girish
Hey Divha, That's usually seen when the underlying FS cannot recognize the session user when creating the schema tree. For example if impersonation is enabled and no user is passed, Drill tries to use an "anonymous" user. I've seen that in case of MapR-FS, that it cannot use such a user to proceed

Failed to create schema tree when running Drill View Query

2018-10-10 Thread Divya Gehlot
Hi , At times I get below error when running the View query which fetches the whole data set org.apache.drill.common.exceptions.UserRemoteException: RESOURCE ERROR: Failed to create schema tree. The Strange behaviour is if I wait for sometime for say 2-3 minutes and run the query again it works