Wednesday, May 7, 2014

MapR commands - 11 Best Practice

  • Virtual IP

maprcli virtualip remove -virtualip 66.66.66.66
maprcli virtualip list
maprcli virtualip add -netmask 255.255.255.0 -virtualip 172.28.12.88
  • NFS memory setting

/opt/mapr/conf/warden.conf:
service.command.nfs.heapsize.percent=3
service.command.nfs.heapsize.max=1000
service.command.nfs.heapsize.min=64
  • To reduce the number of slots on a node:

sudo maprcli node services -nodes <node name> -tasktracker stop

/opt/mapr/hadoop/hadoop-<version>/conf/mapred-site.xml:
mapred.tasktracker.map.tasks.maximum
mapred.tasktracker.reduce.tasks.maximum

sudo maprcli node services -nodes <node name> -tasktracker start
  • Hbase

hadoop mfs -setcompression off /hbase

No comments:

Post a Comment

Popular Posts