hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "海上轻飘" <894276...@qq.com>
Subject build hive1.2.1 error and I don't know how to solve this problem
Date Wed, 05 Apr 2017 10:12:04 GMT
cmd : mvn package -Phadoop-2 -Pdist -DskipTests --projects metastore -X
pom.xml:
<datanucleus-api-jdo.version>3.2.6</datanucleus-api-jdo.version> 
<datanucleus-core.version>3.2.10</datanucleus-core.version> 
<datanucleus-rdbms.version>3.2.9</datanucleus-rdbms.version>


when I build hive-metastore,get the tips as follow. someone can help me


[DEBUG] Metadata Directory is : /data/leantang/develop/apache-hive-1.2.1-src/metastore/target/classes

[INFO] CP: /data/repository/org/datanucleus/datanucleus-maven-plugin/3.3.0-release/datanucleus-maven-plugin-3.3.0-release.jar

[INFO] CP: /data/repository/org/datanucleus/datanucleus-core/3.2.10/datanucleus-core-3.2.10.jar

[INFO] CP: /data/repository/org/codehaus/plexus/plexus-utils/3.0.8/plexus-utils-3.0.8.jar

[INFO] CP: /data/repository/org/apache/maven/maven-artifact/3.0.4/maven-artifact-3.0.4.jar

[INFO] CP: /data/repository/org/apache/maven/maven-plugin-api/3.0.4/maven-plugin-api-3.0.4.jar

[INFO] CP: /data/repository/org/apache/maven/maven-model/3.0.4/maven-model-3.0.4.jar 
[INFO] CP: /data/repository/org/sonatype/sisu/sisu-inject-plexus/2.3.0/sisu-inject-plexus-2.3.0.jar

[INFO] CP: /data/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar

[INFO] CP: /data/repository/org/sonatype/sisu/sisu-inject-bean/2.3.0/sisu-inject-bean-2.3.0.jar

[INFO] CP: /data/repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar

[INFO] CP: /data/repository/org/sonatype/sisu/sisu-guava/0.9.9/sisu-guava-0.9.9.jar 
[INFO] CP: /data/repository/org/codehaus/plexus/plexus-container-default/1.5.5/plexus-container-default-1.5.5.jar

[INFO] CP: /data/repository/org/codehaus/plexus/plexus-classworlds/2.2.2/plexus-classworlds-2.2.2.jar

[INFO] CP: /data/repository/org/apache/xbean/xbean-reflect/3.4/xbean-reflect-3.4.jar 
[INFO] CP: /data/repository/log4j/log4j/1.2.12/log4j-1.2.12.jar 
[INFO] CP: /data/repository/commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.jar

[INFO] CP: /data/repository/com/google/collections/google-collections/1.0/google-collections-1.0.jar

[INFO] CP: /data/repository/junit/junit/3.8.2/junit-3.8.2.jar 
[INFO] CP: /data/leantang/develop/apache-hive-1.2.1-src/metastore/target/classes 
[INFO] CP: /data/repository/org/apache/hive/hive-serde/1.2.1/hive-serde-1.2.1.jar 
[INFO] CP: /data/repository/org/apache/hive/hive-common/1.2.1/hive-common-1.2.1.jar 
[INFO] CP: /data/repository/joda-time/joda-time/2.5/joda-time-2.5.jar 
[INFO] CP: /data/repository/log4j/apache-log4j-extras/1.2.17/apache-log4j-extras-1.2.17.jar

[INFO] CP: /data/repository/org/apache/ant/ant/1.9.1/ant-1.9.1.jar 
[INFO] CP: /data/repository/org/apache/ant/ant-launcher/1.9.1/ant-launcher-1.9.1.jar 
[INFO] CP: /data/repository/org/json/json/20090211/json-20090211.jar 
[INFO] CP: /data/repository/com/google/code/findbugs/jsr305/3.0.0/jsr305-3.0.0.jar 
[INFO] CP: /data/repository/commons-codec/commons-codec/1.4/commons-codec-1.4.jar 
[INFO] CP: /data/repository/org/apache/avro/avro/1.7.5/avro-1.7.5.jar 
[INFO] CP: /data/repository/com/thoughtworks/paranamer/paranamer/2.3/paranamer-2.3.jar 
[INFO] CP: /data/repository/org/xerial/snappy/snappy-java/1.0.5/snappy-java-1.0.5.jar 
[INFO] CP: /data/repository/net/sf/opencsv/opencsv/2.3/opencsv-2.3.jar 
[INFO] CP: /data/repository/com/twitter/parquet-hadoop-bundle/1.6.0/parquet-hadoop-bundle-1.6.0.jar

