Optimize ElasticSearch 6.x 7.x plugin compatibility#607
Optimize ElasticSearch 6.x 7.x plugin compatibility#607wu-sheng merged 18 commits intoapache:mainfrom
Conversation
…ptor java.lang.NoClassDefFoundError
…ptor java.lang.NoClassDefFoundError
|
Could you update the test scenarios covering this case? |
add function test in |
|
It seems the test fails on elasticsearch-7 case, please recheck. https://github.com/apache/skywalking-java/actions/runs/6107504935/job/16576014494?pr=607 |
fixed |
|
Still failing. |
It looks like I think |
|
Healthcheck is for determining the app and dependencies are standing by. I think it is necessary. What is the cause of this failing? |
It seems that there is an abnormal |
|
This is something I can't directly tell the reason. If it exists, it is traced. So, maybe some parts of the codes are using or calling |
|
This could be an illegal string? |
the 7.3 7.17 |
|
Are these new instrumentations or new versions you are adding to the tests? This seems to be 7.x relative issues, and the title of the PR indicates 6.x plugin bug. Could you update the title and change logs accordingly? |
|
Still have errors. |
Let me see where the image was pulled from. |
|
I remember Elasticsearch 7.10 changed the license, so maybe it needs to download from a new docker hub repo? If so, you have to separate the test cases |
| <dependencies> | ||
| </dependencies> |
There was a problem hiding this comment.
I think this is not necessary.
| <properties> | ||
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
| </properties> |
| EnhancedInstance actions; | ||
| if (allArguments.length > 2) { | ||
| // (Settings settings, GenericAction<Request, Response> action, TransportService transportService) | ||
| actions = (EnhancedInstance) allArguments[2]; | ||
| } else { | ||
| // 7.11 + | ||
| // (ActionType<Response> action, TransportService transportService) | ||
| actions = (EnhancedInstance) allArguments[1]; | ||
| } |
There was a problem hiding this comment.
This is not a proper way to fix this, please use different interceptors with different instrumentations.
|
The |
|
I tried to re-run, if you pull too many versions of images, I have concerns whether the disk volume in the CI env is enough. |





CHANGESlog.The parameters of the analyze method are different between 6.x and 7.x versions: