in MapR, Redhat, Server_doc

How to Install MapR 5.2 on Redhat 7.2

#Setting the java

 

[root@localhost ~]# mv jdk-8u101-linux-x64.tar.gz /opt

[root@localhost opt]# tar zxvf jdk-8u101-linux-x64.tar.gz

[root@localhost opt]# alternatives –install jdk1.8.0_101 jdk1.8.0_101/bin/javac 2

[root@localhost opt]# alternatives –install /usr/bin/java java /opt/jdk1.8.0_101/bin/java 2

 

[root@localhost opt]# alternatives –config java

There are 3 programs which provide ‘java’.

Selection    Command
———————————————–
1           /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.91-2.6.2.3.el7.x86_64/jre/bin/java
*  2           /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.65-3.b17.el7.x86_64/jre/bin/java
+ 3           /opt/jdk1.8.0_101/bin/java

Enter to keep the current selection[+], or type selection number: 3

 

#Setting the OS Repository

[root@localhost ~]# mkdir /rhel7repo

[root@localhost ~]# mount rhel-server-7.2-x86_64-dvd.iso /rhel7repo

[root@localhost ~]# vi /etc/yum.repos.d/rhel7.repo

[rhel7_dvd]
gpgcheck = 0
enabled = 1
baseurl = file:///rhel7repo
name = rhel7repo

 

#Setup the MapR web Installer

[root@localhost tmp]# wget http://package.mapr.com/releases/installer/mapr-setup.sh -P /tmp

[root@localhost tmp]# wget http://package.mapr.com/releases/v5.2.0/redhat/mapr-v5.2.0GA.rpm.tgz -P /tmp/

[root@localhost tmp]# wget http://package.mapr.com/releases/installer/redhat/mapr-installer-v1.3.201608232032.rpm.tgz -P /tmp/

[root@localhost tmp]# wget http://package.mapr.com/releases/MEP/MEP-1.0.0/redhat/mapr-mep-v1.0.0.201608161134.rpm.tgz -P /tmp/

[root@localhost tmp]# bash ./mapr-setup.sh -a /tmp/mapr-installer-v1.3.201608232032.rpm.gz /tmp/mapr-mep-v1.0.0.201608161134.rpm.gz /tmp/mapr-v5.2.0GA.rpm.gz

 

MapR Distribution Initialization and Update

Copyright 2016 MapR Technologies, Inc., All Rights Reserved

http://www.mapr.com

Install required packages? [Y]: Y

Installing package dependencies (curl nss python-pycurl openssh-clients openssh-server openssl sshpass sudo wget which)

 

Package curl-7.29.0-25.el7.x86_64 already installed and latest version
Package nss-3.19.1-18.el7.x86_64 already installed and latest version
Package python-pycurl-7.19.0-17.el7.x86_64 already installed and latest version
Package openssh-clients-6.6.1p1-22.el7.x86_64 already installed and latest version
Package openssh-server-6.6.1p1-22.el7.x86_64 already installed and latest version
Package 1:openssl-1.0.1e-42.el7_1.9.x86_64 already installed and latest version
Package sshpass-1.05-5.el7.x86_64 already installed and latest version
Package sudo-1.8.6p7-16.el7.x86_64 already installed and latest version
Package wget-1.14-10.el7_0.1.x86_64 already installed and latest version
Package which-2.20-7.el7.x86_64 already installed and latest version

 

…Success

 

Testing for JDK 7 or higher …

 

Ensuring existing JDK 1.8 is up to date

 

No Match for argument: /opt/jdk1.8.0_101/bin/javac
No Match for argument: is
No Match for argument: not
No Match for argument: owned
No Match for argument: by
No Match for argument: any
No Match for argument: package

…Success

Creating local repo from /tmp/mapr-installer-v1.3.201608232032.rpm.gz /tmp/mapr-mep-v1.0.0.201608161134.rpm.gz /tmp/mapr-v5.2.0GA.rpm.gz…

Existing web server will be used to serve packages from this system

 

Enter the web server filesystem directory to extract the MapR archive to [/var/www/html/mapr]: [enter]

 

