at the cost of reliability and availability. When using the master-slave solution, we usually try to improve the reliability of the device, such as using raid to reduce the probability of errors.
Sometimes, we have high requirements for reliability, availability, and consistency, and the master-slave mode cannot meet the requirements. Therefore, you can only change the business logic and simplify it into a
Spark is a cluster computing platform originating from the University of California, Berkeley, amplab. It is based on memory computing and has hundreds of times better performance than hadoop. It starts from multi-iteration batch processing, it is a rare and versatile player that combines multiple computing paradigms, such as data warehouses, stream processing, and graph computing. Spark uses a unified technology stack to solve all core issues of cloud
tutorial on building a hadoop standalone and a pseudo-distributed development environment from scratch (up to 88 pages of PDF, do not let go of any details), all the free textbooks are:Cloud computing distributed Big Data hadoop hands-on path (three books in total ):
1. Wang Jialin's "Master road to cloud computing distributed Big Data hadoop practice-from scratch" guides you through easy-to-use hadoop an
1: Two cloud hosts have been purchased in advance
10.4.14.168 101.69.178.208 [Unicom] Master
10.4.5.9 101.69.178.219 [Unicom] Slave
2: MySQL installed separately
The code is as follows
Copy Code
#yum Install Mysql-server–enablerepo=remi#yum Install Mysql-devel
3: View MySQL Installation
The code is as follows
Copy Code
[Root@10-4-14-16
' @ ' 42.159.228.231 ' identified by ' Mariadbbak. '
To this end, the main mariadb configuration is completed, restart the MySQL server. For more details, see the status of master database server.
From the MARIADB server configuration:
Note that Server-id must be not 1, must be greater than 1 of the other number, here is set 12.read-only = on means: Open the relay log, relay_log refers to the log path;
The above
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.