Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading CSV sample data is broken in Serverless #165697

Closed
vadimkibana opened this issue Sep 5, 2023 · 3 comments · Fixed by #165390
Closed

Loading CSV sample data is broken in Serverless #165697

vadimkibana opened this issue Sep 5, 2023 · 3 comments · Fixed by #165390
Labels
bug Fixes for quality problems that affect the customer experience Feature:Add Data Add Data and sample data feature on Home :ml Project:Serverless MVP Project:Serverless Work as part of the Serverless project for its initial release

Comments

@vadimkibana
Copy link
Contributor

Kibana version: Serverless

Elasticsearch version: Serverless

When if one goes to app/home#/tutorial_directory/sampleData and tries to load a CSV file, it errors with the following error in the screenshot.

Screenshots (if relevant):

image
@vadimkibana vadimkibana added the bug Fixes for quality problems that affect the customer experience label Sep 5, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Sep 5, 2023
@vadimkibana vadimkibana added Project:Serverless Work as part of the Serverless project for its initial release Project:Serverless MVP Initial Serverless Feature:Add Data Add Data and sample data feature on Home labels Sep 5, 2023
@peteharverson
Copy link
Contributor

This will be fixed by this PR from @nreese - #165390.

@peteharverson
Copy link
Contributor

Note a workaround before #165390 is merged is to remove the number_of_shards setting from the Advanced tab in the Import data step:

image

@peteharverson peteharverson removed the needs-team Issues missing a team label label Sep 6, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Sep 6, 2023
@peteharverson peteharverson added :ml and removed needs-team Issues missing a team label labels Sep 6, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

jbudz pushed a commit that referenced this issue Sep 6, 2023
closes #165366
closes #165367
close #165697
replaces #165337

Serverless elasticsearch does not support index setting
`number_of_shards`

PR resolves issue be removing `number_of_shards`. When
`number_of_shards` was introduced way back when, the default value was
5. Now the default value is one. Therefore there is no point providing
the setting since its the same as the default. Just removing so code
works across both serverless and traditional deployments

PR also cleans up some types that are duplicative of elasticsearch types

---------

Co-authored-by: kibanamachine <[email protected]>
Co-authored-by: Tiago Costa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Add Data Add Data and sample data feature on Home :ml Project:Serverless MVP Project:Serverless Work as part of the Serverless project for its initial release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants