[PR] [FLINK-33859] Support OpenSearch v2 [flink-connector-opensearch]

2023-12-15 Thread via GitHub


snuyanzin opened a new pull request, #38:
URL: https://github.com/apache/flink-connector-opensearch/pull/38

   The PR adds support for OpenSearch v2
   
   Since there are breking changes introduced in OpenSearch there is no way to 
support one jar working for both v1 and v2.
   For that reason it is now splitted in same way like it is for elastic: one 
jar for v1, another for v2.
   
   Connector name for v1 is same as before - `opensearch`, for v2 it is 
`opensearch-2`.
   
   Since v2 is java 11 based there is a java11 maven profile for v2 which makes 
opensearch connector for v2 building only in case of java 11+.   There are some 
attempts on OpenSearch side to improve this situation, in case of success 
building with java8 for OpenSearch v2 could be easily added by removal of that 
profile.
   
   
   Also PR  bumps dependency for Flink to 1.18.0. The reason is incompatible 
changes for ArchUnit which makes the code passing archunit tests either only 
for 1.17 or only for 1.18., 1.19. 
   
   Also it adds support for java 17
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-33859] Support OpenSearch v2 [flink-connector-opensearch]

2024-02-21 Thread via GitHub


snuyanzin commented on PR #38:
URL: 
https://github.com/apache/flink-connector-opensearch/pull/38#issuecomment-1956291868

   @reswqa do you have time to have a look here please?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-33859] Support OpenSearch v2 [flink-connector-opensearch]

2024-02-22 Thread via GitHub


snuyanzin commented on PR #38:
URL: 
https://github.com/apache/flink-connector-opensearch/pull/38#issuecomment-1959277002

   thanks for the feedback @reswqa 
   
   >I just have one question: Since the legacy sink implementation (based on 
the sink function) is deprecated, why did we need to include it in OpenSearch 
V2 still?
   
   Here the intention was just to support both versions. The approach was same 
as for version 1 and for ElasticSearch connector
   
   I guess in fact we need to address this issue with deprecated Sink for both 
Elastic (6, 7) and OpenSearch(1, 2) connectors.
   
   I would suggest to create a dedicated follow up task for that, WDYT?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-33859] Support OpenSearch v2 [flink-connector-opensearch]

2024-02-22 Thread via GitHub


reta commented on PR #38:
URL: 
https://github.com/apache/flink-connector-opensearch/pull/38#issuecomment-1959456788

   > I would suggest to create a dedicated follow up task for that, WDYT?
   
   @snuyanzin fyi, we have 
https://github.com/apache/flink-connector-opensearch/pull/5 open 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-33859] Support OpenSearch v2 [flink-connector-opensearch]

2024-02-22 Thread via GitHub


reswqa commented on PR #38:
URL: 
https://github.com/apache/flink-connector-opensearch/pull/38#issuecomment-1960659160

   > I would suggest to create a dedicated follow up task for that, WDYT?
   
   Sounds good.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-33859] Support OpenSearch v2 [flink-connector-opensearch]

2023-12-15 Thread via GitHub


snuyanzin commented on PR #38:
URL: 
https://github.com/apache/flink-connector-opensearch/pull/38#issuecomment-1858607663

   I'm curius whether multirelease jar supports cases when for the same Flink 
cluster there is a necessity to use both Opensearch v1 and OpenSearch v2 
connectors and both are built with jdk11 for instance?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-33859] Support OpenSearch v2 [flink-connector-opensearch]

2023-12-16 Thread via GitHub


reta commented on PR #38:
URL: 
https://github.com/apache/flink-connector-opensearch/pull/38#issuecomment-1858813200

   > Since currently (main branch) connector is building with jdk8, 11 then 
IIUC it doesn't solve the issue when connector both for v1 and v2 is building 
with jdk11. Or did I miss anything?
   
   Correct, hence the profiles that we touched upon the other day, jdk-8 - 1.x, 
jdk-11 - 2.x
   
   > Here in the PR I also extracted common classes into base module and in v1, 
v2 related modules are only opensearch api dependent classes
   
   I have objections to that (it is a right way to me), I am just suggesting 
more simpler alternative that we might consider


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-33859] Support OpenSearch v2 [flink-connector-opensearch]

2023-12-16 Thread via GitHub


snuyanzin commented on PR #38:
URL: 
https://github.com/apache/flink-connector-opensearch/pull/38#issuecomment-1858816015

   > the profiles that we touched upon the other day, jdk-8 - 1.x, jdk-11 - 2.x
   
   I guess the issue is that so far the build by default is happening for jdk8 
and 11, that means that ideally we need to keep it building with jdk11 for v1 
as well


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-33859] Support OpenSearch v2 [flink-connector-opensearch]

2023-12-16 Thread via GitHub


reta commented on PR #38:
URL: 
https://github.com/apache/flink-connector-opensearch/pull/38#issuecomment-1858827104

   > I guess the issue is that so far the build/test by default is happening 
for jdk8 and 11, that means that ideally we need to keep it building/testing 
with jdk11 for v1 as well
   
   Fair point, but we cannot build for jdk8 for 2.x, so it is no win/win in any 
case sadly 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-33859] Support OpenSearch v2 [flink-connector-opensearch]

2023-12-17 Thread via GitHub


snuyanzin commented on PR #38:
URL: 
https://github.com/apache/flink-connector-opensearch/pull/38#issuecomment-1859140916

   at least we could build/test with what it is allowed 
   this is what I tried to do and this is how it looks like with this PR
   |  Opensearch|  jdk8 | jdk11  | jdk17 (Flink1.18+)   | jdk21 (Flink 1.19+)  |
   |---|---|---|---|---|
   | v1  | ✅   |✅   | ✅   |✅   |
   | v2  | no since OS v2 baseline is jdk11  | ✅  |✅   |✅   |
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-33859] Support OpenSearch v2 [flink-connector-opensearch]

2023-12-17 Thread via GitHub


reta commented on PR #38:
URL: 
https://github.com/apache/flink-connector-opensearch/pull/38#issuecomment-1859212485

   > this is what I tried to do and this is how it looks like with this PR
   
   Yep. it looks reasonable


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-33859] Support OpenSearch v2 [flink-connector-opensearch]

2024-04-14 Thread via GitHub


joshbsemperis commented on PR #38:
URL: 
https://github.com/apache/flink-connector-opensearch/pull/38#issuecomment-2054001884

   Can this be resolved and pushed? Is there a reason why it hasnt? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-33859] Support OpenSearch v2 [flink-connector-opensearch]

2024-04-14 Thread via GitHub


snuyanzin commented on PR #38:
URL: 
https://github.com/apache/flink-connector-opensearch/pull/38#issuecomment-2054094757

   first this should be  reviewed/approved/merged 
   https://github.com/apache/flink-connector-opensearch/pull/42
   then we could continue with this PR


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-33859] Support OpenSearch v2 [flink-connector-opensearch]

2024-04-15 Thread via GitHub


snuyanzin commented on PR #38:
URL: 
https://github.com/apache/flink-connector-opensearch/pull/38#issuecomment-2056231334

   this is in my todo list for today/tomorrow


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-33859] Support OpenSearch v2 [flink-connector-opensearch]

2024-04-24 Thread via GitHub


snuyanzin commented on PR #38:
URL: 
https://github.com/apache/flink-connector-opensearch/pull/38#issuecomment-2075783174

   Thanks for the review
   I solved the conflicts and added profiles to simplify releasing separately 
for v1 and v2 as was mentioned in ml


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-33859] Support OpenSearch v2 [flink-connector-opensearch]

2024-04-24 Thread via GitHub


snuyanzin merged PR #38:
URL: https://github.com/apache/flink-connector-opensearch/pull/38


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-33859] Support OpenSearch v2 [flink-connector-opensearch]

2024-05-22 Thread via GitHub


stanb commented on PR #38:
URL: 
https://github.com/apache/flink-connector-opensearch/pull/38#issuecomment-2124474905

   where can i download opensearch 2 compatible flink sql connector jar?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-33859] Support OpenSearch v2 [flink-connector-opensearch]

2024-05-22 Thread via GitHub


snuyanzin commented on PR #38:
URL: 
https://github.com/apache/flink-connector-opensearch/pull/38#issuecomment-2124486516

   It is in voting stage
   you can find links to artifacts (including jars for os v2) in corresponding 
