Before installation, you must distribute file storage and Task Processing Based on the advantages of Hadoop. The Hadoop distributed architecture includes the following two types of servers responsible for different functions: master server and slave server. Therefore, this installation manual will introduce the two to
Here I'll show you how to configure Hadoop under Windows Setup. and test a programThe plug-ins you need to use and the respective:First, the preparatory work1, eclipse, preferably Java EE version, thought can change the mode.2. Connectors for Hadoop and eclipse:Hadoop-eclipse-plugin-1.2.1.jar (This is what I use, here you can customize the selection version)3, is the Ha
1. First download the Hadoop version of the plug-in to the Hadoop 1.0 version of the corresponding plug-in Hadoop-eclipse-plugin1.0.3.jar as an example2. Place the downloaded plugin in the plugins directory of the Ecplise installation directory3, Start ecplise, click Window->show view->other, click Mapreudce tools->map
The first step of JDK installation 1. Put the downloaded JDK in the directory to be installed (my directory is:/root/hadoop/opt/cloud, use WINSCP to drag directly to the target directory) 2. Unzip the target directory sudo tar xvf jdk-7u45-linux-x64.tar.gz 3. Configure Environment variables Here I am using the command in the directory under the command: [Email protected] cloud]#/bin/vi/etc/profile The advan
1. Installing the various software needs to configure the path variable and so on home variables, what exactly is this?First, the main purpose of configuring the path variable is to use the commands inside the software, such as start-all.sh, under any directory, under any path, and so on.2. All kinds of software have env-sh and so on the end of the script file, here usually also need to configure various variables such as java--home, and so on, this is why?This is mainly because these software l
, Add at the end: Export Java_home= ....e xport hadoop_home= ...7. Enter the conf directory under the Hive installation directory , according to hive-default.xml.template Copy out two files : C P hive-default.xml.template hive-default.xmlC P hive-default.xml.template hive-site.xml8. Configure hive-site.xml: Hive.metastore.warehouse.dir Hive.exec.scratchdir Javax.jdo.option.ConnectionURL Javax.jdo.option.ConnectionDriverName Javax.jdo.option.C
Hbase-1.1.2:http://www.eu.apache.org/dist/hbase/stable/hbase-1.1.2-bin.tar.gzUnzip to the \usr\local directory after downloadOpen the terminal into \usr\local\hbase-1.1.2:CD \usr\local\hbase-1.1. 2
modifying variablesVim conf/hbase-env.shAdd the following settings# Export JAVA_HOME=/USR/JAVA/JDK1. 6.0/export java_home=/usr/local/jdk1. 8 . 0_65# Extra Java CLASSPATH elements. optional.# export Hbase_classpath=export Hbase_classpath=/usr/local/hadoop
we use is to connect the Virtual Machine bridge to the physical network, occupying the IP address of the physical LAN, to achieve communication between the virtual machine and the physical machine and cross-Physical Machine Communication. Build a virtual machine again, this time using virtualbox View Firewall Disable Firewall Chkconfig -- list to view all the system services,If on exists, the startup is triggered under certain circumstances.. All disabled here
Hadoop requires a Linux environment, and Cygwin allows you to have a Linux development environment under win without having to open a virtual machine to install Linux.
Cygwin for http://cygwin.com/install.html, select download according to the number of digits of your operating system
The installation process is next, until the location:
Locate OpenSSH and OpenSSL under point open Net,
On the network on how to install a single-machine mode of Hadoop article many, according to its steps down most of the failure, in accordance with its operation detours through a lot but after all, still solve the problem, so by the way, detailed record of the complete installation process.This article is mainly about how to install Ubuntu after the virtual machine has been set up.The notes I have recorded
The main process for installing and setting up Hadoop under Ubuntu.1. Create a Hadoop userCreate a user named Hadoop and create the user's home directory under home without detailed description.2. Installing the Java EnvironmentDownload the jdk:jdk-8u111-linux-x64.tar.gz under Linux environment.Create a Java folder under USR, copy the jdk-8u111-linux-x64.tar.gz t
Hadoop Eclipse development tools are mainly divided into1. Build Plugin 2 According to Hadoop version, install Hadoop Eclipse plug-in 3, configure Hadoop directory 4, configure Hadoop connection 5, a new MapReduce project Wordcount.javaSummary of Mapreduce--wordcount problem
1 Preparing raw materials1.1 JDK 1.8.0_1711.2 Hadoop 2.8.32 Password-Free login configuration (otherwise the installation process will require constant input of passwords)2.1 Open MacBook allows remote loginSystem Preferences--share--check Telnet (indicates OK when Telnet status is green)Hadoop pseudo-distributed installation
The various components of the Hadoop profile Hadoop can be configured using an XML file. The Core-default.xml file is used to configure the properties of the common component, hdfs-site.xml files are used to configure the HDF properties, mapred-site.xml files are used to configure the MapReduce properties, and these files are placed in the Conf subdirectory.
Note: The docs subdirectory also holds three HTM
statement)Sqoop Import--connect jdbc:mysql://192.168.1.10:3306/itcast--username root--password 123 \--query ' SELECT * from Trade_detail where ID > 2 and $CONDITIONS '--split-by trade_detail.id--target-dir '/sqoop/td3 'Note: If you use the--query command, it is important to note that the argument after the where, and $CONDITIONS This parameter must be addedAnd there is the difference between single and double quotes, if--query is followed by double quotes, then you need to add \ \ \ $CONDITIONS
completes, the JDK folder will be generated in the/opt/tools directory./jdk-6u34-linux-i586.binTo configure the JDK environment command:[Email protected]:/opt/tools# sudo gedit/etc/profileTo enter the profile file, change the file:Export java_home=/opt/tools/jdk1.6.0_34Export Jre_home= $JAVA _home/jreExport classpath= $JAVA _home/lib: $JRE _home/lib: $CLASSPATHExport path= $JAVA _home/bin: $JRE _home/bin: $PATHSave file, closeExecute the following command to make the configuration file effectiv
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.