zz5440435 commented on issue #8159:
URL: https://github.com/apache/iceberg/issues/8159#issuecomment-1654799365

   > This is most likely the same issue as #7879, indicating that there's a 
classpath issue. Are you creating your own uber jar?
   
   是的, 我是通过maven将代码以及第三方依赖打包后运行出现的, 
       public static void main (String[] args) throws Exception {
           // 获取当前flink版本
           
System.out.println(DataStream.class.getPackage().getImplementationVersion());
           // 获取执行环境
           StreamExecutionEnvironment env = FlinkUtil.getProduceMode("dws");
   }
   上述代码, 在打包后运行的时候是可以获取到fink的版本, 但是在FlinkPackage中发现获取到的为NULL, 
我只能尝试利用子模块重写FlinkPackage类覆盖依赖中FlinkPackage类来临时解决


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to