[INFO] CP: /data/repository/org/apache/hive/hive-shims/1.2.1/hive-shims-1.2.1.jar 
[INFO] CP: /data/repository/org/apache/hive/shims/hive-shims-common/1.2.1/hive-shims-common-1.2.1.jar

[INFO] CP: /data/repository/org/apache/curator/curator-framework/2.6.0/curator-framework-2.6.0.jar

[INFO] CP: /data/repository/com/google/guava/guava/14.0.1/guava-14.0.1.jar 
[INFO] CP: /data/repository/com/jolbox/bonecp/0.8.0.RELEASE/bonecp-0.8.0.RELEASE.jar 
[INFO] CP: /data/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar 
[INFO] CP: /data/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar 
[INFO] CP: /data/repository/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar

[INFO] CP: /data/repository/org/apache/derby/derby/10.10.2.0/derby-10.10.2.0.jar 
[INFO] CP: /data/repository/org/datanucleus/datanucleus-api-jdo/3.2.6/datanucleus-api-jdo-3.2.6.jar

[INFO] CP: /data/repository/org/datanucleus/datanucleus-rdbms/3.2.9/datanucleus-rdbms-3.2.9.jar

[INFO] CP: /data/repository/commons-pool/commons-pool/1.5.4/commons-pool-1.5.4.jar 
[INFO] CP: /data/repository/commons-dbcp/commons-dbcp/1.4/commons-dbcp-1.4.jar 
[INFO] CP: /data/repository/javax/jdo/jdo-api/3.0.1/jdo-api-3.0.1.jar 
[INFO] CP: /data/repository/javax/transaction/jta/1.1/jta-1.1.jar 
[INFO] CP: /data/repository/org/antlr/antlr-runtime/3.4/antlr-runtime-3.4.jar 
[INFO] CP: /data/repository/org/antlr/stringtemplate/3.2.1/stringtemplate-3.2.1.jar 
[INFO] CP: /data/repository/antlr/antlr/2.7.7/antlr-2.7.7.jar 
[INFO] CP: /data/repository/org/apache/thrift/libfb303/0.9.2/libfb303-0.9.2.jar 
[INFO] CP: /data/repository/org/apache/thrift/libthrift/0.9.2/libthrift-0.9.2.jar 
[INFO] CP: /data/repository/org/apache/httpcomponents/httpclient/4.4/httpclient-4.4.jar 
[INFO] CP: /data/repository/org/apache/httpcomponents/httpcore/4.4/httpcore-4.4.jar 
[INFO] CP: /data/repository/org/apache/hadoop/hadoop-common/2.7.3/hadoop-common-2.7.3.jar

[INFO] CP: /data/repository/org/apache/hadoop/hadoop-annotations/2.7.3/hadoop-annotations-2.7.3.jar

[INFO] CP: /data/home/jdk1.7.0_72/jre/../lib/tools.jar 
[INFO] CP: /data/repository/org/apache/commons/commons-math3/3.1.1/commons-math3-3.1.1.jar

[INFO] CP: /data/repository/xmlenc/xmlenc/0.52/xmlenc-0.52.jar 
[INFO] CP: /data/repository/commons-httpclient/commons-httpclient/3.0.1/commons-httpclient-3.0.1.jar

[INFO] CP: /data/repository/commons-io/commons-io/2.4/commons-io-2.4.jar 
[INFO] CP: /data/repository/commons-net/commons-net/3.1/commons-net-3.1.jar 
[INFO] CP: /data/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar

[INFO] CP: /data/repository/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar 
[INFO] CP: /data/repository/org/mortbay/jetty/jetty/6.1.26/jetty-6.1.26.jar 
[INFO] CP: /data/repository/org/mortbay/jetty/jetty-util/6.1.26/jetty-util-6.1.26.jar 
[INFO] CP: /data/repository/com/sun/jersey/jersey-core/1.14/jersey-core-1.14.jar 
[INFO] CP: /data/repository/com/sun/jersey/jersey-json/1.14/jersey-json-1.14.jar 
[INFO] CP: /data/repository/org/codehaus/jettison/jettison/1.1/jettison-1.1.jar 
[INFO] CP: /data/repository/com/sun/xml/bind/jaxb-impl/2.2.3-1/jaxb-impl-2.2.3-1.jar 
[INFO] CP: /data/repository/org/codehaus/jackson/jackson-jaxrs/1.9.2/jackson-jaxrs-1.9.2.jar

[INFO] CP: /data/repository/org/codehaus/jackson/jackson-xc/1.9.2/jackson-xc-1.9.2.jar 
[INFO] CP: /data/repository/com/sun/jersey/jersey-server/1.14/jersey-server-1.14.jar 
[INFO] CP: /data/repository/asm/asm/3.1/asm-3.1.jar 
[INFO] CP: /data/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar 
[INFO] CP: /data/repository/net/java/dev/jets3t/jets3t/0.9.0/jets3t-0.9.0.jar 
[INFO] CP: /data/repository/com/jamesmurty/utils/java-xmlbuilder/0.4/java-xmlbuilder-0.4.jar

