0% found this document useful (0 votes)
39 views5 pages

Mapr 6.1.0

This document outlines the steps to configure MapR 6.1.0 on a single node cluster using RHEL8. It includes prerequisites for VM setup, proxy configuration, repository setup, package installation, and cluster configuration commands. Additionally, it provides troubleshooting steps for common errors and commands to verify the cluster's status and health.

Uploaded by

majameel524
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views5 pages

Mapr 6.1.0

This document outlines the steps to configure MapR 6.1.0 on a single node cluster using RHEL8. It includes prerequisites for VM setup, proxy configuration, repository setup, package installation, and cluster configuration commands. Additionally, it provides troubleshooting steps for common errors and commands to verify the cluster's status and health.

Uploaded by

majameel524
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Mapr 6.1.

0 Configuration on Single Node Cluster on RHEL8 Server


1. Create and Configure VM in OVrit Tool and make sure to install OS using the Templates.
Minimum Requirements are:
1. 4 CPU’s
2. 16GB RAM
3. 50GB Disk
Operating System Metrix

2. Once, OS installation completed. Please login to the Server using Putty tool.

3. Before setting up the Cluster. You will have to be performed with the below steps on your
LAB VM.
1. Configure the /etc/profile.d/proxy.sh file with the below Content to enable
proxy variables.
ftp_proxy=http://proxy-ccy.houston.hp.com:8080
http_proxy=http://proxy-ccy.houston.hp.com:8080
https_proxy=http://proxy-ccy.houston.hp.com:8080
FTP_PROXY=http://proxy-ccy.houston.hp.com:8080
HTTP_PROXY=http://proxy-ccy.houston.hp.com:8080
HTTPS_PROXY=http://proxy-ccy.houston.hp.com:8080
no_proxy=*.devops.lab,*qa.lab,10.10.12.0/24,10.10.1.0/24,artifactory.devops.la
b,*.mip.storage.hpecorp.net,10.163.172.0/23
NO_PROXY=*.devops.lab,*qa.lab,10.10.12.0/24,10.10.1.0/24,artifactory.devops.
lab,*.mip.storage.hpecorp.net,10.163.172.0/23
export ftp_proxy
export http_proxy
export https_proxy
export FTP_PROXY
export HTTP_PROXY
export HTTPS_PROXY
export no_proxy
export NO_PROXY

2. Do source /etc/profile.d/proxy.sh to load the above listed variables.

4. Mount the local ISO using below


mount /dev/sr0 /mnt

5. Configure Repositories in /etc/yum.repos.d as below for setting up the Cluster.

Mapr Core Software MapR Ecosystem package


[MapR_Core] [MapR_Ecosystem]
name = MapR_Core_Components name = MapR Ecosystem Components
baseurl= baseurl = http://package.mapr.com/releases/MEP/MEP-
http://package.mapr.com/releases/v6.1.0/redhat 6.3.0/redhat
gpgcheck = 1 gpgcheck = 1
enabled = 1 enabled = 1

OS Repo's EPEL Repo's


[os]
name = os
baseurl = file:///mnt/AppStream
gpgcheck = 0
1. wget http://dl.fedoraproject.org/pub/epel/epel-
enabled = 1
release-latest-8.noarch.rpm
protected = 1
2. rpm -ivh epel-release-latest-8.noarch.rpm
[os1]
The above installed rpm will create multiple EPEL Repo's
name = os1
in /etc/yum.repos.d/
baseurl = file:///mnt/BaseOS
gpgcheck = 0
enabled = 1
protected = 1

6. Before you install MapR packages, you must install the package key
rpm --import https://package.mapr.hpe.com/releases/pub/maprgpg.key

7. To run MapR software, you must install a supported Java Development Kit (JDK) on your
node. JDK support Matrix

Here Supported Version is java-1.8.0*. hence installing it using below command.


yum install java-1.8.0*

8. Install Cluster Service packages as below


yum install mapr-cldb mapr-zookeeper mapr-webserver mapr-fileserver -y

9. Once the package Installation completed. Please add disks with desire size
(Recommendation is 3 Disks)

10. Verify the disks and add them into a file called /tmp/disk like below
/dev/sdb
/dev/sdc
/dev/sdd
Note: file name could be any name

11. Now try to Configure the Cluster using below


/opt/mapr/server/configure.sh -N myCluster_6.1 -C 10.163.173.221 -Z 10.163.173.221 --
create-user -F /tmp/disks

-N Name of the Cluster


-C CLDB IP Address
-Z Zookeeper IP Address
-F file name where disk names are updated
While configuring the cluster, if you are troubling with the below error.

[root@m2-maprts-vm221-173 /]# /opt/mapr/server/configure.sh -N myCluster_6.1 -C


10.163.173.221 -Z 10.163.173.221 --create-user -F /tmp/disks
Configuring Hadoop-2.7.0 at /opt/mapr/hadoop/hadoop-2.7.0
Done configuring Hadoop
CLDB node list: 10.163.173.221:7222
Zookeeper node list: 10.163.173.221:5181
External Zookeeper node list:
id mapr is created, please run 'passwd mapr' to set a password for mapr.
Node setup configuration: cldb fileserver zookeeper
Log can be found at: /opt/mapr/logs/configure.log
/opt/mapr/server/configure.sh: /opt/mapr/server/disksetup: /usr/bin/python: bad interpreter:
No such file or directory
[root@m2-maprts-vm221-173 /]#

Please follow below steps:


1. Download and apply the patch where this Bug has been fixed.
To download the latest MapR patches for supported versions:
1. Navigate to the secure FTP server at https://sftp.mapr.com.

2. Log in using maprpatches for your Login ID. Leave the Password field blank.

3. Click Login.

2. The Patch name looks to be starting like this “mapr-patch” and ensure to download the
latest patch.
Ex: mapr-patch-6.1.0.20180926230239.GA-20220817032108.x86_64.rpm

The highlighted date 17th August 2022 the latest patch was updated in the SFTP portal.
3. Download it and install it on Node.
rpm -ivh mapr-patch-6.1.0.20180926230239.GA-20220817032108.x86_64.rpm

12. Repeat Step:11 and the output should be like this.


[root@m2-maprts-vm221-173 /]# /opt/mapr/server/configure.sh -N myCluster_6.1
-C 10.163.173.221 -Z 10.163.173.221 --create-user -F /tmp/disks
Configuring Hadoop-2.7.0 at /opt/mapr/hadoop/hadoop-2.7.0
Done configuring Hadoop
CLDB node list: 10.163.173.221:7222
Zookeeper node list: 10.163.173.221:5181
External Zookeeper node list:
id mapr is created, please run 'passwd mapr' to set a password for mapr.
Node setup configuration: cldb fileserver zookeeper
Log can be found at: /opt/mapr/logs/configure.log
/dev/sdb added.
/dev/sdc added.
/dev/sdd added.
[root@m2-maprts-vm221-173 /]#

13. Make sure the mapr account should be created.


[root@m2-maprts-vm147-173 ~]# id mapr
uid=1000(mapr) gid=1000(mapr) groups=1000(mapr),10(wheel),1001(shadow)
[root@m2-maprts-vm147-173 ~]#

Note: if you are using Multi-Node cluster, The mapr UID & GUID should be matched
in All Nodes.

14. Start the Zookeeper &Warden Services.


systemctl start mapr-zookeeper
systemctl start mapr-warden

15. Check zookeeper quorum Status.


[root@m2-maprts-vm221-173 /]# /opt/mapr/initscripts/zookeeper qstatus
Using config: /opt/mapr/zookeeper/zookeeper-3.4.11/conf/zoo.cfg
Mode: standalone
[root@m2-maprts-vm221-173 /]#

Note: The Mode is shown here as Standalone, it means that it is Single node Cluster.

16. To check whether Storage Pool created with the desired disks.
[root@m2-maprts-vm221-173 /]# /opt/mapr/server/mrconfig sp list -v
ListSPs resp: status 0:1
No. of SPs (1), totalsize 22943 MB, totalfree 22535 MB

SP 0: name SP1, Online, size 22943 MB, free 22535 MB, path /dev/sdb, log 200 MB,
port 5660, guid a52b263562ac1ee000630729db041e96, clusterUuid -
7212750309292381085--1475057293684751228, disks /dev/sdb /dev/sdc /dev/sdd,
dare 0
[root@m2-maprts-vm221-173 /]#

17. To know the disks that was added into the Cluster.
[root@m2-maprts-vm221-173 /]# cat /opt/mapr/conf/disktab
# MapR Disks Thu Aug 25 13:20:55 2022

/dev/sdb FE9F5541-335C-9219-6BCE-0DDA29076300
/dev/sdc 1E7B3764-83FF-CFF9-E2FB-0EDA29076300
/dev/sdd 75943D3E-7EE9-FA87-4DBC-00DB29076300

18. To know the CLDB Cluster name & IP Address:


[root@m2-maprts-vm221-173 /]# cat /opt/mapr/conf/mapr-clusters.conf
myCluster_6.1 secure=false 10.163.173.221:7222

19. To list the cldb nodes


maprcli node listcldbs
20. To list the Zookeeper nodes
maprcli node listzookeepers
21. To know the cldb master

maprcli node cldbmaster

22. List the health and configured service of all nodes:


maprcli node list -columns service,health,ip

You might also like