flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From takun <yongjun.t...@tendcloud.com>
Subject flink build issue
Date Tue, 27 Jan 2015 09:24:00 GMT
Hello :

I want build flink 0.8 on yarn ,but we use version : 2.0.0-cdh4.3.0 ,it failed 
how can i build it .

command : mvn clean install -DskipTests -Pvendor-repos -Dhadoop.version=2.0.0-cdh4.3.0

The document say , not support before hadoop 2.2.0 ,but i want to run on yarn like spark on
yarn .
Could someone help me ,or some suggestion.

thanks

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile
(default-compile) on project flink-yarn: Compilation failure: Compilation failure:
[ERROR] /Users/tianyongjun/work/source/flink/flink-0.8.0/flink-addons/flink-yarn/src/main/java/org/apache/flink/yarn/appMaster/ApplicationMaster.java:[69,41]
package org.apache.hadoop.yarn.client.api does not exist
[ERROR] /Users/tianyongjun/work/source/flink/flink-0.8.0/flink-addons/flink-yarn/src/main/java/org/apache/flink/yarn/appMaster/ApplicationMaster.java:[70,52]
package org.apache.hadoop.yarn.client.api.AMRMClient does not exist
[ERROR] /Users/tianyongjun/work/source/flink/flink-0.8.0/flink-addons/flink-yarn/src/main/java/org/apache/flink/yarn/appMaster/ApplicationMaster.java:[71,41]
package org.apache.hadoop.yarn.client.api does not exist
[ERROR] /Users/tianyongjun/work/source/flink/flink-0.8.0/flink-addons/flink-yarn/src/main/java/org/apache/flink/yarn/appMaster/ApplicationMaster.java:[120,17]
cannot find symbol
[ERROR] symbol:   class AMRMClient
[ERROR] location: class org.apache.flink.yarn.appMaster.ApplicationMaster
[ERROR] /Users/tianyongjun/work/source/flink/flink-0.8.0/flink-addons/flink-yarn/src/main/java/org/apache/flink/yarn/appMaster/ApplicationMaster.java:[120,28]
cannot find symbol
[ERROR] symbol:   class ContainerRequest
[ERROR] location: class org.apache.flink.yarn.appMaster.ApplicationMaster
[ERROR] /Users/tianyongjun/work/source/flink/flink-0.8.0/flink-addons/flink-yarn/src/main/java/org/apache/flink/yarn/appMaster/ApplicationMaster.java:[125,17]
cannot find symbol
[ERROR] symbol:   class NMClient
Mime
View raw message