Quantcast
Channel: Hortonworks » All Topics
Viewing all articles
Browse latest Browse all 5121

Connecting to HDP 2.0 with yarn client

$
0
0

Replies: 0

I downloaded and launched HDP 2.0 in VirtualBox and then tried to connect from java using YarnClient but came across the following error:

1311 [IPC Client (1943692956) connection to /192.168.0.31:8050 from lordorient] DEBUG org.apache.hadoop.ipc.Client.run null – IPC Client (1943692956) connection to /192.168.0.31:8050 from lordorient: starting, having connections 1
1315 [IPC Client (1943692956) connection to /192.168.0.31:8050 from lordorient] DEBUG org.apache.hadoop.ipc.Client.close null – closing ipc connection to /192.168.0.31:8050: null
java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:392)
at org.apache.hadoop.ipc.Client$Connection.receiveRpcResponse(Client.java:955)
at org.apache.hadoop.ipc.Client$Connection.run(Client.java:852)
1319 [IPC Client (1943692956) connection to /192.168.0.31:8050 from lordorient] DEBUG org.apache.hadoop.ipc.Client.close null – IPC Client (1943692956) connection to /192.168.0.31:8050 from lordorient: closed
1320 [IPC Client (1943692956) connection to /192.168.0.31:8050 from lordorient] DEBUG org.apache.hadoop.ipc.Client.run null – IPC Client (1943692956) connection to /192.168.0.31:8050 from lordorient: stopped, remaining connections 0
1391 [main] TRACE org.apache.hadoop.ipc.ProtobufRpcEngine.invoke null – 1: Exception <- null@192.168.0.31/192.168.0.31:8050: getClusterMetrics {java.io.IOException: Failed on local exception: java.io.EOFException; Host Details : local host is: "lordorient-VirtualBox/127.0.1.1"; destination host is: "192.168.0.31":8050; }

Any ideas whats going wrong?

I am using libraries version 2.1.0-SNAPSHOT from cenral repo and here is my yarn-site.xml

yarn.resourcemanager.admin.address
192.168.0.31:8141

yarn.resourcemanager.address
192.168.0.31:8050

yarn.nodemanager.address
192.168.0.31:45454

yarn.resourcemanager.scheduler.address
192.168.0.31:8030

yarn.resourcemanager.resource-tracker.address
192.168.0.31:8025

yarn.resourcemanager.webapp.address
192.168.0.31:8088

yarn.log.server.url

http://192.168.0.31:19888/jobhistory/logs


Viewing all articles
Browse latest Browse all 5121

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>