Always focused on Hadoop projects, and recently found that you can build Hadoop under Windows.decided to give it a try. The gossip is less.Prepare a Windows 7 32-bit environment first,(official online said does not support 64-bit, compile will be problematic, not to say why, if you want to use on the Windows 64-bit mac
Not much to say, directly on the dry goods!GuideInstall Hadoop under winEveryone, do not underestimate win under the installation of Big data components and use played Dubbo and disconf friends, all know that in win under the installation of zookeeper is often the Disconf learning series of the entire network the most detailed latest stable disconf deployment (based on Windows7 /8/10) (detailed) Disconf Learning series of the full network of the lates
I recently tried to build the environment for Hadoop, but I really don't know how to build it. The next hop was a step-by-step error. Answers from many people on the Internet are also common pitfalls (for example, the most typical is the case sensitivity of commands, for example, hadoop commands are in lower case, and many people write Hadoop, so when you encount
completes the modification of the Hadoop-eclipse-plugin-0.20.203.0.jar.
Finally, copy the Hadoop-eclipse-plugin-0.20.203.0.jar to the plugins directory of Eclipse:
$ CD ~/hadoop-0.20.203.0/lib
$ sudo cp hadoop-eclipse-plugin-0.20.203.0.jar/usr/eclipse/plugins/
5. Configure the plug-in in Eclipse.
First, open Eclipse
Hadoop Modes
Pre-install Setup
Creating a user
SSH Setup
Installing Java
Install Hadoop
Install in Standalone Mode
Lets do a test
Install in Pseudo distributed Mode
Hadoop
-connector-java-5.0.8/mysql-connector-java-5.0.8-bin.jar./libTo start hive:$ cd/home/zxm/hadoop/hive-0.8.1;./bin/hiveTest:$./hiveWARNING:org.apache.hadoop.metrics.jvm.EventCounter is deprecated. Please use org.apache.hadoop.log.metrics.EventCounter the log4j.properties files.Logging initialized using configuration in jar:file:/home/zxm/hadoop/hive-0.8.1/lib/hive-common-0.8.1.jar!/ Hive-log4j.propertiesHive
-1.2.1export PATH=$PATH:$HADOOP_HOME/binexport HADOOP_HOME_WARN_SUPPRESS=13) Make the configuration file effective[[emailprotected] ~]$ source /etc/profilefor more details, please read on to the next page. Highlights : http://www.linuxidc.com/Linux/2015-03/114669p2.htm--------------------------------------Split Line--------------------------------------Ubuntu14.04 Hadoop2.4.1 stand-alone/pseudo-distributed installation configuration tutorial http://www.linuxidc.com/Linux/2015-02/113487.htmCentOS
I. Create Hadoop user portfolio under Ubuntu Hadoop user1. Create a Hadoop user group addgroup HADOOP2, create a Hadoop user adduser-ingroup Hadoop hadoop3, Add permissions NBSP;VIM/ETC/SUDOERS4 to Hadoop users, switch to
original path to the target path Hadoop fs-cat/user/hadoop/a.txt View the contents of the A.txt file Hadoop fs-rm/user/hadoop/a.txt Delete US The A.txt file below the Hadoop folder under the ER folderHadoop fs-rm-r/user/hadoop/a.
Hadoop is mainly deployed and applied in the Linux environment, but the current public's self-knowledge capabilities are limited, and the work environment cannot be completely transferred to the Linux environment (of course, there is a little bit of selfishness, it's really a bit difficult to use so many easy-to-use programs in Windows in Linux-for example, quickplay, O (always _ success) O ~), So I tried t
Hadoop uses Eclipse in Windows 7 to build a Hadoop Development Environment
Some of the websites use Eclipse in Linux to develop Hadoop applications. However, most Java programmers are not so familiar with Linux systems. Therefore, they need to develop Hadoop programs in
"1.7.0_79"Java (TM) SE Runtime Environment (build 1.7.0_79-b15)Java HotSpot (TM) Client VM (build 24.79-b02, Mixed mode)Indicates that the JDK environment variable is configured successfullyThird, install Hadoop3.1 Download Hadoop, choose Stable version, in fact stable version is 1.2.1, download the site as follows:Http://mirror.esocc.com/apache/hadoop/common/hadoop
I. Create Hadoop user portfolio under Ubuntu Hadoop user1. Create a Hadoop user group addgroup HADOOP2, create a Hadoop user adduser-ingroup Hadoop hadoop3, Add permissions for Hadoop users vim/etc/sudoers 4, switch to
Compile the hadoop 2.x Hadoop-eclipse-plugin plug-in windows and use eclipsehadoopI. Introduction
Without the Eclipse plug-in tool after Hadoop2.x, we cannot debug the code on Eclipse. We need to package MapReduce of the written java code into a jar and then run it on Linux, therefore, it is inconvenient for us to debug the code. Therefore, we compile an Eclipse
EnvironmentWindows 7 x64 bit, Visual Studio ProfessionalHadoop Source Version 2.2.0Step (from the book "Pro Apache Hadoop, Second Edition" slightly modified.
Ensure that JDK, 1.6 is, or higher is installed. We assume that it's installed in thec:/myapps/jdkl6/ folder, which should has a bin subfolder.
Download the hadoop-2.2.x-src.tar.gz files (2.2.0 at the time of this writing) from the Download sect
Reproduced in: http://blog.csdn.net/lazythinker/article/details/6931651
1. Download and configure cygwin
1. Create a system variable cygwin with the variable value ntsc tty]
2. Edit the system variable "path" and add "C: \ cygwin \ bin]
Ii. install Java
Configure java_home;
3. Configure eclipse
1. Put the conins hadoop-*-eclipse-plugin.jar under the contrib/directory under the hadoop installation package
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.