Unknown error when trying to read some data in Elasticsearch


#1

I’ve connected Dremio to my elasticsearch cluster, but when I’m trying to interact with some specific datasets I get the “Something went wrong” and the logs say:

2019-03-12 21:08:02,939 [qtp961997107-144] ERROR c.d.d.server.GenericExceptionMapper - Unexpected exception when processing POST http://localhost:9047/apiv2/datasets/new_untitled?parentDataset=[...]".doc&newVersion=0000794910403570&limit=0 : java.lang.NullPointerException
java.lang.NullPointerException: null
at com.dremio.dac.explore.DatasetsResource.getDatasetSummary(DatasetsResource.java:270) ~[dremio-dac-backend-3.1.6-201903070042400578-fdcd3a8.jar:3.1.6-201903070042400578-fdcd3a8]
at com.dremio.dac.explore.DatasetsResource.newUntitled(DatasetsResource.java:141) ~[dremio-dac-backend-3.1.6-201903070042400578-fdcd3a8.jar:3.1.6-201903070042400578-fdcd3a8]
at com.dremio.dac.explore.DatasetsResource.newUntitledFromParent(DatasetsResource.java:208) ~[dremio-dac-backend-3.1.6-201903070042400578-fdcd3a8.jar:3.1.6-201903070042400578-fdcd3a8]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_201]
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_201]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.8.0_201]
at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.8.0_201]

How can I identify what is wrong?


#2

This was my own error and I didn’t read the logs extensively enough. I have a rev proxy that misfired when my indexes had a certain word in the url, causing …/_cluster/state/metadata/xxx to fail.