yahoo / storm-yarn

Storm-yarn enables Storm clusters to be deployed into machines managed by Hadoop YARN.
Other
417 stars 161 forks source link

CDH 4.4.0 is not supported #55

Open anfeng opened 11 years ago

anfeng commented 11 years ago

In hadoop-0.23 branch, if we change pom file to use CDH 4.4.0, mvn test will generate the following errors. CDH 4.4.0 has some API change from CDH 4.3.0.

[INFO] Compiling 14 source files to /Users/afeng/dev/storm/storm-yarn/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /Users/afeng/dev/storm/storm-yarn/src/main/java/com/yahoo/storm/yarn/client/AMRMClientImpl.java:[29,41] error: cannot find symbol [ERROR] symbol: class AMResponse location: package org.apache.hadoop.yarn.api.records /Users/afeng/dev/storm/storm-yarn/src/main/java/com/yahoo/storm/yarn/client/AMRMClientImpl.java:[179,6] error: cannot find symbol [ERROR] symbol: class AMResponse location: class AMRMClientImpl /Users/afeng/dev/storm/storm-yarn/src/main/java/com/yahoo/storm/yarn/client/AMRMClientImpl.java:[179,44] error: cannot find symbol [ERROR] symbol: method getAMResponse() location: variable allocateResponse of type AllocateResponse /Users/afeng/dev/storm/storm-yarn/src/main/java/com/yahoo/storm/yarn/MasterServer.java:[72,31] error: cannot find symbol [ERROR] symbol: method getAMResponse() location: variable allocResponse of type AllocateResponse /Users/afeng/dev/storm/storm-yarn/src/main/java/com/yahoo/storm/yarn/MasterServer.java:[78,65] error: cannot find symbol [ERROR] symbol: method getAMResponse() location: variable allocResponse of type AllocateResponse /Users/afeng/dev/storm/storm-yarn/src/main/java/com/yahoo/storm/yarn/MasterServer.java:[93,31] error: cannot find symbol