Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/flutter/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用Thread客户端连接到HDP2.0(Hortonworks Hadoop)_Hadoop_Yarn_Hortonworks Data Platform - Fatal编程技术网

使用Thread客户端连接到HDP2.0(Hortonworks Hadoop)

使用Thread客户端连接到HDP2.0(Hortonworks Hadoop),hadoop,yarn,hortonworks-data-platform,Hadoop,Yarn,Hortonworks Data Platform,我在VirtualBox中下载并启动了HDP2.0,然后尝试使用YarnClient从Java进行连接 YarnClient client = YarnClient.createYarnClient(); client.init(new Configuration()); client.start(); client.createApplication(); 但遇到了以下错误: 1311 [IPC Client (1943692956) connection

我在VirtualBox中下载并启动了HDP2.0,然后尝试使用YarnClient从Java进行连接

    YarnClient client = YarnClient.createYarnClient();  
    client.init(new Configuration());
    client.start();
    client.createApplication();
但遇到了以下错误:

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

但是所有的文档都对我应该如何配置所有这些安全性内容保持沉默。任何具有Hortonworks产品实际操作经验的机构?

当前版本的Hortonworks HDP 2.0虚拟机仅适用于从虚拟机本身获取的LIB。以下是需要执行的操作说明:

当前版本的Hortonworks HDP 2.0虚拟机仅适用于从虚拟机本身获取的LIB。以下是需要执行的操作说明:

连接似乎被拒绝。首先尝试使用
netcat
telnet
进行连接,以确保没有防火墙或网络问题。连接似乎被拒绝。首先尝试连接
netcat
telnet
,以确保没有防火墙或网络问题。
<!--Sun Jun 16 11:08:58 2013 -->
<configuration>
<property>
    <name>yarn.resourcemanager.admin.address</name>
    <value>192.168.0.31:8141</value>
</property>
<property>
    <name>yarn.resourcemanager.address</name>
    <value>192.168.0.31:8050</value>
</property>
<property>
    <name>yarn.nodemanager.address</name>
    <value>192.168.0.31:45454</value>
</property>
<property>
    <name>yarn.resourcemanager.scheduler.address</name>
    <value>192.168.0.31:8030</value>
</property>
<property>
    <name>yarn.resourcemanager.resource-tracker.address</name>
    <value>192.168.0.31:8025</value>
</property>
<property>
    <name>yarn.resourcemanager.webapp.address</name>
    <value>192.168.0.31:8088</value>
</property>
<property>
    <name>yarn.log.server.url</name>
    <value>http://192.168.0.31:19888/jobhistory/logs</value>
</property>
</configuration>
2013-08-11 12:17:34,018 INFO  ipc.Server (Server.java:doRead(763)) - IPC Server listener on 8050: readAndProcess threw exception java.io.IOException: Unable to read authentication method from client 192.168.0.48. Count of bytes read: 0
java.io.IOException: Unable to read authentication method
    at org.apache.hadoop.ipc.Server$Connection.readAndProcess(Server.java:1341)
    at org.apache.hadoop.ipc.Server$Listener.doRead(Server.java:758)
    at org.apache.hadoop.ipc.Server$Listener$Reader.doRunLoop(Server.java:557)
    at org.apache.hadoop.ipc.Server$Listener$Reader.run(Server.java:532)