Alibabacloud.com offers a wide variety of articles about hadoop standalone mode installation, easily find your hadoop standalone mode installation information here online.
1 operating mode:Stand-alone Mode (standalone): standalone mode is the default mode for Hadoop. When the source package for Hadoop was first decompressed,
release from one of the Apache download mirrors. Prepare to Start the Hadoop Cluster
Unpack the downloaded Hadoop distribution. In the distribution, edit the file conf/hadoop-env.sh to define at least java_home to be the root of your JAVA installatio n.--Remember to edit hadoop-env.sh text
Try the following command:$
Premise, jdk1.7,scala,hadoop single node installedSteps:Spark-env.sh join:
hadoop_conf_dir=/root/------ indicates that you are using resources on HDFS, and if you need to use local resources, log out of this sentence2,slaves3,spark-defalts.conf--------------------------------------------------------------------------------------------------------------- --Start:cd/root/soft/spark-1.3.1sbin/start-master.sh Start Master Sbin/start-slaves.sh
installation)
The basic process is divided into the following parts:
Install Ubuntu with Vmware
I use Ubuntu 12. First, prepare some software/tools (the links are all Sina microdisks ).
· Vmware workstation (go to the official website for free)
· Ubuntu-12.04.1-desktop-i386.iso
· Jdk-7u7-windows-i586.rar
Because the teacher repeatedly stressed the hadoop version of the difference between the
$hadoop_home/conf directoryModify four configuration files, namely Hadoop-env.sh,core-site.xml,hdfa-site.xml,mapred-site.xml.The first is the HADOOP environment variable script file hadoop-env.sh, which modifies the nineth line of code to #export JAVA_HOME=/HOME/ZEBRA/JDKSave exit, this is set to Java_home, note the previous # symbol is removedThe second is the
: sudo tar-xzvf hadoop-2.4.0.tar.gz3) sudo mv hadoop-2.4.0/usr/local/4) sudo chmod 774 hadoop-2.4.05) Vim. BASHRC, add at the end of the fileExport Java_home=/usr/local/jdk1.8.0_25 (Choose your own JAVA installation path)Export hadoop_install=/usr/local/hadoop-2.4.1 (own
view the status.
PS:
Why is there no final content! During the operation, I accidentally ssh slave1, formatted the namenode in this case, and started it. It just collapsed !! In this case, there is actually a solution.
Delete all the four folders and recreate them. Alas, don't talk about it.
You may also like the following articles about Hadoop:
Tutorial on standalone/pseudo-distributed
VirtualBox build Pseudo-distributed mode: Hadoop Download and configurationAs a result of personal machine slightly slag, unable to deploy Xwindow environment, direct use of the shell to operate, want to use the mouse to click the operation of the left do not send ~1.hadoop Download and decompressionhttp://mirror.bit.edu.cn/apache/
extract the folder hadoop-2.7.3 renamed to Hadoop, do not rename also can, here just for the convenience of simplicity, Folder names can be set according to user preferences. (2) Stand-alone mode environment configuration # Standalone Mode environment configuration # Open t
INFOutil.ExitUtil:Exiting with status 015/01/13 18:08:18 INFOnamenode.NameNode:SHUTDOWN_MSG:/************************************************************Shutdown_msg:shutting Downnamenode at master/127.0.0.1************************************************************/The programmer has been dry for a long time, the character is dull, the words are withered, the simple description is only to make a record, a lot of advice.CentOS Installation and confi
complete.
2. install and configure Hadoop
(1) download the installation package from the Hadoop website and decompress it. The version I use here is the hadoop-1.2.1.
$ Sudo tar-zxvf hadoop-1.2.1.tar.gz
(2) Hadoop Configuration
Y
is a standalone version, so you need to change to 1(4), Configuration Mapred-site.xmlModify the configuration file for MapReduce in Hadoop, configured with the address and port of Jobtracker4. Initialize HDFsBe sure to do this before executing the following command the contents of the extracted hadoop-1.0.4 folder are placed directly under/homeBin/
building new warehouses, adding, deleting accounts1.2.0 SVN service operation mode and access mode1.2.1 SVN server run modeThere are 3 common ways to access SVN services:A, standalone server accessAccess Address: Svn://svn.etiantian.org/sadocB, with HTTP services like ApacheAccess address such as: Http://svn.etiantian.org/sadocB1, separate installation apache+sv
Subversion ( svn) is a version management tool that has risen in recent years and is the successor to CVS. SVN server has 2 modes of operation: standalone server and Apache. There are pros and cons to each of the 2 ways.
file:///
Direct repository access (local disk).
http://
By configuring the WebDAV Protocol of the Subversion Apache server.
https://
http://similar, but includes SSL encryption.
inaccessible auth-access = Write # gives authorized users Write permission password-db = passwd # indicates password file path authz-db = a Uthz # Access Control fileThe other uses the default configuration. Each statement must be shelf write, the left can not leave a blank, otherwise there will be an error.4. Configure usersvi/var/svn/web/conf/passwdEnter the following:[Users]username1 = Password1UserName2 = Password2You can add multiple, this is the user name password pair.5. Configure permis
Tags: access ISS guest Manage plugins pre delay cluster gemDescription1, if it is to do rabbitmq aspects of the development, it is recommended not to understand the cluster installation and deployment, first installed a stand-alone version, as soon as possible familiar with the features and features inside. After all, a standalone version supports a fairly high level of QPS. Similarly, the cluster
configuration to turn on different patterns.
Standalone mode
For distributed
Fully distributed
Here we are going to configure the pseudo-distributed to use, a single-node pseudo-distributed representation of each Hadoop daemon running alone in a Java process. 1. Edit the configuration file Etc/hadoop
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.