You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bigtop.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/04/06 15:30:41 UTC

[jira] [Commented] (BIGTOP-2706) Apex package does not run successfully after installation

    [ https://issues.apache.org/jira/browse/BIGTOP-2706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15959100#comment-15959100 ] 

ASF GitHub Bot commented on BIGTOP-2706:
----------------------------------------

Github user tweise commented on a diff in the pull request:

    https://github.com/apache/bigtop/pull/188#discussion_r110193481
  
    --- Diff: bigtop-packages/src/common/apex/do-component-build ---
    @@ -26,10 +26,10 @@ command -v mvn > /dev/null 2>&1 || {
     }
     
     # Build apex
    -mvn clean package -DskipTests "$@"
    +mvn clean package -DskipTests -Dhadoop.version=$HADOOP_VERSION "$@"
     
     # Find all the dependencies of apex
    -mvn dependency:copy-dependencies -DoutputDirectory=`pwd`/all-deps -DincludeScope=runtime -DexcludeScope=test
    +mvn dependency:copy-dependencies -DoutputDirectory=`pwd`/all-deps -DincludeScope=runtime -DexcludeScope=test -Dhadoop.version=$HADOOP_VERSION
    --- End diff --
    
    @chinmaykolhatkar did you create a JIRA for the build improvement?


> Apex package does not run successfully after installation
> ---------------------------------------------------------
>
>                 Key: BIGTOP-2706
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-2706
>             Project: Bigtop
>          Issue Type: Bug
>          Components: build
>            Reporter: Chinmay Kolhatkar
>            Assignee: Chinmay Kolhatkar
>            Priority: Critical
>
> Apex package does not run successfully after installation. Here is the reason identified for it:
> While generating the rpm/deb, the package also bundles hadoop jars... Because of the clash of hadoop jars the apex cli fails to run.
> Recently there has been change in min dependency of apex on hadoop from 2.2.0 to 2.6.0.
> Proposal is to identify the min dependency of apex on hadoop at package time and exclude those jars in packacing. 



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