email thread
   https://lists.apache.org/thread/by44cdpfv6p9394vwxhh1vzh3rfskzms


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-33859] Support OpenSearch v2 [flink-connector-opensearch]

2024-05-22 Thread via GitHub


stanb commented on PR #38:
URL: 
https://github.com/apache/flink-connector-opensearch/pull/38#issuecomment-2124685703

   > It is in voting stage you can find links to artifacts (including jars for 
os v2) in corresponding email thread 
https://lists.apache.org/thread/by44cdpfv6p9394vwxhh1vzh3rfskzms
   
   I mean the built `jar` file.
   I tried to build it myself and use with my jobs
   ```
   FROM maven AS build-opensearch-connector
   
   RUN git clone https://github.com/apache/flink-connector-opensearch.git
   WORKDIR /flink-connector-opensearch
   RUN git checkout v2.0.0-rc1
   RUN mvn clean package -U -B --no-transfer-progress -Dflink.version=1.18.1 
-DskipTests -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120
   
   FROM flink:1.18.1
   
   #
   # Add additional connectors not included in the default Flink image
   #
   
   ## Opensearch connector
   ##ADD 
https://repo.maven.apache.org/maven2/org/apache/flink/flink-sql-connector-opensearch/1.1.0-1.18/flink-sql-connector-opensearch-1.1.0-1.18.jar
 /opt/flink/lib/
   COPY --from=build-opensearch-connector 
/flink-connector-opensearch/flink-sql-connector-opensearch2/target/flink-sql-connector-opensearch2-2.0.0.jar
 /opt/flink/lib/
   
   ## JDBC connector
   ADD 
https://repo.maven.apache.org/maven2/org/apache/flink/flink-connector-jdbc/3.1.2-1.18/flink-connector-jdbc-3.1.2-1.18.jar
 /opt/flink/lib/
   
   ## Postgresql JDBC Driver
   ADD https://jdbc.postgresql.org/download/postgresql-42.7.1.jar 
/opt/flink/lib/
   
   RUN chown flink:flink /opt/flink/lib/*
   ```
   Then I submitting my sql job that copies data from postgres table to 
