Hi: Kylin version 3.1.1 supports Flink 1.9.x.
If you want to use Flink 1.10.0 or 1.11, someone in the Kylin community recently proposed the PR https://github.com/apache/kylin/pull/1462 to upgrade Flink. You can type this patch and try again. > 在 2021年1月25日,16:14,WSJian <[email protected]> 写道: > > ENV: Kylin 3.1.1 Flink 1.10.0 / 1.11.3 CDH 5.7 > > /etc/profile --> FLINK_HOME、KYLIN_HOME、HADOOP_CONF_DIR all down. > > > Only Spark Env no pass(Because there isn't) when I start kylin.sh. Then build > `kylin_sales_cube` cube. But throw ERROR during Build Cube With Flink > process. > > > java.lang.NoSuchFieldError: MANAGED_MEMORY_PRE_ALLOCATE > at > org.apache.kylin.engine.flink.FlinkOnYarnConfigMapping.<clinit>(FlinkOnYarnConfigMapping.java:69) > ...... > > > I looked at the source code. Found > ```java > ConfigOption<Boolean> tmMemoryPreallocate = > TaskManagerOptions.MANAGED_MEMORY_PRE_ALLOCATE; > ``` > So I think flink not start in Yarn success, and after start flink in Yarn. > Throw new Exception. > > > DefaultClassNotFound: FlinkOnYarnConfigMapping............................ > > > This is mean the class not load? Or classpath error. Need moving dependent > JAR to where?
