2015-10-11 3 views
0

По запросу в комментарии, это последний дампОшибка здание слон птица-свинья

mvn clean install -U -Dprotobuf.version=2.5.0 -Dmaven.test.skip=true -Dmaven.repo.local=localrepo 

http://textuploader.com/ay4a8


Update # 2 Я проверил онлайн репо, упомянутый в ошибке

Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com 

http://maven.twttr.com/com/twitter/elephant-bird/

Пустой. Что мне делать?


Update # 1 Это не дублировать обновления сил.

Я попытался

mvn clean install -U -Dprotobuf.version=2.5.0 -Dmaven.test.skip=true -Dmaven.repo.local=localrepo 

который произвел ту же ошибку, за исключением того, что она снова начинает загрузку файлов, и это занимает больше времени, чтобы добраться до ошибки.


Исходное содержание

Я работаю трудно (12 часов +) пытается установить слона-птицу на месте в моем $HOME в общей группе исследований назначения. после 12 часов + тяжелой работы, я все еще теряюсь в океане. Любой человек, который заботится, чтобы вытащить меня на лодку?

Я стремился установить правильные версии protocol-buffers (версия 2.5.0) и thrift (версия 0.7.0).

Выполнение проверки версии дает:

$ protoc --version 
libprotoc 2.5.0 
$ thrift -version 
Thrift version 0.7.0 

Хорошо, все выглядит нормально. скачать слона-птицу

git clone git://github.com/kevinweil/elephant-bird.git 

CD в каталог и запустить

mvn -Dprotobuf.version=2.5.0 -Dmaven.test.skip=true package 

-Dprotobuf.version=2.5.0 рекомендуется по official github слона-птицу для меня установлена ​​версия protocol-buffers нестандартную. -Dmaven.test.skip=true рекомендуется this post, потому что я не выполнял некоторые тесты во время сборки слоновой птицы.

