Re: problems when I use hadoop2.6

2014-10-30 Thread Steve Loughran
not seen that before: something went wrong with the HDFS binding. At a
guess, I'd say there's some JAR conflict, maybe conflicting versions of
hadoop JARS on the classpath or something similar.

On 29 October 2014 15:24, Rui Zhang rzh...@vertica.com wrote:

 Hi,

 I am using the hadoop2.6 I compiled myself. When I run exists command, it
 has this error. What's the problem? I have included all the libraries in
 the slider_client.xml.

 ~/Slider_Vertica/Linux64/slider-0.51.0/bin/slider exists slider_test
 Exception: org.apache.hadoop.ipc.RPC.getProtocolProxy(Ljava/lang/
 Class;JLjava/net/InetSocketAddress;Lorg/apache/hadoop/security/
 UserGroupInformation;Lorg/apache/hadoop/conf/Configuration;Ljavax/net/
 SocketFactory;ILorg/apache/hadoop/io/retry/RetryPolicy;
 Ljava/util/concurrent/atomic/AtomicBoolean;)Lorg/apache/
 hadoop/ipc/ProtocolProxy;
 2014-10-29 11:09:28,601 [main] ERROR main.ServiceLauncher - Exception:
 org.apache.hadoop.ipc.RPC.getProtocolProxy(Ljava/lang/Class;JLjava/net/
 InetSocketAddress;Lorg/apache/hadoop/security/UserGroupInformation;Lorg/
 apache/hadoop/conf/Configuration;Ljavax/net/SocketFactory;ILorg/apache/
 hadoop/io/retry/RetryPolicy;Ljava/util/concurrent/atomic/
 AtomicBoolean;)Lorg/apache/hadoop/ipc/ProtocolProxy;
 java.lang.NoSuchMethodError: org.apache.hadoop.ipc.RPC.
 getProtocolProxy(Ljava/lang/Class;JLjava/net/
 InetSocketAddress;Lorg/apache/hadoop/security/UserGroupInformation;Lorg/
 apache/hadoop/conf/Configuration;Ljavax/net/SocketFactory;ILorg/apache/
 hadoop/io/retry/RetryPolicy;Ljava/util/concurrent/atomic/
 AtomicBoolean;)Lorg/apache/hadoop/ipc/ProtocolProxy;
 at org.apache.hadoop.hdfs.NameNodeProxies.
 createNNProxyWithClientProtocol(NameNodeProxies.java:420)
 at org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(
 NameNodeProxies.java:316)
 at org.apache.hadoop.hdfs.NameNodeProxies.createProxy(
 NameNodeProxies.java:178)
 at org.apache.hadoop.hdfs.DFSClient.init(DFSClient.java:658)
 at org.apache.hadoop.hdfs.DFSClient.init(DFSClient.java:592)
 at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(
 DistributedFileSystem.java:148)
 at org.apache.hadoop.fs.FileSystem.createFileSystem(
 FileSystem.java:2397)
 at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:89)
 at org.apache.hadoop.fs.FileSystem$Cache.getInternal(
 FileSystem.java:2431)
 at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2413)
 at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:368)
 at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:167)
 at org.apache.slider.common.tools.CoreFileSystem.init(
 CoreFileSystem.java:79)
 at org.apache.slider.common.tools.SliderFileSystem.init(
 SliderFileSystem.java:38)
 at org.apache.slider.client.SliderClient.initHadoopBinding(
 SliderClient.java:436)
 at org.apache.slider.client.SliderClient.serviceInit(
 SliderClient.java:246)
 at org.apache.hadoop.service.AbstractService.init(
 AbstractService.java:163)
 at org.apache.slider.core.main.ServiceLauncher.launchService(
 ServiceLauncher.java:182)
 at org.apache.slider.core.main.ServiceLauncher.launchServiceRobustly(
 ServiceLauncher.java:473)
 at org.apache.slider.core.main.ServiceLauncher.launchServiceAndExit(
 ServiceLauncher.java:403)
 at org.apache.slider.core.main.ServiceLauncher.serviceMain(
 ServiceLauncher.java:628)
 at org.apache.slider.Slider.main(Slider.java:49)
 2014-10-29 11:09:28,604 [main] INFO  util.ExitUtil - Exiting with status 56

 Thanks,
 Rui

 --
 Rui Zhang
 Software engineer Intern
 Vertica, an HP Company
 rzh...@vertica.com



