Cannot start NFS Gateway - Hadoop

cloudera, hadoop, hdfs

Solution

You need to have rpcbind running:

sudo service rpcbind start

Problem

I am unable to start NFS Gateway in Cloudera. It gives me error `Supervisor returned FATAL. Please check the role log file, stderr, or stdout` But the only strange thing that I can observe in stdout is ``` socket.error: [Errno 111] Connection refused + '[' 1 -ne 0 ']' + echo 'Cannot connect to port 111.' + return 1 + '[' 1 -eq 1 ']' + echo 'No portmap or rpcbind service is running on this host. Please start portmap or rpcbind service before attempting to start the NFS Gateway role on this host.' + exit 1 ``` I've tried to change port 111 to 1111 but it didn't help. Any ideas what should I do?

Original source