opensearch index
   ```
   bin/sql-client.sh -f sql/flink.sql
   ```
   and I get following error:
   ```
   2024-05-22 15:25:47
   org.apache.flink.runtime.JobException: Recovery is suppressed by 
NoRestartBackoffTimeStrategy
at 
org.apache.flink.runtime.executiongraph.failover.flip1.ExecutionFailureHandler.handleFailure(ExecutionFailureHandler.java:176)
at 
org.apache.flink.runtime.executiongraph.failover.flip1.ExecutionFailureHandler.getFailureHandlingResult(ExecutionFailureHandler.java:107)
at 
org.apache.flink.runtime.scheduler.DefaultScheduler.recordTaskFailure(DefaultScheduler.java:285)
at 
org.apache.flink.runtime.scheduler.DefaultScheduler.handleTaskFailure(DefaultScheduler.java:276)
at 
org.apache.flink.runtime.scheduler.DefaultScheduler.onTaskFailed(DefaultScheduler.java:269)
at 
org.apache.flink.runtime.scheduler.SchedulerBase.onTaskExecutionStateUpdate(SchedulerBase.java:764)
at 
org.apache.flink.runtime.scheduler.SchedulerBase.updateTaskExecutionState(SchedulerBase.java:741)
at 
org.apache.flink.runtime.scheduler.SchedulerNG.updateTaskExecutionState(SchedulerNG.java:83)
at 
org.apache.flink.runtime.jobmaster.JobMaster.updateTaskExecutionState(JobMaster.java:488)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 
Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at 
org.apache.flink.runtime.rpc.pekko.PekkoRpcActor.lambda$handleRpcInvocation$1(PekkoRpcActor.java:309)
at 
org.apache.flink.runtime.concurrent.ClassLoadingUtils.runWithContextClassLoader(ClassLoadingUtils.java:83)
at 
org.apache.flink.runtime.rpc.pekko.PekkoRpcActor.handleRpcInvocation(PekkoRpcActor.java:307)
at 
org.apache.flink.runtime.rpc.pekko.PekkoRpcActor.handleRpcMessage(PekkoRpcActor.java:222)
at 
org.apache.flink.runtime.rpc.pekko.FencedPekkoRpcActor.handleRpcMessage(FencedPekkoRpcActor.java:85)
at 
org.apache.flink.runtime.rpc.pekko.PekkoRpcActor.handleMessage(PekkoRpcActor.java:168)
at 
org.apache.pekko.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:33)
at 
org.apache.pekko.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:29)
at scala.PartialFunction.applyOrElse(PartialFunction.scala:127)
at scala.PartialFunction.applyOrElse$(PartialFunction.scala:126)
at 
org.apache.pekko.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:29)
at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:175)
at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:176)
at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:176)
at org.apache.pekko.actor.Actor.aroundReceive(Actor.scala:547)
at org.apache.pekko.actor.Actor.aroundReceive$(Actor.scala:545)
at 
org.apache.pekko.actor.AbstractActor.aroundReceive(AbstractActor.scala:229)
at org.apache.pekko.actor.ActorCell.receiveMessage(ActorCell.scala:590)
at org.apache.pekko.actor.ActorCell.invoke(ActorCell.scala:557)
at org.apache.pekk

Re: [PR] [FLINK-33859] Support OpenSearch v2 [flink-connector-opensearch]

2024-05-22 Thread via GitHub


snuyanzin commented on PR #38:
URL: 
https://github.com/apache/flink-connector-opensearch/pull/38#issuecomment-2124694502

   >I mean the built jar file.
   I tried to build it myself and use with my jobs
   
   if you open the email thread 
https://lists.apache.org/thread/by44cdpfv6p9394vwxhh1vzh3rfskzms
   
   you will see 
   >* the official Apache source release to be deployed to dist.apache.org [2],
   ...
   [2]
   
https://dist.apache.org/repos/dist/dev/flink/flink-connector-opensearch-2.0.0-rc1
   
   and this is a link to the folder  containing jars, however again these jars 
are only RC, not the release yet


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-33859] Support OpenSearch v2 [flink-connector-opensearch]

2024-05-22 Thread via GitHub


stanb commented on PR #38:
URL: 
https://github.com/apache/flink-connector-opensearch/pull/38#issuecomment-2124700126

   there is only `tgz` that contains sources. there is no compiled `jar`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-33859] Support OpenSearch v2 [flink-connector-opensearch]

2024-05-22 Thread via GitHub


snuyanzin commented on PR #38:
URL: 
https://github.com/apache/flink-connector-opensearch/pull/38#issuecomment-2124703454

   wrong link
   https://repository.apache.org/content/repositories/orgapacheflink-1735


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-33859] Support OpenSearch v2 [flink-connector-opensearch]

2024-05-22 Thread via GitHub


stanb commented on PR #38:
URL: 
https://github.com/apache/flink-connector-opensearch/pull/38#issuecomment-2124753448

   With this jar i get another error:
   ```
   2024-05-22 15:57:26
   org.apache.flink.runtime.JobException: Recovery is suppressed by 