-- 
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to 
which it is addressed and may contain information that is confidential, 
privileged and exempt from disclosure under applicable law. If the reader 
of this message is not the intended recipient, you are hereby notified that 
any printing, copying, dissemination, distribution, disclosure or 
forwarding of this communication is strictly prohibited. If you have 
received this communication in error, please contact the sender immediately 
and delete it from your system. Thank You.


Re: problems when I use hadoop2.6

2014-10-30 Thread Rui Zhang

It's the conflicting jars problem. It's already fixed. Thanks.

On 10/30/2014 02:52 PM, Steve Loughran wrote:

not seen that before: something went wrong with the HDFS binding. At a
guess, I'd say there's some JAR conflict, maybe conflicting versions of
hadoop JARS on the classpath or something similar.

On 29 October 2014 15:24, Rui Zhang rzh...@vertica.com wrote:


Hi,

I am using the hadoop2.6 I compiled myself. When I run exists command, it
has this error. What's the problem? I have included all the libraries in
the slider_client.xml.

~/Slider_Vertica/Linux64/slider-0.51.0/bin/slider exists slider_test
Exception: org.apache.hadoop.ipc.RPC.getProtocolProxy(Ljava/lang/
Class;JLjava/net/InetSocketAddress;Lorg/apache/hadoop/security/
UserGroupInformation;Lorg/apache/hadoop/conf/Configuration;Ljavax/net/
SocketFactory;ILorg/apache/hadoop/io/retry/RetryPolicy;
Ljava/util/concurrent/atomic/AtomicBoolean;)Lorg/apache/
hadoop/ipc/ProtocolProxy;
2014-10-29 11:09:28,601 [main] ERROR main.ServiceLauncher - Exception:
org.apache.hadoop.ipc.RPC.getProtocolProxy(Ljava/lang/Class;JLjava/net/
InetSocketAddress;Lorg/apache/hadoop/security/UserGroupInformation;Lorg/
apache/hadoop/conf/Configuration;Ljavax/net/SocketFactory;ILorg/apache/
hadoop/io/retry/RetryPolicy;Ljava/util/concurrent/atomic/
AtomicBoolean;)Lorg/apache/hadoop/ipc/ProtocolProxy;
java.lang.NoSuchMethodError: org.apache.hadoop.ipc.RPC.
getProtocolProxy(Ljava/lang/Class;JLjava/net/
InetSocketAddress;Lorg/apache/hadoop/security/UserGroupInformation;Lorg/
apache/hadoop/conf/Configuration;Ljavax/net/SocketFactory;ILorg/apache/
hadoop/io/retry/RetryPolicy;Ljava/util/concurrent/atomic/
AtomicBoolean;)Lorg/apache/hadoop/ipc/ProtocolProxy;
 at org.apache.hadoop.hdfs.NameNodeProxies.
createNNProxyWithClientProtocol(NameNodeProxies.java:420)
 at org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(
NameNodeProxies.java:316)
 at org.apache.hadoop.hdfs.NameNodeProxies.createProxy(
NameNodeProxies.java:178)
 at org.apache.hadoop.hdfs.DFSClient.init(DFSClient.java:658)
 at org.apache.hadoop.hdfs.DFSClient.init(DFSClient.java:592)
 at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(
DistributedFileSystem.java:148)
 at org.apache.hadoop.fs.FileSystem.createFileSystem(
FileSystem.java:2397)
 at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:89)
 at org.apache.hadoop.fs.FileSystem$Cache.getInternal(
FileSystem.java:2431)
 at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2413)
 at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:368)
 at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:167)
 at org.apache.slider.common.tools.CoreFileSystem.init(
CoreFileSystem.java:79)
 at org.apache.slider.common.tools.SliderFileSystem.init(
SliderFileSystem.java:38)
 at org.apache.slider.client.SliderClient.initHadoopBinding(
SliderClient.java:436)
 at org.apache.slider.client.SliderClient.serviceInit(
SliderClient.java:246)
 at org.apache.hadoop.service.AbstractService.init(
AbstractService.java:163)
 at org.apache.slider.core.main.ServiceLauncher.launchService(
ServiceLauncher.java:182)
 at org.apache.slider.core.main.ServiceLauncher.launchServiceRobustly(
ServiceLauncher.java:473)
 at org.apache.slider.core.main.ServiceLauncher.launchServiceAndExit(
ServiceLauncher.java:403)
 at org.apache.slider.core.main.ServiceLauncher.serviceMain(
ServiceLauncher.java:628)
 at org.apache.slider.Slider.main(Slider.java:49)
