Hi All,

I want to clarify whether my understanding is correct here.

1. I downloaded apache-apex-core-3.5.0-source-release.tar.gz
2. Extracted the tar
3. Ran following command to build apex core:
mvn clean package -DskipTests -Dhadoop.version=2.7.3
(NOTE: I have overridden hadoop version to 2.7.3)

I get following compilation error:
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:3.3:compile
(default-compile) on project apex-engine: Compilation failure: Compilation
failure:
[ERROR]
/home/chinmay/files/apache-apex-core-3.5.0/engine/src/main/java/com/datatorrent/stram/plan/logical/LogicalPlan.java:[159,87]
cannot find symbol
[ERROR] symbol:   variable DELEGATION_TOKEN_MAX_LIFETIME_DEFAULT
[ERROR] location: class org.apache.hadoop.yarn.conf.YarnConfiguration
[ERROR]
/home/chinmay/files/apache-apex-core-3.5.0/engine/src/main/java/com/datatorrent/stram/client/StramAppLauncher.java:[586,120]
cannot find symbol
[ERROR] symbol:   variable DELEGATION_TOKEN_MAX_LIFETIME_KEY
[ERROR] location: class org.apache.hadoop.yarn.conf.YarnConfiguration
[ERROR]
/home/chinmay/files/apache-apex-core-3.5.0/engine/src/main/java/com/datatorrent/stram/client/StramAppLauncher.java:[586,173]
cannot find symbol
[ERROR] symbol:   variable DELEGATION_TOKEN_MAX_LIFETIME_DEFAULT
[ERROR] location: class org.apache.hadoop.yarn.conf.YarnConfiguration
[ERROR] -> [Help 1]

What should be the expected result while building apex-core when building
with different version of hadoop?
Is this error expected OR something wrong in my environment?

Thanks,
Chinmay.

Reply via email to