falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Suresh Srinivas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-307) Unable to build falcon in distributed mode - build regression
Date Fri, 07 Feb 2014 00:34:19 GMT

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

Suresh Srinivas commented on FALCON-307:
----------------------------------------

I think this is expected. Based on the [documentation|http://maven.apache.org/guides/introduction/introduction-to-profiles.html]:
{quote}
This profile will automatically be active for all builds unless another profile in the same
POM is activated using one of the previously described methods. All profiles that are active
by default are automatically deactivated when a profile in the POM is activated on the command
line or through its activation config.
{quote}

That means the only way to build distributed and hadoop-1 profile is - {{mvn -Phadoop-1,distributed}}.
That commands seems to work.

We should close this as Not a problem and open another jira to capture build instructions
in {{Installation-steps.txt}} to avoid people creating similar issues in the future.

> Unable to build falcon in distributed mode - build regression
> -------------------------------------------------------------
>
>                 Key: FALCON-307
>                 URL: https://issues.apache.org/jira/browse/FALCON-307
>             Project: Falcon
>          Issue Type: Bug
>            Reporter: Venkatesh Seetharam
>
> I was able to build using the following command prior to FALCON-123.
> {code}mvn clean assembly:assembly -DskipTests -P distributed{code}
> I'm forced to provide a hadoop profile.
> {code}mvn clean assembly:assembly -DskipTests -P distributed,hadoop-2{code}
> [ERROR]
> [ERROR]   The project org.apache.falcon:falcon-hadoop-dependencies:0.5-incubating-SNAPSHOT
(/Users/seetharam/Dev/apache-workspace/falcon/reviews/incubator-falcon/hadoop-dependencies/pom.xml)
has 1 error
> [ERROR]     'dependencies.dependency.version' for org.apache.hadoop:hadoop-core:jar is
missing. @ line 40, column 29
> [ERROR]
> [ERROR]   The project org.apache.falcon:falcon-hadoop-webapp:0.5-incubating-SNAPSHOT
(/Users/seetharam/Dev/apache-workspace/falcon/reviews/incubator-falcon/hadoop-webapp/pom.xml)
has 1 error
> [ERROR]     'dependencies.dependency.version' for org.apache.hadoop:hadoop-core:jar is
missing. @ line 41, column 29
> [ERROR]
> [ERROR]   The project org.apache.falcon:falcon-feed:0.5-incubating-SNAPSHOT (/Users/seetharam/Dev/apache-workspace/falcon/reviews/incubator-falcon/feed/pom.xml)
has 2 errors
> [ERROR]     'dependencies.dependency.version' for org.apache.hadoop:hadoop-core:jar is
missing. @ line 42, column 29
> [ERROR]     'dependencies.dependency.version' for org.apache.hadoop:hadoop-test:jar is
missing. @ line 46, column 29
> [ERROR]
> [ERROR]   The project org.apache.falcon:falcon-messaging:0.5-incubating-SNAPSHOT (/Users/seetharam/Dev/apache-workspace/falcon/reviews/incubator-falcon/messaging/pom.xml)
has 2 errors
> [ERROR]     'dependencies.dependency.version' for org.apache.hadoop:hadoop-core:jar is
missing. @ line 41, column 29
> [ERROR]     'dependencies.dependency.version' for org.apache.hadoop:hadoop-test:jar is
missing. @ line 45, column 29
> [ERROR]
> [ERROR]   The project org.apache.falcon:falcon-process:0.5-incubating-SNAPSHOT (/Users/seetharam/Dev/apache-workspace/falcon/reviews/incubator-falcon/process/pom.xml)
has 2 errors
> [ERROR]     'dependencies.dependency.version' for org.apache.hadoop:hadoop-core:jar is
missing. @ line 41, column 29
> [ERROR]     'dependencies.dependency.version' for org.apache.hadoop:hadoop-test:jar is
missing. @ line 45, column 29
> [ERROR]
> [ERROR]   The project org.apache.falcon:falcon-oozie-el-extension:0.5-incubating-SNAPSHOT
(/Users/seetharam/Dev/apache-workspace/falcon/reviews/incubator-falcon/oozie-el-extensions/pom.xml)
has 1 error
> [ERROR]     'dependencies.dependency.version' for org.apache.hadoop:hadoop-core:jar is
missing. @ line 41, column 29
> [ERROR]
> [ERROR]   The project org.apache.falcon:falcon-oozie-adaptor:0.5-incubating-SNAPSHOT
(/Users/seetharam/Dev/apache-workspace/falcon/reviews/incubator-falcon/oozie/pom.xml) has
1 error
> [ERROR]     'dependencies.dependency.version' for org.apache.hadoop:hadoop-core:jar is
missing. @ line 41, column 29
> [ERROR]
> [ERROR]   The project org.apache.falcon:falcon-replication:0.5-incubating-SNAPSHOT (/Users/seetharam/Dev/apache-workspace/falcon/reviews/incubator-falcon/replication/pom.xml)
has 1 error
> [ERROR]     'dependencies.dependency.version' for org.apache.hadoop:hadoop-core:jar is
missing. @ line 41, column 29
> [ERROR]
> [ERROR]   The project org.apache.falcon:falcon-retention:0.5-incubating-SNAPSHOT (/Users/seetharam/Dev/apache-workspace/falcon/reviews/incubator-falcon/retention/pom.xml)
has 2 errors
> [ERROR]     'dependencies.dependency.version' for org.apache.hadoop:hadoop-core:jar is
missing. @ line 42, column 29
> [ERROR]     'dependencies.dependency.version' for org.apache.hadoop:hadoop-test:jar is
missing. @ line 46, column 29
> [ERROR]
> [ERROR]   The project org.apache.falcon:falcon-rerun:0.5-incubating-SNAPSHOT (/Users/seetharam/Dev/apache-workspace/falcon/reviews/incubator-falcon/rerun/pom.xml)
has 1 error
> [ERROR]     'dependencies.dependency.version' for org.apache.hadoop:hadoop-core:jar is
missing. @ line 42, column 29
> [ERROR]
> [ERROR]   The project org.apache.falcon:falcon-prism:0.5-incubating-SNAPSHOT (/Users/seetharam/Dev/apache-workspace/falcon/reviews/incubator-falcon/prism/pom.xml)
has 1 error
> [ERROR]     'dependencies.dependency.version' for org.apache.hadoop:hadoop-core:jar is
missing. @ line 42, column 29
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please read the
following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> [seetharam@venkatesh-mac ~/dev/apache-workspace/falcon/reviews/incubator-falcon (master)]$
mvn clean assembly:assembly -DskipTests -P distributed,hadoop-2
> [INFO] Scanning for projects...
> [WARNING]
> [WARNING] Some problems were encountered while building the effective model for org.apache.falcon:build-tools:jar:0.5-incubating-SNAPSHOT



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message