elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.7k stars 8.24k forks source link

[ML] CSV File upload fails with Cannot invoke "org.elasticsearch.common.settings.Setting.isServerlessPublic()" in Observability serverless project in production #164637

Closed bhavyarm closed 1 year ago

bhavyarm commented 1 year ago

Kibana version: main

Browser version: chrome latest

Browser OS version: OS X

Serverless project: Observability production

Original install method (e.g. download page, yum, from source, etc.): On production

Describe the bug: Tried to upload a csv file using visualizer -> file upload and it failed with Cannot invoke "org.elasticsearch.common.settings.Setting.isServerlessPublic() error during create index phase.

Full error:

Cannot invoke "org.elasticsearch.common.settings.Setting.isServerlessPublic()" because the return value of "org.elasticsearch.common.settings.IndexScopedSettings.get(String)" is null
More
[{"type":"null_pointer_exception","reason":"Cannot invoke \"org.elasticsearch.common.settings.Setting.isServerlessPublic()\" because the return value of \"org.elasticsearch.common.settings.IndexScopedSettings.get(String)\" is null"}]
Screenshot 2023-08-23 at 3 57 43 PM
elasticmachine commented 1 year ago

Pinging @elastic/ml-ui (:ml)

bhavyarm commented 1 year ago

Please note this works fine in 8.10.0 BC1 for the same CSV. I am attaching the CSV here squirrels.csv

jgowdyelastic commented 1 year ago

This can no longer be reproduced. The elasticsearch issue causing this problem appears to have been resolved.