AnsweredAssumed Answered

Not able to mount cluster via NFS. command is getting stuck

Question asked by ankitdh7 on Sep 11, 2017
Latest reply on Nov 8, 2017 by jbubier

Hi All

 

I am having a problem in mounting my cluster via nfs. Whenever i am trying to mount it, command is just getting stuck with no output.

 

Command i am trying:

[root@node06 logs]# mount -t nfs -o nfsvers=3 -o hard,nolock node06:/mapr /mapr
^C

 

server name = node06

cluster name = MAPR_CLUSTER

 

mount points are visible for exporting:

[root@node06 logs]# showmount -e
Export list for node06.mapr.training.com:
/mapr *
/mapr/MAPR_CLUSTER *

 

I am having only mapr-nfs installed:

[root@node06 ~]# rpm -qa | grep -i nfs
nfs-utils-1.3.0-0.33.el7_3.x86_64
mapr-nfs-5.2.0.39122.GA-1.x86_64
libnfsidmap-0.25-15.el7.x86_64
[root@node06 ~]#

 

Port is listening:

 

[root@node06 ~]# netstat -ntpl | grep -i 2049
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN 30003/nfsserver
[root@node06 ~]# rpcinfo -p node06
program vers proto port service
100000 4 tcp 111 portmapper
100000 3 tcp 111 portmapper
100000 2 tcp 111 portmapper
100000 4 udp 111 portmapper
100000 3 udp 111 portmapper
100000 2 udp 111 portmapper
100003 3 tcp 2049 nfs
100005 3 tcp 2049 mountd
100005 1 tcp 2049 mountd
100005 3 udp 2049 mountd
100005 1 udp 2049 mountd
[root@node06 ~]#

 

Service status:

[root@node06 ~]# maprcli service list -node node06
logpath displayname name memallocated state
/opt/mapr/drill/drill-1.9.0/logs/ Drillbit drill-bits Auto 2
/opt/mapr/hadoop/hadoop-0.20.2/logs TaskTracker tasktracker 157.0 2
/opt/mapr/logs/cldb.log CLDB cldb 0
/opt/mapr/logs/hoststats.log HostStats hoststats Auto 2
/opt/mapr/collectd/collectd-5.5.1/var/log/collectd CollectD collectd Auto 2
/opt/mapr/hadoop/hadoop-0.20.2/logs JobTracker jobtracker 0
/opt/mapr/logs/mfs.log FileServer fileserver 2747.0 2
/opt/mapr/elasticsearch/elasticsearch-2.3.3/var/log/elasticsearch ES elasticsearch 4
/opt/mapr/grafana/grafana-3.1.1/var/log/grafana Grafana grafana Auto 2
/opt/mapr/hadoop/hadoop-2.7.0/logs ResourceManager resourcemanager 0
/opt/mapr/hadoop/hadoop-2.7.0/logs JobHistoryServer historyserver 0
/opt/mapr/hue/hue-3.10.0/logs/ HueWebServer hue Auto 2
/opt/mapr/logs/nfsserver.log NFS Gateway nfs 235.0 2
/opt/mapr/logs/adminuiapp.log Webserver webserver 512.0 2
/opt/mapr/hadoop/hadoop-2.7.0/logs NodeManager nodemanager 157.0 2
/opt/mapr/kibana/kibana-4.5.1/var/log/kibana Kibana kibana Auto 2
/opt/mapr/opentsdb/opentsdb-2.2.1/var/log/opentsdb OpenTsdb opentsdb Auto 2
[root@node06 ~]#

 

Not seeing any error in nfsserver.log:

 

2017-09-11 20:54:30,7712 INFO nfsserver[30003] fs/nfsd/main.cc:542 ***** NFS server starting: pid=30003, mapr-version: 5.2.0.39122.GA *****
2017-09-11 20:54:30,7713 INFO nfsserver[30003] fs/nfsd/main.cc:556 ******* NFS server MAPR_HOME=/opt/mapr, NFS_PORT=2049, NFS_MGMT_PORT=9998, NFSMON_PORT=9997
2017-09-11 20:54:30,8074 INFO nfsserver[30003] fs/nfsd/mount.cc:2155 Export info: /mapr (rw)
2017-09-11 20:54:30,8076 INFO nfsserver[30003] fs/nfsd/mount.cc:1789 CLDB info: CLDB1.35:7222 CLDB2:7222
2017-09-11 20:54:30,8468 INFO nfsserver[30003] fs/nfsd/nfsha.cc:507 hostname: node06.mapr.training.com, hostid: 0x378c4d3aaf8b19b7
2017-09-11 20:54:30,8474 INFO nfsserver[30003] fs/nfsd/requesthandle.cc:498 found NFS_HEAPSIZE env var: 235
2017-09-11 20:54:30,9453 INFO nfsserver[30003] fs/nfsd/main.cc:650 NFS server started ... pid=30003, uid=5000

 

i am using community license with only one NFS gateway:

 

[root@node06 ~]# maprcli node list -columns svc
hostname service
node01.mapr.training.com drill-bits,tasktracker,hoststats,collectd,fileserver,nodemanager
node02.mapr.training.com drill-bits,tasktracker,hoststats,collectd,fileserver,nodemanager
node03.mapr.training.com drill-bits,tasktracker,hoststats,collectd,fileserver,elasticsearch,nodemanager
node04.mapr.training.com cldb,hoststats,collectd,fileserver,loopbacknfs
node05.mapr.training.com cldb,hoststats,collectd,jobtracker,resourcemanager,historyserver,fileserver
node06.mapr.training.com tasktracker,hoststats,collectd,fileserver,grafana,hue,nfs,webserver,nodemanager,kibana,opentsdb

 

Please help where i left the stone un-turned. Let me know if more info is required

 

Regards

Ankit

Attachments

Outcomes