wenjin272 commented on PR #708:
URL: https://github.com/apache/flink-agents/pull/708#issuecomment-4657303598
The nightly e2e tests threw the following exception:
```
Caused by: java.lang.annotation.IncompleteAnnotationException:
org.apache.flink.agents.api.annotation.Action missing element listenEvents
at
java.base/sun.reflect.annotation.AnnotationInvocationHandler.invoke(AnnotationInvocationHandler.java:83)
at com.sun.proxy.$Proxy21.listenEvents(Unknown Source)
at
org.apache.flink.agents.plan.AgentPlan.extractActionsFromAgent(AgentPlan.java:349)
at org.apache.flink.agents.plan.AgentPlan.<init>(AgentPlan.java:138)
at
org.apache.flink.agents.runtime.env.RemoteExecutionEnvironment$RemoteAgentBuilder.apply(RemoteExecutionEnvironment.java:177)
```
In 0.3 we renamed the `Action` decorator/annotation parameter from
`listenEvents` to `listenEventTypes`. However, the flink-agents that install.sh
pulls into the Flink cluster is 0.2.1, so submitting a 0.3-based example to a
standalone cluster causes a version mismatch.
I think we should replace the flink-agents in the cluster with the jar built
from the current codebase. Concretely, we can first use install.sh to install
Flink and flink-agents, then build flink-agents from the current branch and
replace the flink-agents jar in FLINK_HOME/lib.
Since this issue is primarily aimed at testing the submission of the
quickstart example, and version 0.3 has already entered code freeze, I am
changing the fixVersion of this issue from 0.3.0 to 0.4.0. In version 0.4, we
will focus on refining the maturity and stability of existing capabilities.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]