Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
2.13
Describe the issue:
I am trying to configure S3data Source and i am getting below error when the job is automatically submitted to EMR serveless.
I am using the demo configuration
24/04/23 01:50:38 ERROR FlintREPL: Session error: Failed to execute update request on index: .query_execution_request_opss3test, id: ZVFhZ0JRVmpob09QU1MzVGVzdA==
java.lang.RuntimeException: Failed to execute update request on index: .query_execution_request_opss3test, id: ZVFhZ0JRVmpob09QU1MzVGVzdA==
at org.opensearch.flint.core.storage.OpenSearchUpdater.updateDocument(OpenSearchUpdater.java:80) ~[org.opensearch_opensearch-spark-standalone_2.12-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
at org.opensearch.flint.core.storage.OpenSearchUpdater.upsert(OpenSearchUpdater.java:35) ~[org.opensearch_opensearch-spark-standalone_2.12-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
at org.apache.spark.sql.FlintREPL$.setupFlintJob(FlintREPL.scala:433) [org.opensearch_opensearch-spark-sql-application_2.12-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
at org.apache.spark.sql.FlintREPL$.setupFlintJobWithExclusionCheck(FlintREPL.scala:307) [org.opensearch_opensearch-spark-sql-application_2.12-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
at org.apache.spark.sql.FlintREPL$.main(FlintREPL.scala:176) [org.opensearch_opensearch-spark-sql-application_2.12-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
at org.apache.spark.sql.FlintREPL.main(FlintREPL.scala) [org.opensearch_opensearch-spark-sql-application_2.12-0.3.0-SNAPSHOT.jar:0.3.0-SNAPSHOT]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?]
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?]
at org.apache.spark.deploy.JavaMainApplication.start(SparkApplication.scala:52) [spark-core_2.12-3.5.0-amzn-0.jar:3.5.0-amzn-0]
at org.apache.spark.deploy.SparkSubmit.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:1075) [spark-core_2.12-3.5.0-amzn-0.jar:3.5.0-amzn-0]
at org.apache.spark.deploy.SparkSubmit.doRunMain$1(SparkSubmit.scala:194) [spark-core_2.12-3.5.0-amzn-0.jar:3.5.0-amzn-0]
at org.apache.spark.deploy.SparkSubmit.submit(SparkSubmit.scala:217) [spark-core_2.12-3.5.0-amzn-0.jar:3.5.0-amzn-0]
at org.apache.spark.deploy.SparkSubmit.doSubmit(SparkSubmit.scala:91) [spark-core_2.12-3.5.0-amzn-0.jar:3.5.0-amzn-0]
at org.apache.spark.deploy.SparkSubmit$$anon$2.doSubmit(SparkSubmit.scala:1167) [spark-core_2.12-3.5.0-amzn-0.jar:3.5.0-amzn-0]
at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:1176) [spark-core_2.12-3.5.0-amzn-0.jar:3.5.0-amzn-0]
at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala) [spark-core_2.12-3.5.0-amzn-0.jar:3.5.0-amzn-0]
Caused by: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
See https://opensearch.org/docs/latest/clients/java-rest-high-level/ for troubleshooting.
Configuration:
Relevant Logs or Screenshots: