CDH版本 HDFS NFS Gateway 无法启动、挂载失败问题

来源:互联网 发布:知我者芈月也 编辑:程序博客网 时间:2024/05/22 01:41

如遇到NFS启动失败,或者其他机器挂载NFS失败,错误字样有如下

挂载失败关键字:
mount.nfs: requested NFS version or transport protocol is not supported

启动失败关键字:
WARN org.apache.hadoop.oncrpc.RpcProgram: Invalid RPC call version 4
NFS service is already running on this host. Please stop the NFS service running on this host before attempting to start the NFS Gateway role.
Started listening to TCP requests at port 2049 for Rpc program: NFS3 at localhost:2049 with workerCount 0
ShutdownHook 'NfsShutdownHook' failed, java.lang.RuntimeException: Unregistration failure

关键字样,没有portmap or rpcbind服务,所以后续工作无法进行:
No portmap or rpcbind service

工作运行机制为:
HDFS NFS Gateway工作需要依附 rpcbind 服务,所以启动前需要确定rpcbind服务正常开启。 servicerpcbind start
但是HDFS NFS 服务会与系统自带的NFS服务冲突,所以在启动前需要关闭系统自带的NFS服务。service nfs stop
0 0
原创粉丝点击