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&gt;(FlinkOnYarnConfigMapping.java:69)
&nbsp; &nbsp; &nbsp; ......


I looked at the source code. Found 
```java
    ConfigOption<Boolean&gt; 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?

Reply via email to