I installed HDP2.2 sandbox in virtualbox on windows 7.
I also have a fedora core 21 VM on the same windows box.
After adding a hostonly 2nd interface to both machines, I can access the sandbox normally via http://192.168.56.103:8888/ , http://192.168.56.103:8000/filebrowser/view/user/hue , etc.
I installed hadoop on the fc21 box, and I get an error when trying to access HDFS on the sandbox:
# hadoop fs -ls hdfs://192.168.56.103:8020/user/hue
ls: Call From fc.localdomain/127.0.0.1 to sandbox.hortonworks.com:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
netstat on the sandbox shows it is only listening on 10.0.2.15 for port 8020:
tcp 0 0 10.0.2.15:8020 0.0.0.0:* LISTEN 1784/java
I can ping 10.0.2.15 from the fc21 box as well, but trying to access HDFS gives the same error:
# hadoop fs -ls hdfs://10.0.2.15:8020/user/hue
ls: Call From fc.localdomain/127.0.0.1 to 10.0.2.15:8020 failed on connection exception: java.net.ConnectException: Connection refused; For more details see: http://wiki.apache.org/hadoop/ConnectionRefused
How can I get this setup so I can access the Sandbox HDFS from the fc21 box?