-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Exception while creating a PIT with high level client #13144
Comments
@aravind-musigumpula can you share your createPitRequest? |
[Triage - attendees 1 2 3 4 5 6] |
@peternied @Hailong-am
|
@aravind-musigumpula Could you writing out the step by step instructions including create the index, populating it and then the request to create the PIT? For example see this bug that has specific reproduction steps and expectations for them [1] Alternatively, if you update one of the test cases to reproduce the failure that would be good too, then you can publish a draft PR so it can be shared and investigated by members of the community, what do you think? |
Hi @peternied |
thanks @aravind-musigumpula, i am trying to setup same in my local to see whether i can reproduce this error |
Some similar issues I have found : |
By looking into this, it should be same cause as explained elastic/elasticsearch#68617 (comment) |
Describe the bug
I am using opensearch rest high level client 2.12.0 and java version 21.
While trying to create a PIT in opensearch, getting the below exception:
Any idea how to solve this?
Related component
Clients
To Reproduce
I am using trinodb as connector to read data from opensource, Creating the PIT as follows:
CreatePitRequest pitRequest = new CreatePitRequest(new TimeValue(60000), true, index); restHighLevelClient.createPit(pitRequest, RequestOptions.DEFAULT));
During the above call with rest high level client, getting an exception when sdk is trying to build the request before hitting opensource.
Expected behavior
When creating PIT using high level client, PIT should be created and PITResponse should be returned.
Additional Details
Plugins
Please list all plugins currently enabled.
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: