Both 36e99fa2dfdd13cd43d8fa8c558c670cd7750ed0 and master build just fine for me
with both java6 and java8 on Mac 10.10.2 . My only guess is that your maven
repo has some sort of corrupted jar in it.
- Bobby
On Tuesday, March 31, 2015 9:09 PM, Sigmund Lee <[email protected]> wrote:
Hi Erik,
I clone the source from github yesterday.
Here is the info:
lee@laptop:~/Opensource/storm$ cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = git://github.com/apache/storm.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
lee@laptop:~/Opensource/storm$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
lee@laptop:~/Opensource/storm$ git log
commit 36e99fa2dfdd13cd43d8fa8c558c670cd7750ed0
Author: Derek Dagit <[email protected]>
Date: Mon Mar 30 09:51:28 2015 -0500
Update CHANGELOG for STORM-727
Thank you.
Bests.
--Sig
On Wed, Apr 1, 2015 at 9:59 AM, Erik Weathers <[email protected]> wrote:
> hi Sig. Can you please clarify which version of storm you're building?
> i.e., where did you clone the repo from and which git "tree-ish" you have
> built from (commit SHA, tag, tree/branch)?
>
> - Erik
>
> On Tue, Mar 31, 2015 at 6:47 PM, Sigmund Lee <[email protected]> wrote:
>
> > Hi all,
> >
> > I encounter following error when build storm source code with maven (mvn
> > clean install -DskipTests -e):
> >
> > [INFO] --- maven-resources-plugin:2.5:testResources
> (default-testResources)
> > >> @ storm-hbase ---
> > >
> > > [debug] execute contextualize
> > >
> > > [INFO] Using 'UTF-8' encoding to copy filtered resources.
> > >
> > > [INFO] skip non existing resourceDirectory
> > >> /home/lee/Opensource/storm/external/storm-hbase/src/test/resources
> > >
> > > [INFO] Copying 3 resources
> > >
> > > [INFO]
> > >
> > > [INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile)
> @
> > >> storm-hbase ---
> > >
> > > [INFO] Changes detected - recompiling the module!
> > >
> > > [INFO] Compiling 9 source files to
> > >> /home/lee/Opensource/storm/external/storm-hbase/target/test-classes
> > >
> > > [WARNING]
> > >>
> >
> /home/lee/Opensource/storm/external/storm-hbase/src/test/java/org/apache/storm/hbase/trident/WordCountTrident.java:
> > >>
> >
> /home/lee/Opensource/storm/external/storm-hbase/src/test/java/org/apache/storm/hbase/trident/WordCountTrident.java
> > >> uses unchecked or unsafe operations.
> > >
> > > [WARNING]
> > >>
> >
> /home/lee/Opensource/storm/external/storm-hbase/src/test/java/org/apache/storm/hbase/trident/WordCountTrident.java:
> > >> Recompile with -Xlint:unchecked for details.
> > >
> > > [INFO]
> > >
> > > [INFO] --- maven-surefire-plugin:2.9:test (default-test) @ storm-hbase
> > ---
> > >
> > > [INFO] Tests are skipped.
> > >
> > > [INFO]
> > >
> > > [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ storm-hbase ---
> > >
> > > [INFO] Building jar:
> > >>
> >
> /home/lee/Opensource/storm/external/storm-hbase/target/storm-hbase-0.11.0-SNAPSHOT.jar
> > >
> > > [INFO]
> > >
> > > [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor)
> @
> > >> storm-hbase ---
> > >
> > > [INFO]
> > >>
> > >
> > > [INFO]
> > >>
> ------------------------------------------------------------------------
> > >
> > > [INFO] Building storm-hive 0.11.0-SNAPSHOT
> > >
> > > [INFO]
> > >>
> ------------------------------------------------------------------------
> > >
> > > [WARNING] The POM for
> > >> org.apache.calcite:calcite-core:jar:0.9.2-incubating-SNAPSHOT is
> > missing,
> > >> no dependency information available
> > >
> > > [WARNING] The POM for
> > >> org.apache.calcite:calcite-avatica:jar:0.9.2-incubating-SNAPSHOT is
> > >> missing, no dependency information available
> > >
> > > Downloading:
> > >>
> >
> http://localhost:8081/nexus/content/groups/public/eigenbase/eigenbase-properties/1.1.4/eigenbase-properties-1.1.4.pom
> > >
> > > [WARNING] The POM for eigenbase:eigenbase-properties:jar:1.1.4 is
> > missing,
> > >> no dependency information available
> > >
> > > Downloading:
> > >>
> >
> http://localhost:8081/nexus/content/groups/public/net/hydromatic/linq4j/0.4/linq4j-0.4.pom
> > >
> > > [WARNING] The POM for net.hydromatic:linq4j:jar:0.4 is missing, no
> > >> dependency information available
> > >
> > > Downloading:
> > >>
> >
> http://localhost:8081/nexus/content/groups/public/net/hydromatic/quidem/0.1.1/quidem-0.1.1.pom
> > >
> > > [WARNING] The POM for net.hydromatic:quidem:jar:0.1.1 is missing, no
> > >> dependency information available
> > >
> > > Downloading:
> > >>
> >
> http://localhost:8081/nexus/content/groups/public/org/pentaho/pentaho-aggdesigner-algorithm/5.1.3-jhyde/pentaho-aggdesigner-algorithm-5.1.3-jhyde.pom
> > >
> > > [WARNING] The POM for
> > >> org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.3-jhyde is missing,
> no
> > >> dependency information available
> > >
> > > Downloading:
> > >>
> >
> http://localhost:8081/nexus/content/groups/public/org/pentaho/pentaho-aggdesigner-algorithm/5.1.3-jhyde/pentaho-aggdesigner-algorithm-5.1.3-jhyde.jar
> > >
> > > Downloading:
> > >>
> >
> http://localhost:8081/nexus/content/groups/public/net/hydromatic/linq4j/0.4/linq4j-0.4.jar
> > >
> > > Downloading:
> > >>
> >
> http://localhost:8081/nexus/content/groups/public/eigenbase/eigenbase-properties/1.1.4/eigenbase-properties-1.1.4.jar
> > >
> > > Downloading:
> > >>
> >
> http://localhost:8081/nexus/content/groups/public/net/hydromatic/quidem/0.1.1/quidem-0.1.1.jar
> > >
> > > [INFO]
> > >>
> ------------------------------------------------------------------------
> > >
> > > [INFO] Reactor Summary:
> > >
> > > [INFO]
> > >
> > > [INFO] Storm .............................................. SUCCESS [
> > >> 2.090 s]
> > >
> > > [INFO] maven-shade-clojure-transformer .................... SUCCESS [
> > >> 2.411 s]
> > >
> > > [INFO] storm-maven-plugins ................................ SUCCESS [
> > >> 3.067 s]
> > >
> > > [INFO] Storm Core ......................................... SUCCESS
> > [03:02
> > >> min]
> > >
> > > [INFO] storm-starter ...................................... SUCCESS [
> > >> 8.200 s]
> > >
> > > [INFO] storm-kafka ........................................ SUCCESS [
> > >> 0.841 s]
> > >
> > > [INFO] storm-hdfs ......................................... SUCCESS [
> > >> 3.001 s]
> > >
> > > [INFO] storm-hbase ........................................ SUCCESS [
> > >> 4.347 s]
> > >
> > > [INFO] storm-hive ......................................... FAILURE [
> > >> 1.300 s]
> > >
> > > [INFO] storm-jdbc ......................................... SKIPPED
> > >
> > > [INFO] storm-redis ........................................ SKIPPED
> > >
> > > [INFO]
> > >>
> ------------------------------------------------------------------------
> > >
> > > [INFO] BUILD FAILURE
> > >
> > > [INFO]
> > >>
> ------------------------------------------------------------------------
> > >
> > > [INFO] Total time: 03:28 min
> > >
> > > [INFO] Finished at: 2015-03-31T17:51:10+08:00
> > >
> > > [INFO] Final Memory: 70M/309M
> > >
> > > [INFO]
> > >>
> ------------------------------------------------------------------------
> > >
> > > [ERROR] Failed to execute goal on project storm-hive: Could not resolve
> > >> dependencies for project
> > org.apache.storm:storm-hive:jar:0.11.0-SNAPSHOT:
> > >> The following artifacts could not be resolved:
> > >> org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.3-jhyde,
> > >> eigenbase:eigenbase-properties:jar:1.1.4,
> net.hydromatic:linq4j:jar:0.4,
> > >> net.hydromatic:quidem:jar:0.1.1: Could not find artifact
> > >> org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.3-jhyde in nexus (
> > >> http://localhost:8081/nexus/content/groups/public) -> [Help 1]
> > >
> > > org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute
> > >> goal on project storm-hive: Could not resolve dependencies for project
> > >> org.apache.storm:storm-hive:jar:0.11.0-SNAPSHOT: The following
> artifacts
> > >> could not be resolved:
> > >> org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.3-jhyde,
> > >> eigenbase:eigenbase-properties:jar:1.1.4,
> net.hydromatic:linq4j:jar:0.4,
> > >> net.hydromatic:quidem:jar:0.1.1: Could not find artifact
> > >> org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.3-jhyde in nexus (
> > >> http://localhost:8081/nexus/content/groups/public)
> > >
> > > at
> > >>
> >
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:220)
> > >
> > > at
> > >>
> >
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:127)
> > >
> > > at
> > >>
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:257)
> > >
> > > at
> > >>
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:200)
> > >
> > > at
> > >>
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
> > >
> > > at
> > >>
> >
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
> > >
> > > at
> > >>
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
> > >
> > > at
> > >>
> >
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
> > >
> > > at
> > >>
> >
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
> > >
> > > at
> > >>
> >
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)
> > >
> > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)
> > >
> > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)
> > >
> > > at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)
> > >
> > > at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)
> > >
> > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)
> > >
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > >
> > > at
> > >>
> >
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> > >
> > > at
> > >>
> >
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> > >
> > > at java.lang.reflect.Method.invoke(Method.java:606)
> > >
> > > at
> > >>
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
> > >
> > > at
> > >>
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
> > >
> > > at
> > >>
> >
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
> > >
> > > at
> > >>
> > org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
> > >
> > > Caused by: org.apache.maven.project.DependencyResolutionException:
> Could
> > >> not resolve dependencies for project
> > >> org.apache.storm:storm-hive:jar:0.11.0-SNAPSHOT: The following
> artifacts
> > >> could not be resolved:
> > >> org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.3-jhyde,
> > >> eigenbase:eigenbase-properties:jar:1.1.4,
> net.hydromatic:linq4j:jar:0.4,
> > >> net.hydromatic:quidem:jar:0.1.1: Could not find artifact
> > >> org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.3-jhyde in nexus (
> > >> http://localhost:8081/nexus/content/groups/public)
> > >
> > > at
> > >>
> >
> org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:198)
> > >
> > > at
> > >>
> >
> org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:195)
> > >
> > > ... 22 more
> > >
> > > Caused by: org.eclipse.aether.resolution.DependencyResolutionException:
> > >> The following artifacts could not be resolved:
> > >> org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.3-jhyde,
> > >> eigenbase:eigenbase-properties:jar:1.1.4,
> net.hydromatic:linq4j:jar:0.4,
> > >> net.hydromatic:quidem:jar:0.1.1: Could not find artifact
> > >> org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.3-jhyde in nexus (
> > >> http://localhost:8081/nexus/content/groups/public)
> > >
> > > at
> > >>
> >
> org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:384)
> > >
> > > at
> > >>
> >
> org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:192)
> > >
> > > ... 23 more
> > >
> > > Caused by: org.eclipse.aether.resolution.ArtifactResolutionException:
> The
> > >> following artifacts could not be resolved:
> > >> org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.3-jhyde,
> > >> eigenbase:eigenbase-properties:jar:1.1.4,
> net.hydromatic:linq4j:jar:0.4,
> > >> net.hydromatic:quidem:jar:0.1.1: Could not find artifact
> > >> org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.3-jhyde in nexus (
> > >> http://localhost:8081/nexus/content/groups/public)
> > >
> > > at
> > >>
> >
> org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:459)
> > >
> > > at
> > >>
> >
> org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:262)
> > >
> > > at
> > >>
> >
> org.eclipse.aether.internal.impl.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:367)
> > >
> > > ... 24 more
> > >
> > > Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Could
> > >> not find artifact
> > org.pentaho:pentaho-aggdesigner-algorithm:jar:5.1.3-jhyde
> > >> in nexus (http://localhost:8081/nexus/content/groups/public)
> > >
> > > at
> > >>
> >
> org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1012)
> > >
> > > at
> > >>
> >
> org.eclipse.aether.connector.wagon.WagonRepositoryConnector$6.wrap(WagonRepositoryConnector.java:1004)
> > >
> > > at
> > >>
> >
> org.eclipse.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:725)
> > >
> > > at
> > >>
> >
> org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
> > >
> > > at
> > >>
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
> > >
> > > at
> > >>
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
> > >
> > > at java.lang.Thread.run(Thread.java:745)
> > >
> > > [ERROR]
> > >
> > > [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/DependencyResolutionException
> > >
> > > [ERROR]
> > >
> > > [ERROR] After correcting the problems, you can resume the build with
> the
> > >> command
> > >
> > > [ERROR] mvn <goals> -rf :storm-hive
> > >
> > >
> >
> > I search sources of Storm but did not found any file that include
> > "eigenbase" or "pentaho" strings in it, that's weird.
> >
> > Can anyone here help me, pls?
> >
> > Any response will be greatly appreciated.
> >
> >
> > Bests.
> > --Sig
> >
>