Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Products
Products Industries
Industries Support
Support Training
Training Community
Community Developer
Developer Partner
Partner
About
About
Mike DeHart
more by this author
SAP Vora
cluster | hadoop | hdp | hortonworks | monsoon
share
0 share
1 tweet share
4 like
0
Follow
Description:
Environment:
Contents:
https://blogs.sap.com/2017/12/05/hadoop-installation-on-monsoon/ 2/17
12/7/2017 Hadoop Installation on Monsoon | SAP Blogs
https://blogs.sap.com/2017/12/05/hadoop-installation-on-monsoon/ 3/17
12/7/2017 Hadoop Installation on Monsoon | SAP Blogs
mkdir "C:\Users\<username>\.ssh"
In the new .ssh folder is where well store our private key.
Once saved, launch puttygen.exe.
Click on the Load button and select your saved private key
(if your key isnt listed, make sure All Files is selected in the
loading screen.)
This new file is saved as a .ppk file and is what well use with
PuTTY to connect to our servers.
2. Prerequisites
Now that we can connect via SSH to all three nodes, we will
do a quick update and create our administration user.
https://blogs.sap.com/2017/12/05/hadoop-installation-on-monsoon/ 5/17
12/7/2017 Hadoop Installation on Monsoon | SAP Blogs
> sudo su
# zypper update -t patch
Well use this user to connect our servers when installing our
Ambari cluster. As such, this user needs password-less
connectivity to all nodes as well as sudo access.
From your primary node, well create an RSA key for the
new cadmin user to allow key-based SSH authentication.
id_rsa this is the private key. Well need this during Ambari
installation so save this to notepad so we can access it
quickly later.
https://blogs.sap.com/2017/12/05/hadoop-installation-on-monsoon/ 6/17
12/7/2017 Hadoop Installation on Monsoon | SAP Blogs
You can run cat on the file to make sure it was written
correctly:
https://blogs.sap.com/2017/12/05/hadoop-installation-on-monsoon/ 7/17
12/7/2017 Hadoop Installation on Monsoon | SAP Blogs
3. Ambari Installation
http://public-repo-
1.hortonworks.com/ambari/sles12/2.x/updates/2.6.0.0/
ambari.repo
> sudo su
# cd /etc/zypp/repos.d
# wget http://public-repo-1.hortonworks.com/ambari/sles
# zypper ref
# ambari-server setup
****Monsoon Only****:
# wget http://public-repo-1.hortonworks.com/ARTIFACTS/j
/var/lib/ambari-server/resources/jce_policy-8.zip
# wget http://public-repo-1.hortonworks.com/ARTIFACTS/j
********
# /usr/sbin/ambari-server restart
4. HDP Installation
http://<node1>.mo.sap.corp:8080
Once the page loads, you can log in with the default
credentials:
Username: admin
Password: admin
https://blogs.sap.com/2017/12/05/hadoop-installation-on-monsoon/ 10/17
12/7/2017 Hadoop Installation on Monsoon | SAP Blogs
Once logged in, you can access the Users link on the left to
change the admin password if desired.
****Monsoon Only****:
-Dhttp.proxyHost=<yourProxyHost> -Dhttp.proxyPort=<your
https://blogs.sap.com/2017/12/05/hadoop-installation-on-monsoon/ 11/17
12/7/2017 Hadoop Installation on Monsoon | SAP Blogs
Once added, save the file and restart the ambari server:
********
https://blogs.sap.com/2017/12/05/hadoop-installation-on-monsoon/ 12/17
12/7/2017 Hadoop Installation on Monsoon | SAP Blogs
view the install log and troubleshoot further via the web.
force_https_protocol=PROTOCOL_TLSv1_2
Once all nodes succeed, you can see the results of all health
checks and address any other warnings that may have been
raised.
https://blogs.sap.com/2017/12/05/hadoop-installation-on-monsoon/ 13/17
12/7/2017 Hadoop Installation on Monsoon | SAP Blogs
https://blogs.sap.com/2017/12/05/hadoop-installation-on-monsoon/ 14/17
12/7/2017 Hadoop Installation on Monsoon | SAP Blogs
> sudo su
# zypper install postgresql-jdbc
# ls /usr/share/java/postgresql-jdbc.jar
# chmod 644 /usr/share/java/postgresql-jdbc.jar
# ambari-server setup --jdbc-db=postgres --jdbc-driver=
# sudo su postgres
> psql
postgres=# create database hive;
postgres=# create user hive with password 'hive';
postgres=# grant all privileges on database hive to hiv
postgres=# \q
> exit
As root:
# cp /var/lib/pgsql/data/pg_hba.conf /var/lib/pgsql/dat
# vi /var/lib/pgsql/data/pg_hba.conf
Add hive to the list of users at the bottom of the file (so it
reads hive,ambari,mapred)
https://blogs.sap.com/2017/12/05/hadoop-installation-on-monsoon/ 15/17
12/7/2017 Hadoop Installation on Monsoon | SAP Blogs
Possible errors are too vast to cover here, but web searches
or searches of the hortonworks forums will most likely
provide answers.
https://blogs.sap.com/2017/12/05/hadoop-installation-on-monsoon/ 16/17
12/7/2017 Hadoop Installation on Monsoon | SAP Blogs
Alert Moderator
Add Comment
https://blogs.sap.com/2017/12/05/hadoop-installation-on-monsoon/ 17/17