hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashutosh Kumar <ashutosh....@gmail.com>
Subject Re: ipc.client RetryUpToMaximumCountWithFixedSleep
Date Thu, 30 Apr 2015 08:02:17 GMT
Looks like your java version is lower than used for creation of jar file.
Can you recompile and create jar in your env ? or upgrade your java
version?

On Thu, Apr 30, 2015 at 1:20 PM, Mahmood Naderan <nt_mahmood@yahoo.com>
wrote:

> There was a syntax error in the previous post. The correct is:
>
> [mahmood@tiger Index]$ hadoop jar indexdata.jar `pwd`/result hdfs://
> 127.0.0.1:9000/data-Index
> Warning: $HADOOP_HOME is deprecated.
>
> Exception in thread "main" java.lang.UnsupportedClassVersionError:
> IndexHDFS : Unsupported major.minor version 51.0
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
>         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:323)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:274)
>         at org.apache.hadoop.util.RunJar.main(RunJar.java:149)
>
>
> Regards,
> Mahmood
>
>
>
>   On Thursday, April 30, 2015 12:17 PM, Mahmood Naderan <
> nt_mahmood@yahoo.com> wrote:
>
>
> Can you explain more?
> To be honest, I am running a third party script (not mine) and the
> developers have no idea on the error.
>
> Do you mean that running "hadoop -jar indexdata.jar `pwd`/result hdfs://
> 127.0.0.1:9000/data-Index" is a better one? For that, I get this error:
>
> [mahmood@tiger Index]$ hadoop jar indexdata.jar ${WORK_DIR}/result hdfs://
> 127.0.0.1:9000/data-Index Warning: $HADOOP_HOME is deprecated.
>
> Exception in thread "main" java.lang.UnsupportedClassVersionError:
> IndexHDFS : Unsupported major.minor version 51.0
>         at java.lang.ClassLoader.defineClass1(Native Method)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:643)
>         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:323)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:274)
>         at org.apache.hadoop.util.RunJar.main(RunJar.java:149)
>
>
>
>
> Regards,
> Mahmood
>
>
>
>
>
>
>

Mime
View raw message