0

I am trying to do the Hortonworks tutorial "Using Spring XD to stream Tweets to Hadoop for Sentiment Analysis"

As part of the step I am using the command:

xd>xd-shell --hadoopDistro hadoop20

xd> hadoop config fs --namenode hdfs://10.0.0.27:8020

xd> hadoop fs ls /

At this point I get a timeout exception.

Thus, I used the next step of creating a stream

xd>stream create --name ticktockhdfs --definition "Time | HDFS"

At this point I get the following error:

Caused by: java.net.ConnectException: Call to localhost/127.0.0.1:8020 failed on connection exception: java.net.ConnectException: Connection refused: no further information at org.apache.hadoop.ipc.Client.wrapException(Client.java:1142) at org.apache.hadoop.ipc.Client.call(Client.java:1118) at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:229) at com.sun.proxy.$Proxy52.getProtocolVersion(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

I am using a Windows 7 laptop where I have the Hortonworks Sandbox.

In the Hortonworks sandbox setting I have:

1) Network --> Disabled the NAT driver 2) USing the Bridged Adapter --> Intel(R) Contrino(R) Ultimate-N 6300 AGN.

I am new to this, so pardon me if I have done small mistake

4

1 回答 1

0

我想知道您是否拥有 Hortonworks Sandbox 的正确 IP 地址 - 您在 Sandbox 启动时看到该地址了吗?看看您是否可以使用http://10.0.0.27:8888浏览器连接到沙盒。

您使用的是哪个版本的 Spring XD 和 Hortonworks Sandbox?它应该适用于 Hortonworks Sandbox 1.3。XD 里程碑版本(应该在下一个版本中)尚不支持最新的 Sandbox 2.0。

-托马斯

于 2013-12-02T18:08:34.353 回答