[INFO] ------------------------------------------------------------------------ 
[INFO] Building Elephant Bird Pig 4.11-SNAPSHOT 
[INFO] ------------------------------------------------------------------------ 
[INFO] ------------------------------------------------------------------------ 
[INFO] Reactor Summary: 
[INFO] 
[INFO] Elephant Bird ...................................... SUCCESS [ 0.643 s] 
[INFO] Elephant Bird Hadoop Compatibility ................. SUCCESS [ 2.514 s] 
[INFO] Elephant Bird Core ................................. SUCCESS [ 25.494 s] 
[INFO] Elephant Bird Cascading2 ........................... SUCCESS [ 2.650 s] 
[INFO] Elephant Bird Crunch ............................... SUCCESS [ 3.218 s] 
[INFO] Elephant Bird Hive ................................. SUCCESS [ 2.342 s] 
[INFO] Elephant Bird Pig .................................. FAILURE [ 0.238 s] 
[INFO] Elephant Bird Mahout ............................... SKIPPED 
[INFO] Elephant Bird RCFile ............................... SKIPPED 
[INFO] Elephant Bird Lucene ............................... SKIPPED 
[INFO] Elephant Bird Pig Lucene ........................... SKIPPED 
[INFO] Elephant Bird Examples ............................. SKIPPED 
[INFO] ------------------------------------------------------------------------ 
[INFO] BUILD FAILURE 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 37.748 s 
[INFO] Finished at: 2015-10-10T20:02:11-04:00 
[INFO] Final Memory: 48M/964M 
[INFO] ------------------------------------------------------------------------ 
[ERROR] Failed to execute goal on project elephant-bird-pig: Could not resolve dependencies for project com.twitter.elephantbird:elephant-bird-pig:jar:4.11-SNAPSHOT: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced -> [Help 1] 
[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/DependencyResolutionException 
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command 
[ERROR] mvn <goals> -rf :elephant-bird-pig 

Ну, давайте запустим ту же команду с -X:

[INFO]                   
[INFO] ------------------------------------------------------------------------ 
[INFO] Building Elephant Bird Pig 4.11-SNAPSHOT 
[INFO] ------------------------------------------------------------------------ 
[DEBUG] Lifecycle default -> [validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy] 
[DEBUG] Lifecycle clean -> [pre-clean, clean, post-clean] 
[DEBUG] Lifecycle site -> [pre-site, site, post-site, site-deploy] 
.... 
Skipping >>>>>>> 
.... 
[DEBUG]  commons-codec:commons-codec:jar:1.4:compile 
[DEBUG]  commons-net:commons-net:jar:1.4.1:provided 
[DEBUG]  org.mortbay.jetty:jetty:jar:6.1.26:provided 
[DEBUG]   org.mortbay.jetty:servlet-api:jar:2.5-20081211:provided 
[DEBUG]  org.mortbay.jetty:jetty-util:jar:6.1.26:provided 
[DEBUG]  tomcat:jasper-runtime:jar:5.5.12:provided 
[DEBUG]  tomcat:jasper-compiler:jar:5.5.12:provided 
[DEBUG]  org.mortbay.jetty:jsp-api-2.1:jar:6.1.14:provided 
[DEBUG]  org.mortbay.jetty:jsp-2.1:jar:6.1.14:provided 
[DEBUG]   org.eclipse.jdt:core:jar:3.1.1:provided 
[DEBUG]   ant:ant:jar:1.6.5:test (scope managed from compile by com.twitter.elephantbird:elephant-bird:4.11-SNAPSHOT) 
[DEBUG]  commons-el:commons-el:jar:1.0:provided 
[DEBUG]  net.java.dev.jets3t:jets3t:jar:0.7.1:provided 
[DEBUG]  org.mortbay.jetty:servlet-api-2.5:jar:6.1.14:provided 
[DEBUG]  net.sf.kosmosfs:kfs:jar:0.3:provided 
[DEBUG]  junit:junit:jar:4.8.2:test (scope managed from compile by com.twitter.elephantbird:elephant-bird:4.11-SNAPSHOT) (version managed from 4.8.1 by com.twitter.elephantbird:elephant-bird:4.11-SNAPSHOT) 
[DEBUG]  hsqldb:hsqldb:jar:1.8.0.10:provided 
[DEBUG]  oro:oro:jar:2.0.8:provided 
[DEBUG]  org.apache.avro:avro:jar:1.5.3:provided 
[DEBUG]   com.thoughtworks.paranamer:paranamer:jar:2.3:provided 
[DEBUG]   org.xerial.snappy:snappy-java:jar:1.0.3.2:provided 
[DEBUG] org.antlr:antlr:jar:3.4:provided 
[DEBUG]  org.antlr:antlr-runtime:jar:3.4:provided 
[DEBUG]   org.antlr:stringtemplate:jar:3.2.1:provided 
[DEBUG]   antlr:antlr:jar:2.7.7:provided 
[DEBUG]  org.antlr:ST4:jar:4.0.4:provided 
[DEBUG] joda-time:joda-time:jar:1.6:provided 
[DEBUG] org.codehaus.jackson:jackson-mapper-asl:jar:1.8.8:provided 
[DEBUG]  org.codehaus.jackson:jackson-core-asl:jar:1.8.8:provided 
[DEBUG] log4j:log4j:jar:1.2.17:test 
[DEBUG] org.easymock:easymock:jar:3.1:test 
[DEBUG]  cglib:cglib-nodep:jar:2.2.2:test 
[DEBUG]  org.objenesis:objenesis:jar:1.2:test 
[DEBUG] Could not find metadata com.twitter.elephantbird:elephant-bird-core:4.11-SNAPSHOT/maven-metadata.xml in local (/home/huip/.m2/repository) 
[DEBUG] Failure to find com.twitter.elephantbird:elephant-bird-core:4.11-SNAPSHOT/maven-metadata.xml in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced 
[DEBUG] Failure to find com.twitter.elephantbird:elephant-bird-core:4.11-SNAPSHOT/maven-metadata.xml in https://oss.sonatype.org/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-nexus-snapshots has elapsed or updates are forced 
[INFO] ------------------------------------------------------------------------ 
[INFO] Reactor Summary: 
[INFO] 
[INFO] Elephant Bird ...................................... SUCCESS [ 0.661 s] 
[INFO] Elephant Bird Hadoop Compatibility ................. SUCCESS [ 1.462 s] 
[INFO] Elephant Bird Core ................................. SUCCESS [ 13.790 s] 
[INFO] Elephant Bird Cascading2 ........................... SUCCESS [ 0.397 s] 
[INFO] Elephant Bird Crunch ............................... SUCCESS [ 0.533 s] 
[INFO] Elephant Bird Hive ................................. SUCCESS [ 0.567 s] 
[INFO] Elephant Bird Pig .................................. FAILURE [ 0.215 s] 
[INFO] Elephant Bird Mahout ............................... SKIPPED 
[INFO] Elephant Bird RCFile ............................... SKIPPED 
[INFO] Elephant Bird Lucene ............................... SKIPPED 
[INFO] Elephant Bird Pig Lucene ........................... SKIPPED 
[INFO] Elephant Bird Examples ............................. SKIPPED 
[INFO] ------------------------------------------------------------------------ 
[INFO] BUILD FAILURE 
[INFO] ------------------------------------------------------------------------ 
[INFO] Total time: 18.260 s 
[INFO] Finished at: 2015-10-10T20:17:39-04:00 
[INFO] Final Memory: 23M/964M 
[INFO] ------------------------------------------------------------------------ 
[ERROR] Failed to execute goal on project elephant-bird-pig: Could not resolve dependencies for project com.twitter.elephantbird:elephant-bird-pig:jar:4.11-SNAPSHOT: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced -> [Help 1] 
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project elephant-bird-pig: Could not resolve dependencies for project com.twitter.elephantbird:elephant-bird-pig:jar:4.11-SNAPSHOT: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced 
    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 com.twitter.elephantbird:elephant-bird-pig:jar:4.11-SNAPSHOT: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced 
    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: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced 
    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: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced 
    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: Failure to find com.twitter.elephantbird:elephant-bird-core:jar:tests:4.11-SNAPSHOT in http://maven.twttr.com was cached in the local repository, resolution will not be reattempted until the update interval of twitter has elapsed or updates are forced 
    at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.newException(DefaultUpdateCheckManager.java:232) 
    at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.checkArtifact(DefaultUpdateCheckManager.java:206) 
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.gatherDownloads(DefaultArtifactResolver.java:599) 
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.performDownloads(DefaultArtifactResolver.java:518) 
    at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:436) 
    ... 26 more 
[ERROR] 
[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 :elephant-bird-pig 

Что теперь?

+0

@Tunaki Ваш комментарий ответил сверху. Спасибо, что вызвали это. Любое предложение? – Mai

+0

Не могли бы вы опубликовать весь стек, который у вас был, когда вы запустили Maven с опцией '-U'? – Tunaki

+0

@ Тунаки дамп загружен. Спасибо, что помогли. Я ценю вашу помощь. – Mai

ответ

0

Команда, которая решила эту проблему, является:

mvn clean install -U -Dprotobuf.version=2.5.0 -DskipTests=true -Dmaven.repo.local=localrepo 

Ссылка заключается в следующем:

Maven skip tests

D * млн это, Maven ... Теперь я чувствую, что я был так свалка ...

Смежные вопросы