我尝试使用命令“put”或“copyFromLocal”将文件从本地文件系统复制到目标文件系统,在这两种情况下我都遇到了与套接字相关的相同问题:
$ bin/hdfs dfs -put /tmp /user/ks/tmp
15/01/06 04:48:11 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
put: /tmp/com.apple.launchd.OKmBZ211il/Render (Operation not supported on socket)
put: /tmp/com.apple.launchd.Z0DmcBDI4x/Listeners (Operation not supported on socket)
put: /tmp/com.rim.BBCM (Operation not supported on socket)
put: /tmp/com.rim.BBDD (Operation not supported on socket)
put: /tmp/com.rim.BBDE (Operation not supported on socket)
为什么套接字上不支持操作?