[INFO] CP: /data/repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar

[INFO] CP: /data/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar

[INFO] CP: /data/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar

[INFO] CP: /data/repository/commons-beanutils/commons-beanutils-core/1.8.0/commons-beanutils-core-1.8.0.jar

[INFO] CP: /data/repository/org/codehaus/jackson/jackson-core-asl/1.9.2/jackson-core-asl-1.9.2.jar

[INFO] CP: /data/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.2/jackson-mapper-asl-1.9.2.jar

[INFO] CP: /data/repository/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar

[INFO] CP: /data/repository/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar 
[INFO] CP: /data/repository/org/apache/hadoop/hadoop-auth/2.7.3/hadoop-auth-2.7.3.jar 
[INFO] CP: /data/repository/org/apache/directory/server/apacheds-kerberos-codec/2.0.0-M15/apacheds-kerberos-codec-2.0.0-M15.jar

[INFO] CP: /data/repository/org/apache/directory/server/apacheds-i18n/2.0.0-M15/apacheds-i18n-2.0.0-M15.jar

[INFO] CP: /data/repository/org/apache/directory/api/api-asn1-api/1.0.0-M20/api-asn1-api-1.0.0-M20.jar

[INFO] CP: /data/repository/org/apache/directory/api/api-util/1.0.0-M20/api-util-1.0.0-M20.jar

[INFO] CP: /data/repository/com/jcraft/jsch/0.1.42/jsch-0.1.42.jar 
[INFO] CP: /data/repository/org/apache/curator/curator-client/2.6.0/curator-client-2.6.0.jar

[INFO] CP: /data/repository/org/apache/curator/curator-recipes/2.6.0/curator-recipes-2.6.0.jar

[INFO] CP: /data/repository/org/apache/htrace/htrace-core/3.1.0-incubating/htrace-core-3.1.0-incubating.jar

[INFO] CP: /data/repository/org/apache/zookeeper/zookeeper/3.4.6/zookeeper-3.4.6.jar 
[INFO] CP: /data/repository/org/apache/commons/commons-compress/1.4.1/commons-compress-1.4.1.jar

[INFO] CP: /data/repository/org/tukaani/xz/1.0/xz-1.0.jar 
[INFO] CP: /data/repository/org/apache/hadoop/hadoop-mapreduce-client-core/2.7.3/hadoop-mapreduce-client-core-2.7.3.jar

[INFO] CP: /data/repository/org/apache/hadoop/hadoop-yarn-common/2.7.3/hadoop-yarn-common-2.7.3.jar

[INFO] CP: /data/repository/org/apache/hadoop/hadoop-yarn-api/2.7.3/hadoop-yarn-api-2.7.3.jar

[INFO] CP: /data/repository/javax/xml/bind/jaxb-api/2.2.2/jaxb-api-2.2.2.jar 
[INFO] CP: /data/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar 
[INFO] CP: /data/repository/javax/activation/activation/1.1/activation-1.1.jar 
[INFO] CP: /data/repository/com/sun/jersey/jersey-client/1.9/jersey-client-1.9.jar 
[INFO] CP: /data/repository/com/google/inject/guice/3.0/guice-3.0.jar 
[INFO] CP: /data/repository/javax/inject/javax.inject/1/javax.inject-1.jar 
[INFO] CP: /data/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar 
[INFO] CP: /data/repository/com/sun/jersey/contribs/jersey-guice/1.9/jersey-guice-1.9.jar

[INFO] CP: /data/repository/com/google/inject/extensions/guice-servlet/3.0/guice-servlet-3.0.jar

[INFO] CP: /data/repository/io/netty/netty/3.6.2.Final/netty-3.6.2.Final.jar 
[INFO] CP: /data/repository/org/slf4j/slf4j-api/1.7.16/slf4j-api-1.7.16.jar 
[INFO] CP: /data/repository/org/slf4j/slf4j-log4j12/1.7.16/slf4j-log4j12-1.7.16.jar 
DataNucleus Enhancer (version 3.2.10) for API "JDO" using JRE "1.7" 
DataNucleus Enhancer : Classpath 
>> /data/home/maven/boot/plexus-classworlds-2.5.2.jar 
Class "org.apache.hadoop.hive.metastore.model.MDatabase" has MetaData yet the class cant be
found. Please check your CLASSPATH specifications. 
DataNucleus Enhancer completed with an error. Please review the enhancer log (at DEBUG level)
for full details. Some classes may have been enhanced but some caused errors
Mime
View raw message