pawel-big-lebowski opened a new issue, #7879:
URL: https://github.com/apache/iceberg/issues/7879

   ### Apache Iceberg version
   
   1.3.0 (latest release)
   
   ### Query engine
   
   Flink
   
   ### Please describe the bug 🐞
   
   I am running Flink 1.17 and iceberg 1.3.0. I am trying to start simple 
example app with a code available here:
   
https://github.com/OpenLineage/OpenLineage/blob/main/integration/flink/examples/stateful/src/main/java/io/openlineage/flink/FlinkIcebergApplication.java#L19
   
   Building a Flink source fails with NPE which originates in 
`FlinkEnvironmentContext` when doing 
   ```
   public static void init() {
       EnvironmentContext.put("engine-name", "flink");
       EnvironmentContext.put("engine-version", FlinkPackage.version());
     }
   ```
   The problem is that `FlinkPackage.version()` is null. The version is equal 
to:
   ```
   private static final String VERSION = 
DataStream.class.getPackage().getImplementationVersion();
   ```
   `DataStream.class` is on my classpath but `getImplementationVersion()` gives 
null. 
   
   The error is observer when running integration test in docker container 
`flink:1.17.1-java11`. 
   
   The same app used to work for previous flink & iceberg versions. 


-- 
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...@iceberg.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to