apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vlad Rozov (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (APEXCORE-679) Build fails with hadoop 2.7.3 dependency
Date Fri, 24 Mar 2017 16:47:42 GMT

     [ https://issues.apache.org/jira/browse/APEXCORE-679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vlad Rozov updated APEXCORE-679:
--------------------------------
      Priority: Minor  (was: Critical)
    Issue Type: Improvement  (was: Bug)
       Summary:  Build fails with hadoop 2.7.3 dependency  (was: Apex core 3.5.0 build failing
with hadoop 2.7.3 dependency)

As far as I can see this is a compile time only issue as all undefined symbols are static
final constants and their definition did not change (only constant name were changed). At
run-time, even when an application is started on hadoop-2.7.x cluster, the required values
should be present in the yarn conf files.

Lover priority as apex compiles against hadoop-2.6 by default.

>  Build fails with hadoop 2.7.3 dependency
> -----------------------------------------
>
>                 Key: APEXCORE-679
>                 URL: https://issues.apache.org/jira/browse/APEXCORE-679
>             Project: Apache Apex Core
>          Issue Type: Improvement
>            Reporter: Chinmay Kolhatkar
>            Priority: Minor
>
> 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]
> It should compile with 2.7.x version of hadoop.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message