NoRestartBackoffTimeStrategy
at 
org.apache.flink.runtime.executiongraph.failover.flip1.ExecutionFailureHandler.handleFailure(ExecutionFailureHandler.java:176)
at 
org.apache.flink.runtime.executiongraph.failover.flip1.ExecutionFailureHandler.getFailureHandlingResult(ExecutionFailureHandler.java:107)
at 
org.apache.flink.runtime.scheduler.DefaultScheduler.recordTaskFailure(DefaultScheduler.java:285)
at 
org.apache.flink.runtime.scheduler.DefaultScheduler.handleTaskFailure(DefaultScheduler.java:276)
at 
org.apache.flink.runtime.scheduler.DefaultScheduler.onTaskFailed(DefaultScheduler.java:269)
at 
org.apache.flink.runtime.scheduler.SchedulerBase.onTaskExecutionStateUpdate(SchedulerBase.java:764)
at 
org.apache.flink.runtime.scheduler.SchedulerBase.updateTaskExecutionState(SchedulerBase.java:741)
at 
org.apache.flink.runtime.scheduler.SchedulerNG.updateTaskExecutionState(SchedulerNG.java:83)
at 
org.apache.flink.runtime.jobmaster.JobMaster.updateTaskExecutionState(JobMaster.java:488)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 
Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at 
org.apache.flink.runtime.rpc.pekko.PekkoRpcActor.lambda$handleRpcInvocation$1(PekkoRpcActor.java:309)
at 
org.apache.flink.runtime.concurrent.ClassLoadingUtils.runWithContextClassLoader(ClassLoadingUtils.java:83)
at 
org.apache.flink.runtime.rpc.pekko.PekkoRpcActor.handleRpcInvocation(PekkoRpcActor.java:307)
at 
org.apache.flink.runtime.rpc.pekko.PekkoRpcActor.handleRpcMessage(PekkoRpcActor.java:222)
at 
org.apache.flink.runtime.rpc.pekko.FencedPekkoRpcActor.handleRpcMessage(FencedPekkoRpcActor.java:85)
at 
org.apache.flink.runtime.rpc.pekko.PekkoRpcActor.handleMessage(PekkoRpcActor.java:168)
at 
org.apache.pekko.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:33)
at 
org.apache.pekko.japi.pf.UnitCaseStatement.apply(CaseStatements.scala:29)
at scala.PartialFunction.applyOrElse(PartialFunction.scala:127)
at scala.PartialFunction.applyOrElse$(PartialFunction.scala:126)
at 
org.apache.pekko.japi.pf.UnitCaseStatement.applyOrElse(CaseStatements.scala:29)
at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:175)
at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:176)
at scala.PartialFunction$OrElse.applyOrElse(PartialFunction.scala:176)
at org.apache.pekko.actor.Actor.aroundReceive(Actor.scala:547)
at org.apache.pekko.actor.Actor.aroundReceive$(Actor.scala:545)
at 
org.apache.pekko.actor.AbstractActor.aroundReceive(AbstractActor.scala:229)
at org.apache.pekko.actor.ActorCell.receiveMessage(ActorCell.scala:590)
at org.apache.pekko.actor.ActorCell.invoke(ActorCell.scala:557)
at org.apache.pekko.dispatch.Mailbox.processMailbox(Mailbox.scala:280)
at org.apache.pekko.dispatch.Mailbox.run(Mailbox.scala:241)
at org.apache.pekko.dispatch.Mailbox.exec(Mailbox.scala:253)
at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at 
java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown 
Source)
at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)
at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown 
Source)
   Caused by: java.lang.ExceptionInInitializerError
at 
org.apache.flink.opensearch2.shaded.org.opensearch.transport.RemoteClusterService.lambda$static$1(RemoteClusterService.java:123)
at 
org.apache.flink.opensearch2.shaded.org.opensearch.common.settings.Setting.affixKeySetting(Setting.java:2837)
at 
org.apache.flink.opensearch2.shaded.org.opensearch.transport.RemoteClusterService.(RemoteClusterService.java:120)
at 
org.apache.flink.opensearch2.shaded.org.opensearch.node.Node.(Node.java:318)
at 
org.apache.flink.opensearch2.shaded.org.opensearch.common.util.concurrent.OpenSearchExecutors.threadName(OpenSearchExecutors.java:361)
at 
org.apache.flink.opensearch2.shaded.org.opensearch.common.util.concurrent.OpenSearchExecutors.daemonThreadFactory(OpenSearchExecutors.java:375)
at 
org.apache.flink.opensearch2.shaded.org.opensearch.threadpool.Scheduler.initScheduler(Scheduler.java:73)
at 
org.apache.flink.opensearch2.shaded.org.opensearch.

Re: [PR] [FLINK-33859] Support OpenSearch v2 [flink-connector-opensearch]

2024-05-23 Thread via GitHub


akotek commented on PR #38:
URL: 
https://github.com/apache/flink-connector-opensearch/pull/38#issuecomment-2127082383

   @snuyanzin I'm also having this issue, what should we do?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [PR] [FLINK-33859] Support OpenSearch v2 [flink-connector-opensearch]

2024-05-23 Thread via GitHub


snuyanzin commented on PR #38:
URL: 
https://github.com/apache/flink-connector-opensearch/pull/38#issuecomment-2127094446

   could you provide a minimum reproducing test for that?
   I guess something like IT test


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org