2014-10-29 11:09:28,604 [main] INFO  util.ExitUtil - Exiting with status 56

Thanks,
Rui

--
Rui Zhang
Software engineer Intern
Vertica, an HP Company
rzh...@vertica.com




--
Rui Zhang
Software engineer Intern
Vertica, an HP Company
rzh...@vertica.com



problems when I use hadoop2.6

2014-10-29 Thread Rui Zhang

Hi,

I am using the hadoop2.6 I compiled myself. When I run exists command, 
it has this error. What's the problem? I have included all the libraries 
in the slider_client.xml.


~/Slider_Vertica/Linux64/slider-0.51.0/bin/slider exists slider_test
Exception: 
org.apache.hadoop.ipc.RPC.getProtocolProxy(Ljava/lang/Class;JLjava/net/InetSocketAddress;Lorg/apache/hadoop/security/UserGroupInformation;Lorg/apache/hadoop/conf/Configuration;Ljavax/net/SocketFactory;ILorg/apache/hadoop/io/retry/RetryPolicy;Ljava/util/concurrent/atomic/AtomicBoolean;)Lorg/apache/hadoop/ipc/ProtocolProxy;
2014-10-29 11:09:28,601 [main] ERROR main.ServiceLauncher - Exception: 
org.apache.hadoop.ipc.RPC.getProtocolProxy(Ljava/lang/Class;JLjava/net/InetSocketAddress;Lorg/apache/hadoop/security/UserGroupInformation;Lorg/apache/hadoop/conf/Configuration;Ljavax/net/SocketFactory;ILorg/apache/hadoop/io/retry/RetryPolicy;Ljava/util/concurrent/atomic/AtomicBoolean;)Lorg/apache/hadoop/ipc/ProtocolProxy;
java.lang.NoSuchMethodError: 
org.apache.hadoop.ipc.RPC.getProtocolProxy(Ljava/lang/Class;JLjava/net/InetSocketAddress;Lorg/apache/hadoop/security/UserGroupInformation;Lorg/apache/hadoop/conf/Configuration;Ljavax/net/SocketFactory;ILorg/apache/hadoop/io/retry/RetryPolicy;Ljava/util/concurrent/atomic/AtomicBoolean;)Lorg/apache/hadoop/ipc/ProtocolProxy;
at 
org.apache.hadoop.hdfs.NameNodeProxies.createNNProxyWithClientProtocol(NameNodeProxies.java:420)
at 
org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(NameNodeProxies.java:316)
at 
org.apache.hadoop.hdfs.NameNodeProxies.createProxy(NameNodeProxies.java:178)

at org.apache.hadoop.hdfs.DFSClient.init(DFSClient.java:658)
at org.apache.hadoop.hdfs.DFSClient.init(DFSClient.java:592)
at 
org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:148)
at 
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2397)

at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:89)
at 
org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2431)

at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2413)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:368)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:167)
at 
org.apache.slider.common.tools.CoreFileSystem.init(CoreFileSystem.java:79)
at 
org.apache.slider.common.tools.SliderFileSystem.init(SliderFileSystem.java:38)
at 
org.apache.slider.client.SliderClient.initHadoopBinding(SliderClient.java:436)
at 
org.apache.slider.client.SliderClient.serviceInit(SliderClient.java:246)
at 
org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
at 
org.apache.slider.core.main.ServiceLauncher.launchService(ServiceLauncher.java:182)
at 
org.apache.slider.core.main.ServiceLauncher.launchServiceRobustly(ServiceLauncher.java:473)
at 
org.apache.slider.core.main.ServiceLauncher.launchServiceAndExit(ServiceLauncher.java:403)
at 
org.apache.slider.core.main.ServiceLauncher.serviceMain(ServiceLauncher.java:628)

at org.apache.slider.Slider.main(Slider.java:49)
2014-10-29 11:09:28,604 [main] INFO  util.ExitUtil - Exiting with status 56

Thanks,
Rui

--
Rui Zhang
Software engineer Intern
Vertica, an HP Company
rzh...@vertica.com