hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Meng QingPing <mqingp...@gmail.com>
Subject Hive 0.13 SNAPSHOT build fail
Date Mon, 18 Nov 2013 12:08:06 GMT
Hi,

I want to inetegrate Hive with HBase 0.96 and Hadoop 2.2. I found Hive 0.13
support them. So I checkout the 0.13 snapshot just now, but get bellow
error when build. All sub components built success, but fail at Hive task.
Can someone help resolve it? Thanks.
[mqingping@LDEV-D042 hive]$ mvn clean -e package assembly:assembly
-DskipTests
......
[INFO] org/apache/hadoop/hive/shims/Hadoop23Shims$2.class already added,
skipping

[INFO] org/apache/hadoop/hive/shims/Jetty23Shims$1.class already added,
skipping

[INFO] org/apache/hadoop/mapred/WebHCatJTShim23.class already added,
skipping

[INFO] META-INF/maven/org.apache.hive.shims/hive-shims-0.23/pom.xml already
added,
skipping
[INFO] META-INF/maven/org.apache.hive.shims/hive-shims-0.23/pom.properties
already added,
skipping
[INFO]
------------------------------------------------------------------------

[INFO] Reactor
Summary:

[INFO]

[INFO] Hive .............................................. FAILURE
[1.170s]

[INFO] Hive Ant Utilities ................................ SUCCESS
[1.857s]

[INFO] Hive Shims Common ................................. SUCCESS
[0.577s]

[INFO] Hive Shims 0.20 ................................... SUCCESS
[0.353s]

[INFO] Hive Shims Secure Common .......................... SUCCESS
[0.582s]

[INFO] Hive Shims 0.20S .................................. SUCCESS
[0.700s]

[INFO] Hive Shims 0.23 ................................... SUCCESS
[0.615s]

[INFO] Hive Shims ........................................ SUCCESS
[1.709s]

[INFO] Hive Common ....................................... SUCCESS
[3.335s]

[INFO] Hive Serde ........................................ SUCCESS
[2.588s]

[INFO] Hive Metastore .................................... SUCCESS
[8.542s]

[INFO] Hive Query Language ............................... SUCCESS
[17.326s]

[INFO] Hive Service ...................................... SUCCESS
[1.511s]

[INFO] Hive JDBC ......................................... SUCCESS
[0.306s]

[INFO] Hive Beeline ...................................... SUCCESS
[0.283s]

[INFO] Hive CLI .......................................... SUCCESS
[0.304s]

[INFO] Hive Contrib ...................................... SUCCESS
[0.303s]

[INFO] Hive HBase Handler ................................ SUCCESS
[0.387s]

[INFO] Hive HCatalog ..................................... SUCCESS
[0.067s]

[INFO] Hive HCatalog Core ................................ SUCCESS
[3.311s]

[INFO] Hive HCatalog Pig Adapter ......................... SUCCESS
[0.343s]

[INFO] Hive HCatalog Server Extensions ................... SUCCESS
[0.272s]

[INFO] Hive HCatalog Webhcat Java Client ................. SUCCESS
[0.265s]

[INFO] Hive HCatalog Webhcat ............................. SUCCESS
[3.906s]

[INFO] Hive HCatalog HBase Storage Handler ............... SUCCESS
[1.215s]

[INFO] Hive HWI .......................................... SUCCESS
[0.182s]

[INFO] Hive ODBC ......................................... SUCCESS
[0.043s]

[INFO] Hive Shims Aggregator ............................. SUCCESS
[0.035s]

[INFO] Hive TestUtils .................................... SUCCESS
[0.067s]

[INFO] Hive Packaging .................................... SUCCESS
[0.080s]

[INFO]
------------------------------------------------------------------------

[INFO] BUILD
FAILURE

[INFO]
------------------------------------------------------------------------

[INFO] Total time:
53.706s

[INFO] Finished at: Mon Nov 18 18:54:13 CST
2013

[INFO] Final Memory:
90M/1423M

[INFO]
------------------------------------------------------------------------

[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-assembly-plugin:2.3:single (uberjar) on
project hive-shims: Execution uberjar of goal
org.apache.maven.plugins:maven-assembly-plugin:2.3:single failed.
NullPointerException -> [Help
1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.maven.plugins:maven-assembly-plugin:2.3:single (uberjar) on
project hive-shims: Execution uberjar of goal
org.apache.maven.plugins:maven-assembly-plugin:2.3:single
failed.
        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)

        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.MojoExecutor.executeForkedExecutions(MojoExecutor.java:364)

        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:198)

        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:84)

        at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)

        at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)

        at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)

        at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:317)

        at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:152)

        at
org.apache.maven.cli.MavenCli.execute(MavenCli.java:555)

        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:39)

        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

        at
java.lang.reflect.Method.invoke(Method.java:597)

        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.plugin.PluginExecutionException: Execution
uberjar of goal org.apache.maven.plugins:maven-assembly-plugin:2.3:single
failed.
        at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:115)

        at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)

        ... 23
more

Caused by:
java.lang.NullPointerException

        at
org.codehaus.plexus.components.io.resources.PlexusIoURLResource.getContents(PlexusIoURLResource.java:38)

        at
org.codehaus.plexus.archiver.ArchiveEntry.getInputStream(ArchiveEntry.java:106)

        at
org.codehaus.plexus.archiver.zip.AbstractZipArchiver.zipFile(AbstractZipArchiver.java:552)

        at
org.codehaus.plexus.archiver.zip.AbstractZipArchiver.addResources(AbstractZipArchiver.java:387)

        at
org.codehaus.plexus.archiver.zip.AbstractZipArchiver.createArchiveMain(AbstractZipArchiver.java:312)

        at
org.codehaus.plexus.archiver.zip.AbstractZipArchiver.execute(AbstractZipArchiver.java:211)

        at
org.codehaus.plexus.archiver.AbstractArchiver.createArchive(AbstractArchiver.java:897)

        at
org.apache.maven.plugin.assembly.archive.archiver.AssemblyProxyArchiver.createArchive(AssemblyProxyArchiver.java:512)

        at
org.apache.maven.plugin.assembly.archive.DefaultAssemblyArchiver.createArchive(DefaultAssemblyArchiver.java:185)

        at
org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:452)

        at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)


-- 
Thanks,
Jack

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message