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

转自:http://blog.csdn.net/feloxx/article/details/49099397

如遇到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服务正常开启。 service rpcbind start
但是HDFS NFS 服务会与系统自带的NFS服务冲突,所以在启动前需要关闭系统自带的NFS服务。service nfs stop

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值