hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From subhasish saha <sahacst...@gmail.com>
Subject Build Failure for 0.10.0 source
Date Fri, 10 May 2013 20:52:33 GMT
Hi all,

According to the instruction in the wiki when i run 'ant -v clean pakage' I
get the following error:

extract-functions:
>     [mkdir] Created dir:
> /home/saha/hive/hive-0.10.0/build/builtins/metadata
>      [java] Executing '/usr/lib/jvm/java-6-openjdk-i386/jre/bin/java' with
> arguments:
>      [java] '-classpath'
> ......
>      [java] Output redirected to
> /home/saha/hive/hive-0.10.0/build/builtins/metadata/class-info.xml
>      [java] Java Result: 1
>      [xslt] Using class org.apache.tools.ant.taskdefs.optional.TraXLiaison
>      [xslt] Processing
> /home/saha/hive/hive-0.10.0/build/builtins/metadata/class-info.xml to
> /home/saha/hive/hive-0.10.0/build/builtins/metadata/class-registration.sql
>      [xslt] Loading stylesheet
> /home/saha/hive/hive-0.10.0/pdk/scripts/class-registration.xsl
>      [xslt] : Error! XML document structures must start and end within the
> same entity.
>      [xslt] : Error!
> com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: XML document
> structures must start and end within the same entity.
>      [xslt] Failed to process
> /home/saha/hive/hive-0.10.0/build/builtins/metadata/class-info.xml
>       [ant] Exiting /home/saha/hive/hive-0.10.0/builtins/build-plugin.xml.
>       [ant] Exiting /home/saha/hive/hive-0.10.0/builtins/build.xml.
>
> BUILD FAILED
> /home/saha/hive/hive-0.10.0/build.xml:547: The following error occurred
> while executing this line:
> /home/saha/hive/hive-0.10.0/builtins/build.xml:37: The following error
> occurred while executing this line:
> /home/saha/hive/hive-0.10.0/pdk/scripts/build-plugin.xml:110:
> javax.xml.transform.TransformerException:
> javax.xml.transform.TransformerException:
> com.sun.org.apache.xml.internal.utils.WrappedRuntimeException: XML document
> structures must start and end within the same entity.
>     at
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:723)
>     at
> com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:317)
>

The build/builtins/metadata/class-info.xml file contains the following
output :

<ClassList>
> Exception in thread "main" java.lang.UnsupportedClassVersionError:
> org/apache/hadoop/hive/ql/exec/Description : Unsupported major.minor
> version 51.0
>     at java.lang.ClassLoader.defineClass1(Native Method)
>     at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
>     at
> java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
>     at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
>     at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
>     at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
>     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
>     at
> org.apache.hive.pdk.FunctionExtractor.main(FunctionExtractor.java:27)
>


I am using java openjdk-6 (1.6.0_27). And I have removed other java
versions from my system seeing major.minor version error. But still error
persists. Btw, I am inside proxy. I have put my proxy authentication in the
top level build.xml file using setproxy.

Please help.

Thanks & regards,
Subhasish

Mime
View raw message