hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bing Li <sarah.lib...@gmail.com>
Subject Re: meet error when building hive-2.4.x from source
Date Wed, 07 Jun 2017 09:44:15 GMT
Hi,
Please try to build hive-storage-api module in local ahead.
e.g.
cd storage-api
mvn clean install -DskipTests

And then build the whole hive project.

2017-06-05 17:20 GMT+08:00 赵伟 <vergilchiu@foxmail.com>:

> hi!
> First of all,Thank you for your reading my letter.
> I meet a problem when I build 2.4.x branch from source code.
> My building command:mvn clean package -Pdist -e
> Here is the stack trace:
> [INFO] Hive ............................................... SUCCESS [
>  1.955 s]
> [INFO] Hive Shims Common .................................. SUCCESS [
>  6.070 s]
> [INFO] Hive Shims 0.23 .................................... SUCCESS [
>  4.526 s]
> [INFO] Hive Shims Scheduler ............................... SUCCESS [
>  1.775 s]
> [INFO] Hive Shims ......................................... SUCCESS [
>  0.994 s]
> [INFO] Hive Common ........................................ SUCCESS [
> 51.173 s]
> [INFO] Hive Service RPC ................................... SUCCESS [
>  4.936 s]
> [INFO] Hive Serde ......................................... FAILURE [
>  0.063 s]
> [INFO] Hive Metastore ..................................... SKIPPED
> [INFO] Hive Vector-Code-Gen Utilities ..................... SKIPPED
> [INFO] Hive Llap Common ................................... SKIPPED
> [INFO] Hive Llap Client ................................... SKIPPED
> [INFO] Hive Llap Tez ...................................... SKIPPED
> [INFO] Spark Remote Client ................................ SKIPPED
> [INFO] Hive Query Language ................................ SKIPPED
> [INFO] Hive Llap Server ................................... SKIPPED
> [INFO] Hive Service ....................................... SKIPPED
> [INFO] Hive Accumulo Handler .............................. SKIPPED
> [INFO] Hive JDBC .......................................... SKIPPED
> [INFO] Hive Beeline ....................................... SKIPPED
> [INFO] Hive CLI ........................................... SKIPPED
> [INFO] Hive Contrib ....................................... SKIPPED
> [INFO] Hive Druid Handler ................................. SKIPPED
> [INFO] Hive HBase Handler ................................. SKIPPED
> [INFO] Hive JDBC Handler .................................. SKIPPED
> [INFO] Hive HCatalog ...................................... SKIPPED
> [INFO] Hive HCatalog Core ................................. SKIPPED
> [INFO] Hive HCatalog Pig Adapter .......................... SKIPPED
> [INFO] Hive HCatalog Server Extensions .................... SKIPPED
> [INFO] Hive HCatalog Webhcat Java Client .................. SKIPPED
> [INFO] Hive HCatalog Webhcat .............................. SKIPPED
> [INFO] Hive HCatalog Streaming ............................ SKIPPED
> [INFO] Hive HPL/SQL ....................................... SKIPPED
> [INFO] Hive Llap External Client .......................... SKIPPED
> [INFO] Hive Shims Aggregator .............................. SKIPPED
> [INFO] Hive TestUtils ..................................... SKIPPED
> [INFO] Hive Packaging ..................................... SKIPPED
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------
> ------------
> [INFO] Total time: 01:12 min
> [INFO] Finished at: 2017-06-05T17:11:30+08:00
> [INFO] Final Memory: 77M/783M
> [INFO] ------------------------------------------------------------
> ------------
> [ERROR] Failed to execute goal on project hive-serde: Could not resolve
> dependencies for project org.apache.hive:hive-serde:jar:2.3.0: Failure to
> find org.apache.hive:hive-storage-api:jar:2.4.0 in
> http://www.datanucleus.org/downloads/maven2 was cached in the local
> repository, resolution will not be reattempted until the update interval of
> datanucleus has elapsed or updates are forced -> [Help 1]
> org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> goal on project hive-serde: Could not resolve dependencies for project
> org.apache.hive:hive-serde:jar:2.3.0: Failure to find
> org.apache.hive:hive-storage-api:jar:2.4.0 in http://www.datanucleus.org/
> downloads/maven2 was cached in the local repository, resolution will not
> be reattempted until the update interval of datanucleus has elapsed or
> updates are forced
> at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.
> getDependencies(LifecycleDependencyResolver.java:221)
> at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.
> resolveProjectDependencies(LifecycleDependencyResolver.java:127)
> at org.apache.maven.lifecycle.internal.MojoExecutor.
> ensureDependenciesAreResolved(MojoExecutor.java:245)
> at org.apache.maven.lifecycle.internal.MojoExecutor.execute(
> MojoExecutor.java:199)
> 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:128)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
> at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
> at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
> at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
> at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
> at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> 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.hive:hive-serde:jar:2.3.0:
> Failure to find org.apache.hive:hive-storage-api:jar:2.4.0 in
> http://www.datanucleus.org/downloads/maven2 was cached in the local
> repository, resolution will not be reattempted until the update interval of
> datanucleus has elapsed or updates are forced
> at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(
> DefaultProjectDependenciesResolver.java:211)
> at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.
> getDependencies(LifecycleDependencyResolver.java:195)
> ... 23 more
> Caused by: org.eclipse.aether.resolution.DependencyResolutionException:
> Failure to find org.apache.hive:hive-storage-api:jar:2.4.0 in
> http://www.datanucleus.org/downloads/maven2 was cached in the local
> repository, resolution will not be reattempted until the update interval of
> datanucleus 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:205)
> ... 24 more
> Caused by: org.eclipse.aether.resolution.ArtifactResolutionException:
> Failure to find org.apache.hive:hive-storage-api:jar:2.4.0 in
> http://www.datanucleus.org/downloads/maven2 was cached in the local
> repository, resolution will not be reattempted until the update interval of
> datanucleus has elapsed or updates are forced
> at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(
> DefaultArtifactResolver.java:444)
> at org.eclipse.aether.internal.impl.DefaultArtifactResolver.
> resolveArtifacts(DefaultArtifactResolver.java:246)
> at org.eclipse.aether.internal.impl.DefaultRepositorySystem.
> resolveDependencies(DefaultRepositorySystem.java:367)
> ... 25 more
> Caused by: org.eclipse.aether.transfer.ArtifactNotFoundException: Failure
> to find org.apache.hive:hive-storage-api:jar:2.4.0 in
> http://www.datanucleus.org/downloads/maven2 was cached in the local
> repository, resolution will not be reattempted until the update interval of
> datanucleus has elapsed or updates are forced
> at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.
> newException(DefaultUpdateCheckManager.java:231)
> at org.eclipse.aether.internal.impl.DefaultUpdateCheckManager.
> checkArtifact(DefaultUpdateCheckManager.java:206)
> at org.eclipse.aether.internal.impl.DefaultArtifactResolver.
> gatherDownloads(DefaultArtifactResolver.java:585)
> at org.eclipse.aether.internal.impl.DefaultArtifactResolver.
> performDownloads(DefaultArtifactResolver.java:503)
> at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(
> DefaultArtifactResolver.java:421)
> ... 27 more
>
>
>
>

Mime
View raw message