a single machine, the name and data are on one machine. If it is a cluster, only the name folder will be available on the machine where namenode is located, and only the data folder will be available on datanode.
5) install jdk and eclipse in windows, and connect eclipse to hadoop in centos;
To install jdk in windows, download jdk in windows.
, because the author uses a single machine, so name and Data is on a machine, and if it is a cluster, there will only be a name folder on the machine where the Namenode resides, and only the data folder will be on the Datanode. 5) install jdk and Eclipseunder Windows, and Hadoop connection with CentOS under Eclipse;Installing the JDK under Windows is simple, download the JDK installation under Windows.
Install EclipseDownload eclipse (click to download) to unzip the installation. I installed it under the/usr/local/software/directory.
Installing the Hadoop plugin on eclipseDownload the Hadoop plugin (click to download) and put the plu
Hadoop development is divided into two components: the build of Hadoop clusters, the configuration of the Eclipse development environment. Several of the above articles have documented my Hadoop cluster setup in detail, A simple Hadoop-1.2.1 cluster consisting of a master an
First, compile the Hadoop pluginFirst you need to compile the Hadoop plugin: Hadoop-eclipse-plugin-2.6.0.jar Before you can install it. Third-party compilation tutorial: Https://github.com/winghc/hadoop2x-
Build a Hadoop development environment for Fedora 20
1. configuration information:
Operating System: fedora 20X86
Eclipse version: eclipse-jee-helios-SR2-linux-gtk.tar.gz (preferably use Galileo or Helios, otherwise there may be compatibility issues)
Hadoop version: hadoop-1
For the most part of the night. The final deployment succeeded, slightly more complex than on Linux, such as the following:1) JDK, ant, Hadoop environment variable configuration2) Extract hadoop-2.5.2.tar.gz, hadoop-2.5.2-src.tar.gz, Hadoop2x-eclipse-plugin,
the running environment and add the following content at the end of the file:
Export HADOOP_HOME =/home/wangyucao/hadoop-0.20.203.0 (this is the hadoop installation directory)Export PATH = $ PATH: # HADOOP_HOME/bin
3. Install Eclipse
Search for Eclipse in the Ubuntu Software Center for installation, or download the
choose to download through the official website to get:
Eclipse-jee-indigo-sr1-linux-gtk.tar.gz
Unzip the file and place it in the/usr directory:
$ TAR-ZXVF eclipse-jee-indigo-sr1-linux-gtk.tar.gz
$ sudo mv eclipse/usr/
Complete the installation steps.
4. Installing the Hadoop-ec
========================================== ==========================Body: In the previous two articles, I focused on how to deploy Hadoop pseudo-distributed mode to a Linux environment during my first learning of Hadoop, and how to compile a Hadoop eclipse plugin myself.
Original address: http://blog.csdn.net/coolcgp/article/details/43448135, make some changes and additionsFirst, Ubuntu Software Center installs eclipseSecond, copy the Hadoop-eclipse-plugin-1.2.1.jar to the plug-in directory under the Eclipse installation directory/usr/lib/eclipse
1. Introduction:Import the source code to eclipse to easily read and modify the source.2. Description of the environment:MacMVN Tools (Apache Maven 3.3.3)3.hadoop (CDH5.4.2)1. Go to the Hadoop root and execute:MVN org.apache.maven.plugins:maven-eclipse-plugin:2.6:
Note: The following operations are based on Hadoop-1.2.1,eclipse Luna 1. Download Plugin Source Package Https://github.com/winghc/hadoop2x-eclipse-plugin 2. Create a new ECLISEP Java project to copy the contents of the following directory in the package into project Hadoop2
choose to download through the official website to get:
Eclipse-jee-indigo-sr1-linux-gtk.tar.gz
Unzip the file and place it in the/usr directory:
$ TAR-ZXVF eclipse-jee-indigo-sr1-linux-gtk.tar.gz
$ sudo mv eclipse/usr/
Complete the installation steps.
4. Installing the Hadoop-ec
This article assumes that the Hadoop environment is on a remote machine (such as a Linux server), and the Hadoop version is 2.5.2
Note: This article Eclipse/intellij idea Remote debugging Hadoop 2.6.0 main reference and on the basis of the adjustment
Since I like to install 32-bit software on the Win7 64-bit, such as
Note: This article is for personal use, update at any time. I. System environment WINDOWS7, ecplise 4.4.0,hadoop2.7.2hadoop installation tutorial See: Hadoop2.7.2 Installation TutorialIt is important to note that your Hadoop is running on a remote virtual machine, but you also need to have a Hadoop environment on your windows so that eclipse can be debugged remot
to compile Hadoop, and Ant needs to use some tools provided by Cygwin, such as sed, can download Ant from: http://ant.apache.org/ivy/download.cgi, from http://www.cygwin.cn/download Cygwin (Cygwin installation, for more information, see "tutorial on installing Hadoop on Windows ). After installation, add the bin directories of Ant and Cygwin to the environment variable PATH, as shown in:
Note: When Cygwin
Hadoop Eclipse plug-in generationDid a year of Hadoop development. has not automatically generated Eclipse plug-ins, has been in the Internet to download other people's use, there is time today, this part of the regret to fill back, their own generation, nonsense not to say, began.This article focuses on the generation
This article details how to build a Hadoop project and run it through Mvn+eclipse in the Windows development environment
Required environment
Windows7 operating System
eclipse-4.4.2
mvn-3.0.3 and build the project schema with MVN (see http://blog.csdn.net/tang9140/article/details/39157439)
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.