Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive, mail # user - Build Failure for 0.10.0 source


+
subhasish saha 2013-05-10, 20:52
Copy link to this message
-
Re: Build Failure for 0.10.0 source
Nitin Pawar 2013-05-10, 21:07
look at HIVE-4231
use sun JDK
On Sat, May 11, 2013 at 2:22 AM, subhasish saha <[EMAIL PROTECTED]>wrote:

> 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
>

--
Nitin Pawar
+
subhasish saha 2013-05-10, 22:15