Enter web server url for this path [http://mapr1.localdomain/mapr]: http://192.168.75.134/mapr

 

Extracting packages from /tmp/mapr-installer-v1.3.201608232032.rpm.gz /tmp/mapr-mep-v1.0.0.201608161134.rpm.gz /tmp/mapr-v5.2.0GA.rpm.gz…

 

installer/redhat/
installer/redhat/repodata/
installer/redhat/repodata/other.xml.gz
installer/redhat/repodata/filelists.xml.gz
installer/redhat/repodata/primary.xml.gz
installer/redhat/repodata/repomd.xml
installer/redhat/mapr-installer-1.3.201608232032-1.noarch.rpm
installer/redhat/mapr-installer-definitions-1.3.201608232032-1.noarch.rpm
installer/redhat/mapr-setup.sh
mapr-asynchbase-1.7.0.201607231444-1.noarch.rpm
mapr-asynchbase-1.7.0.201607231444-1.noarch.rpm.md5
mapr-asynchbase-1.7.0.201607231444-1.noarch.rpm.sha1
mapr-collectd-5.5.1.201607200855-1.x86_64.rpm
mapr-collectd-5.5.1.201607200855-1.x86_64.rpm.md5
mapr-collectd-5.5.1.201607200855-1.x86_64.rpm.sha1
mapr-drill-1.6.0.201606241408-1.noarch.rpm
mapr-drill-1.6.0.201606241408-1.noarch.rpm.md5
mapr-drill-1.6.0.201606241408-1.noarch.rpm.sha1
mapr-elasticsearch-2.3.3.201607181157-1.noarch.rpm
mapr-elasticsearch-2.3.3.201607181157-1.noarch.rpm.md5
mapr-elasticsearch-2.3.3.201607181157-1.noarch.rpm.sha1
mapr-fluentd-0.14.00.201607191338-1.x86_64.rpm
mapr-fluentd-0.14.00.201607191338-1.x86_64.rpm.md5
mapr-fluentd-0.14.00.201607191338-1.x86_64.rpm.sha1
mapr-flume-1.6.0.201602111316-1.noarch.rpm
mapr-flume-1.6.0.201602111316-1.noarch.rpm.md5
mapr-flume-1.6.0.201602111316-1.noarch.rpm.sha1
mapr-grafana-3.0.4.201607181205-1.x86_64.rpm
mapr-grafana-3.0.4.201607181205-1.x86_64.rpm.md5
mapr-grafana-3.0.4.201607181205-1.x86_64.rpm.sha1
mapr-hbase-1.1.1.201602221251-1.noarch.rpm
mapr-hbase-1.1.1.201602221251-1.noarch.rpm.Ae9Y1t
mapr-hbase-1.1.1.201602221251-1.noarch.rpm.md5
mapr-hbase-1.1.1.201602221251-1.noarch.rpm.sha1
mapr-hbase-internal-1.1.1.201602221251-1.noarch.rpm
mapr-hbase-internal-1.1.1.201602221251-1.noarch.rpm.md5
mapr-hbase-internal-1.1.1.201602221251-1.noarch.rpm.sha1
mapr-hbase-master-1.1.1.201602221251-1.noarch.rpm
mapr-hbase-master-1.1.1.201602221251-1.noarch.rpm.md5
mapr-hbase-master-1.1.1.201602221251-1.noarch.rpm.sha1
mapr-hbase-regionserver-1.1.1.201602221251-1.noarch.rpm
mapr-hbase-regionserver-1.1.1.201602221251-1.noarch.rpm.md5
mapr-hbase-regionserver-1.1.1.201602221251-1.noarch.rpm.sha1
mapr-hbase-rest-1.1.1.201602221251-1.noarch.rpm
mapr-hbase-rest-1.1.1.201602221251-1.noarch.rpm.md5
mapr-hbase-rest-1.1.1.201602221251-1.noarch.rpm.sha1
mapr-hbasethrift-1.1.1.201602221251-1.noarch.rpm
mapr-hbasethrift-1.1.1.201602221251-1.noarch.rpm.md5
mapr-hbasethrift-1.1.1.201602221251-1.noarch.rpm.sha1
mapr-hive-1.2.201607240717-1.noarch.rpm
mapr-hive-1.2.201607240717-1.noarch.rpm.md5
mapr-hive-1.2.201607240717-1.noarch.rpm.sha1
mapr-hivemetastore-1.2.201607240717-1.noarch.rpm
mapr-hivemetastore-1.2.201607240717-1.noarch.rpm.md5
mapr-hivemetastore-1.2.201607240717-1.noarch.rpm.sha1
mapr-hiveserver2-1.2.201607240717-1.noarch.rpm
mapr-hiveserver2-1.2.201607240717-1.noarch.rpm.md5
mapr-hiveserver2-1.2.201607240717-1.noarch.rpm.sha1
mapr-hivewebhcat-1.2.201607240717-1.noarch.rpm
mapr-hivewebhcat-1.2.201607240717-1.noarch.rpm.md5
mapr-hivewebhcat-1.2.201607240717-1.noarch.rpm.sha1
mapr-httpfs-1.0.201606271250-1.noarch.rpm
mapr-httpfs-1.0.201606271250-1.noarch.rpm.md5
mapr-httpfs-1.0.201606271250-1.noarch.rpm.sha1
mapr-hue-3.9.0.201608151141-1.noarch.rpm
mapr-hue-3.9.0.201608151141-1.noarch.rpm.md5
mapr-hue-3.9.0.201608151141-1.noarch.rpm.sha1
mapr-hue-base-3.9.0.201608151141-1.noarch.rpm
mapr-hue-base-3.9.0.201608151141-1.noarch.rpm.md5
mapr-hue-base-3.9.0.201608151141-1.noarch.rpm.sha1
mapr-hue-livy-3.9.0.201608151141-1.noarch.rpm
mapr-hue-livy-3.9.0.201608151141-1.noarch.rpm.md5
mapr-hue-livy-3.9.0.201608151141-1.noarch.rpm.sha1
mapr-impala-2.5.0.201606222231-1.noarch.rpm
mapr-impala-2.5.0.201606222231-1.noarch.rpm.md5
mapr-impala-2.5.0.201606222231-1.noarch.rpm.sha1
mapr-impala-catalog-2.5.0.201606222231-1.noarch.rpm
mapr-impala-catalog-2.5.0.201606222231-1.noarch.rpm.md5
mapr-impala-catalog-2.5.0.201606222231-1.noarch.rpm.sha1
mapr-impala-server-2.5.0.201606222231-1.noarch.rpm
mapr-impala-server-2.5.0.201606222231-1.noarch.rpm.md5
mapr-impala-server-2.5.0.201606222231-1.noarch.rpm.sha1
mapr-impala-statestore-2.5.0.201606222231-1.noarch.rpm
mapr-impala-statestore-2.5.0.201606222231-1.noarch.rpm.md5
mapr-impala-statestore-2.5.0.201606222231-1.noarch.rpm.sha1
mapr-impala-udf-2.5.0.201606222231-1.noarch.rpm
mapr-impala-udf-2.5.0.201606222231-1.noarch.rpm.md5
mapr-impala-udf-2.5.0.201606222231-1.noarch.rpm.sha1
mapr-kafka-0.9.0.201607141833-1.noarch.rpm
mapr-kafka-0.9.0.201607141833-1.noarch.rpm.md5
mapr-kafka-0.9.0.201607141833-1.noarch.rpm.sha1
mapr-kibana-4.5.1.201607181344-1.x86_64.rpm
mapr-kibana-4.5.1.201607181344-1.x86_64.rpm.md5
mapr-kibana-4.5.1.201607181344-1.x86_64.rpm.sha1
mapr-libhbase-1.1.1.201602221251-1.x86_64.rpm
mapr-libhbase-1.1.1.201602221251-1.x86_64.rpm.md5
mapr-libhbase-1.1.1.201602221251-1.x86_64.rpm.sha1
mapr-mahout-0.12.0.201605311533-1.noarch.rpm
mapr-mahout-0.12.0.201605311533-1.noarch.rpm.md5
mapr-mahout-0.12.0.201605311533-1.noarch.rpm.sha1
mapr-mesos-0.1.201602261158-0.21.1.noarch.rpm
mapr-mesos-0.1.201602261158-0.21.1.noarch.rpm.md5
mapr-mesos-0.1.201602261158-0.21.1.noarch.rpm.sha1
mapr-mesos-dns-0.1.201602261158-1.noarch.rpm
mapr-mesos-dns-0.1.201602261158-1.noarch.rpm.md5
mapr-mesos-dns-0.1.201602261158-1.noarch.rpm.sha1
mapr-mesos-marathon-0.1.201602261158-1.noarch.rpm
mapr-mesos-marathon-0.1.201602261158-1.noarch.rpm.md5
mapr-mesos-marathon-0.1.201602261158-1.noarch.rpm.sha1
mapr-mesos-master-0.1.201602261158-1.noarch.rpm
mapr-mesos-master-0.1.201602261158-1.noarch.rpm.md5
mapr-mesos-master-0.1.201602261158-1.noarch.rpm.sha1
mapr-mesos-slave-0.1.201602261158-1.noarch.rpm
mapr-mesos-slave-0.1.201602261158-1.noarch.rpm.md5
mapr-mesos-slave-0.1.201602261158-1.noarch.rpm.sha1
mapr-myriad-0.1.201602251945-1.noarch.rpm
mapr-myriad-0.1.201602251945-1.noarch.rpm.md5
mapr-myriad-0.1.201602251945-1.noarch.rpm.sha1
mapr-myriad-executor-0.1.201602251945-1.noarch.rpm
mapr-myriad-executor-0.1.201602251945-1.noarch.rpm.md5
mapr-myriad-executor-0.1.201602251945-1.noarch.rpm.sha1
mapr-myriad-scheduler-0.1.201602251945-1.noarch.rpm
mapr-myriad-scheduler-0.1.201602251945-1.noarch.rpm.md5
mapr-myriad-scheduler-0.1.201602251945-1.noarch.rpm.sha1
mapr-oozie-4.2.0.201607281407-1.noarch.rpm
mapr-oozie-4.2.0.201607281407-1.noarch.rpm.md5
mapr-oozie-4.2.0.201607281407-1.noarch.rpm.sha1
mapr-oozie-internal-4.2.0.201607281407-1.noarch.rpm
mapr-oozie-internal-4.2.0.201607281407-1.noarch.rpm.md5
mapr-oozie-internal-4.2.0.201607281407-1.noarch.rpm.sha1
mapr-opentsdb-2.2.0.201607291321-1.noarch.rpm
mapr-opentsdb-2.2.0.201607291321-1.noarch.rpm.md5
mapr-opentsdb-2.2.0.201607291321-1.noarch.rpm.sha1
mapr-pig-0.15.201607281405-1.noarch.rpm
mapr-pig-0.15.201607281405-1.noarch.rpm.md5
mapr-pig-0.15.201607281405-1.noarch.rpm.sha1
mapr-sentry-1.6.0.201606300634-1.noarch.rpm
mapr-sentry-1.6.0.201606300634-1.noarch.rpm.md5
mapr-sentry-1.6.0.201606300634-1.noarch.rpm.sha1
mapr-spark-1.6.1.201607242143-1.noarch.rpm
mapr-spark-1.6.1.201607242143-1.noarch.rpm.md5
mapr-spark-1.6.1.201607242143-1.noarch.rpm.sha1
mapr-spark-historyserver-1.6.1.201607242143-1.noarch.rpm
mapr-spark-historyserver-1.6.1.201607242143-1.noarch.rpm.md5
mapr-spark-historyserver-1.6.1.201607242143-1.noarch.rpm.sha1
mapr-spark-master-1.6.1.201607242143-1.noarch.rpm
mapr-spark-master-1.6.1.201607242143-1.noarch.rpm.md5
mapr-spark-master-1.6.1.201607242143-1.noarch.rpm.sha1
mapr-sqoop-1.4.6.201607271059-1.noarch.rpm
mapr-sqoop-1.4.6.201607271059-1.noarch.rpm.md5
mapr-sqoop-1.4.6.201607271059-1.noarch.rpm.sha1
mapr-sqoop2-client-2.0.0.201607271151-1.noarch.rpm
mapr-sqoop2-client-2.0.0.201607271151-1.noarch.rpm.md5
mapr-sqoop2-client-2.0.0.201607271151-1.noarch.rpm.sha1
mapr-sqoop2-server-2.0.0.201607271151-1.noarch.rpm
mapr-sqoop2-server-2.0.0.201607271151-1.noarch.rpm.md5
mapr-sqoop2-server-2.0.0.201607271151-1.noarch.rpm.sha1
mapr-storm-0.10.0.201607121432-1.noarch.rpm
mapr-storm-0.10.0.201607121432-1.noarch.rpm.md5
mapr-storm-0.10.0.201607121432-1.noarch.rpm.sha1
mapr-storm-nimbus-0.10.0.201607121432-1.noarch.rpm
mapr-storm-nimbus-0.10.0.201607121432-1.noarch.rpm.md5
mapr-storm-nimbus-0.10.0.201607121432-1.noarch.rpm.sha1
mapr-storm-supervisor-0.10.0.201607121432-1.noarch.rpm
mapr-storm-supervisor-0.10.0.201607121432-1.noarch.rpm.md5
mapr-storm-supervisor-0.10.0.201607121432-1.noarch.rpm.sha1
mapr-storm-ui-0.10.0.201607121432-1.noarch.rpm
mapr-storm-ui-0.10.0.201607121432-1.noarch.rpm.md5
mapr-storm-ui-0.10.0.201607121432-1.noarch.rpm.sha1
mep-1.0.0-201608161134.rpm.txt
mep-1.0.0-201608161134.rpm.txt.md5
mep-1.0.0-201608161134.rpm.txt.sha1
v5.2.0/redhat/
v5.2.0/redhat/mapr-upgrade-5.2.0.39122.GA-1.x86_64.rpm
v5.2.0/redhat/mapr-core-internal-5.2.0.39122.GA-1.x86_64.rpm
v5.2.0/redhat/mapr-zookeeper-5.2.0.39122.GA-1.x86_64.rpm
v5.2.0/redhat/repodata/
v5.2.0/redhat/repodata/other.xml.gz
v5.2.0/redhat/repodata/filelists.xml.gz
v5.2.0/redhat/repodata/primary.xml.gz
v5.2.0/redhat/repodata/repomd.xml
v5.2.0/redhat/mapr-mapreduce2-2.7.0.39122.GA-1.x86_64.rpm
v5.2.0/redhat/mapr-hadoop-core-2.7.0.39122.GA-1.x86_64.rpm
v5.2.0/redhat/sha256sum.txt
v5.2.0/redhat/mapr-metrics-5.2.0.39122.GA-1.x86_64.rpm
v5.2.0/redhat/md5sum.txt
v5.2.0/redhat/mapr-fileserver-5.2.0.39122.GA-1.x86_64.rpm
v5.2.0/redhat/rpmrebuild-2.4-1.noarch.rpm
v5.2.0/redhat/mapr-core-5.2.0.39122.GA-1.x86_64.rpm
v5.2.0/redhat/mapr-mapreduce1-0.20.2.39122.GA-1.x86_64.rpm
v5.2.0/redhat/mapr-gateway-5.2.0.39122.GA-1.x86_64.rpm
v5.2.0/redhat/mapr-posix-client-platinum-5.2.0.39122.GA-1.x86_64.rpm
v5.2.0/redhat/mapr-jobtracker-5.2.0.39122.GA-1.x86_64.rpm
v5.2.0/redhat/mapr-historyserver-2.7.0.39122.GA-1.x86_64.rpm
v5.2.0/redhat/mapr-resourcemanager-2.7.0.39122.GA-1.x86_64.rpm
v5.2.0/redhat/mapr-posix-client-basic-5.2.0.39122.GA-1.x86_64.rpm
v5.2.0/redhat/mapr-cldb-5.2.0.39122.GA-1.x86_64.rpm
v5.2.0/redhat/mapr-loopbacknfs-5.2.0.39122.GA-1.x86_64.rpm
v5.2.0/redhat/mapr-webserver-5.2.0.39122.GA-1.x86_64.rpm
v5.2.0/redhat/mapr-tasktracker-5.2.0.39122.GA-1.x86_64.rpm
v5.2.0/redhat/mapr-single-node-5.2.0.39122.GA-1.x86_64.rpm
v5.2.0/redhat/mapr-setup
v5.2.0/redhat/mapr-zk-internal-5.2.0.39122.GA-1.x86_64.rpm
v5.2.0/redhat/mapr-client-5.2.0.39122.GA-1.x86_64.rpm
v5.2.0/redhat/mapr-nodemanager-2.7.0.39122.GA-1.x86_64.rpm
v5.2.0/redhat/mapr-nfs-5.2.0.39122.GA-1.x86_64.rpm
v5.2.0/redhat/sha1sum.txt
…Success

 

Enter [host:]port that cluster nodes connect to this host on [mapr1.localdomain:9443]: 192.168.75.134:9443

Testing for cluster admin account…

Enter MapR cluster admin user name [mapr]: mapr

WARNING: User ‘mapr’ must be in group ‘root’ to allow UNIX authentication

…Success

Installing packages…

Warning: RPMDB altered outside of yum.

Creating 10 year self signed certificate with subjectDN=’CN=*.localdomain’

Certificate stored in file </tmp/tmpfile-maprcert.23071>

Certificate was added to keystore

 

…Success

 

To continue installing MapR software, open the following URL in a web browser

If the address ‘mapr1.localdomain’ is internal and not accessible

from your browser, use the external address mapped to it instead

https://mapr1.localdomain:9443

 

#Create the MEP Workaround local repository (Bugs)

[root@localhost ~]#mkdir -p /var/www/html/mapr/MEP/MEP-1.0.0/redhat

[root@mapr1 mapr]# mv mapr-* /var/www/html/mapr/MEP/MEP-1.0.0/redhat/

[root@mapr1 mapr]# createrepo /var/www/html/mapr/MEP/MEP-1.0.0/redhat/
Spawning worker 0 with 27 pkgs
Spawning worker 1 with 26 pkgs
Workers Finished
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Generating sqlite DBs
Sqlite DBs complete
#

# open https://mapr1.localdomain:9443

#

Login with mapr username and its password,

~FIN~