Open marty-macfly opened 3 years ago
Hello @marty-macfly Pinpoint has been officially tested up to version 1.7.1. So, it is recommended to use 1.7.1 by upgrading the version instead of 1.3.1.
For the newer version, we haven't tested it yet, so we recommend looking at the problem. Perhaps that is the case that there is no problem with the pinpoint logic and the context cannot be handled inside the flink.
@RoySRose It is better to upgrade the flink version used in the docker image.
Hello @minwoo-jung
Thanks for your feedback, I've update my PR #100 on pinpoint-docker to bump Flink to version 1.7 and load the job when flink startup so @RoySRose can have a look.
I upgraded flink v1.12.3 and got the same error. The answer I got through the query is that getRuntimeContext can only be called within the open method.
I'm trying to move the code under the configure method to the open method, and it works, but I don't know if this is the right way to handle it.
Is there any change in the supported Flink version? Or is it still 1.7.2? Thanks.
Thanks for the work done on Pinpoint, I've just setup application inspector job on Flink version 1.3.1 which is the Flink version used inside the pinpoint-apm/pinpoint-docker, it's working properly but Flink version 1.3.1 is really old released in 08/2017.
So I've tried to bump the Flink version to see how far I can go and I reached to update flink to version 1.8.3 which has been released on 12/2019 which is better but still an outdated version.
I've tried to update to version 1.9 or higher and job loading failed with the following error:
Is it because I'm missing something or just becvause pinpoint-flink-job is not compatible with flink version higher than 1.8, if so is it in the pipe to make it compatible ?