我刚刚安装了在virtualbox中运行的mapr沙箱虚拟机。使用“ NAT”网络模式设置VM,并将端口转发到我的Mac(OSX 10.10)。由于端口已转发,因此我猜测我应该能够在“ localhost”上访问hdfs。
现在我正在尝试在vm上列出hdfs的内容:
unknown60F81DAE9820:loganalytics linseb$ hadoop fs -fs maprfs://localhost -ls /
15/03/25 15:16:11 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
2015-03-25 15:16:11,6646 ERROR Cidcache fs/client/fileclient/cc/cidcache.cc:1586 Thread: 4548153344 MoveToNextCldb: No CLDB entries, cannot run, sleeping 5 seconds!
2015-03-25 15:16:16,6683 ERROR Client fs/client/fileclient/cc/client.cc:813 Thread: 4548153344 Failed to initialize client for cluster localhost:7222, error Connection refused(61)
ls: Could not create FileClient
我还尝试了127.0.0.1,sudo和端口5660,但没有成功。
有任何想法吗?
从NAT网络模式更改为主机只能解决此问题。然后,当然,我必须使用VM的IP来访问maprfs。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句