AnsweredAssumed Answered

NFS mount problems !

Question asked by reza on Mar 21, 2016
Latest reply on Mar 22, 2016 by mufeed

I am having problems starting the NFS server and mounting NFS. Not sure if the license or something else is a problem! I have a community edition (M3) license, with the following license information:

# maprcli license list

grace  id                       description   deletable  license                                                                                                                                                                                                                                                                                                                                                                                                   maxnodes
true   xxxxxxxxxxxxxxxxxxx=  MapR Base Edition  false version: "4.0"

customerid: "BaseLicenseUser"

issuer: "MapR Technologies, Inc."

licType: Base

description: "MapR Base Edition"

enforcement: HARD

capabilities {

  feature: MAXNODES

  name: "Max Nodes in Cluster"

  permission: ALLOW

  featureData {

maxNodes: "unlimited"

  }

}

capabilities {

  feature: MAPR_TABLES

  name: "MapR Tables"

  permission: ALLOW

}

 

Following are the roles installed:

# ls /opt/mapr/roles/
cldb        hbinternal     nfs          resourcemanager  zookeeper
fileserver  historyserver  nodemanager  webserver

 

Checking rpcbind

# service rpcbind status
rpcbind (pid  1186) is running...

 

Checking nlockmgr

# rpcinfo -p                                

    program vers proto   port  service

1000004   tcp111  portmapper
1000003   tcp111  portmapper
1000002   tcp111  portmapper
1000004   udp111  portmapper
1000003   udp111  portmapper
1000002   udp111  portmapper
1000241   udp  60678  status
1000241   tcp  59611  status

 

 

Following are the services runing on this machine:

# maprcli service list -node localhost   
name        state  logpath                         displayname
fileserver  0 /opt/mapr/logs/mfs.log          FileServer
resourcemanager  0 /opt/mapr/hadoop/hadoop-0.20.2/logs  ResourceManager
nfs         0 /opt/mapr/logs/nfsserver.log    NFS Gateway
webserver   0 /opt/mapr/logs/adminuiapp.log   Webserver
cldb        0 /opt/mapr/logs/cldb.log         CLDB     
nodemanager 0 /opt/mapr/hadoop/hadoop-0.20.2/logs  NodeManager
tasktracker 0 /opt/mapr/hadoop/hadoop-0.20.2/logs  TaskTracker
historyserver0 /opt/mapr/hadoop/hadoop-0.20.2/logs  JobHistoryServer
hoststats   0 /opt/mapr/logs/hoststats.log    HostStats

 

 

# service nfs status

rpc.svcgssd is stopped

rpc.mountd is stopped

nfsd is stopped

 

 

# maprcli node services -nfs start -nodes mapr-virtual-machine

 

# /etc/init.d/mapr-nfsserver status      

nfsserver is stopped

 

# showmount -e localhost                 

clnt_create: RPC: Program not registered

 

#tail -100 /opt/mapr/logs/nfsserver.log

....

started ... pid=29079, uid=2000

2016-03-22 14:14:03,1233 INFO nfsserver[29079] fs/nfsd/nfsha.cc:957 exiting: No license to run NFS server in servermode

 

I have also tried to restart the warden

# service mapr-warden restart

 

With no difference !

Outcomes