Ubuntu 1604 Build hdp2.4 Hadoop

Source: Internet
Author: User

First, refer to the Offline installation tutorial:

http://www.jianshu.com/p/debf0e6a3f3b

It says it's for the ubuntu1404 version, but 1604 can also be installed.


After the thunderbolt downloaded and copied to the server, follow the tutorial walk, from the HTTP server, built local source, apt-get install Ambari-server.

These are easy, but at the beginning of Ambari-server setup There are some things you need to manually set up, of course you go all the way to the default he will help you download ORACLEJDK, with PostgreSQL is also very simple, But if you're going to die with your own MySQL and jdk it's a bit of an egg ache.

1, first in the database to it to build user Ambari and database Ambari;

CREATE USER ' Ambari ' @ ' host' identified by ' password ';

SET PASSWORD for ' ambari ' @ ' localhost ' = PASSWORD (' 123123 ');

Create Database Ambari;



2, and then follow the instructions in Setup, select the JDK path (in fact, if you think it command line under the JDK slow, you can also manually copy its address in the Thunder and the next good copy) and MySQL, after choosing MySQL, he will be installed JAVA-ODBC

Apt-get Install Libmysql-java

And he'll ask you to execute/var/lib/ambari-server/resources/ambari-ddl-mysql-create.sql.

Log into the database source can, but there will be a key too long error, do not know if there is no error.


3, Setup after the implementation of success, you can ambari-server start, unfortunately there are errors,

Error: Ambari com.mysql.jdbc.exceptions.jdbc4.CommunicationsException:Communications link failure

Link failure If there is no problem, it is to change the address in the MySQL configuration file my.cnf 127.0.0.1 to 0.0.0.0, restart the solution.


4, then I also met Ambari access deny error, in the database to change the Ambari password, this start finally success ...


5. You can now go to the Web page to begin the installation of configuration node build.

This article is from the "Danielqu" blog, make sure to keep this source http://qujunorz.blog.51cto.com/6378776/1840011

Ubuntu 1604 Build hdp2.4 Hadoop

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.