You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hdt.apache.org by ad...@apache.org on 2013/01/08 23:26:26 UTC
[5/11] Import of source from Apache Hadoop MapReduce contrib,
this is the plugin as it existed in the Hadoop 0.23.4 release.
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/.svn/pristine/fb/fb831164f8be9236c56b7cf9edc55142bc565297.svn-base
----------------------------------------------------------------------
diff --git a/eclipse-plugin/.svn/pristine/fb/fb831164f8be9236c56b7cf9edc55142bc565297.svn-base b/eclipse-plugin/.svn/pristine/fb/fb831164f8be9236c56b7cf9edc55142bc565297.svn-base
new file mode 100644
index 0000000..9b4165f
--- /dev/null
+++ b/eclipse-plugin/.svn/pristine/fb/fb831164f8be9236c56b7cf9edc55142bc565297.svn-base
@@ -0,0 +1,304 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<?eclipse version="3.2"?>
+
+<plugin>
+
+ <!-- extension
+ point="org.eclipse.debug.core.launchConfigurationTypes">
+ <launchConfigurationType
+ delegate="org.apache.hadoop.eclipse.launch.HadoopLaunchDelegate"
+ id="org.apache.hadoop.eclipse.launch.StartServer"
+ modes="run,debug"
+ name="Start Hadoop Server"
+ public="true"/>
+ </extension -->
+
+ <extension
+ name="MapReduce Nature"
+ id="org.apache.hadoop.eclipse.Nature"
+ point="org.eclipse.core.resources.natures">
+ <runtime>
+ <run class="org.apache.hadoop.eclipse.MapReduceNature"/>
+ </runtime>
+ </extension>
+
+ <extension
+ point="org.eclipse.ui.ide.projectNatureImages">
+ </extension>
+
+ <!-- Wizards: new Mapper, Reducer, Driver -->
+ <extension
+ point="org.eclipse.ui.newWizards">
+ <primaryWizard id="org.apache.hadoop.eclipse.NewProjectWizard"/>
+ <wizard
+ category="org.apache.hadoop.eclipse.category"
+ class="org.apache.hadoop.eclipse.NewMapReduceProjectWizard"
+ finalPerspective="org.apache.hadoop.eclipse.Perspective"
+ hasPages="true"
+ icon="resources/Elephant16x16.gif"
+ id="org.apache.hadoop.eclipse.NewProjectWizard"
+ name="Map/Reduce Project"
+ preferredPerspectives="org.apache.hadoop.eclipse.Perspective"
+ project="true"/>
+ <wizard
+ category="org.apache.hadoop.eclipse.category"
+ class="org.apache.hadoop.eclipse.NewMapperWizard"
+ icon="resources/mapper16.png"
+ id="org.apache.hadoop.eclipse.NewMapperWizard"
+ name="Mapper"
+ project="false"/>
+ <wizard
+ category="org.apache.hadoop.eclipse.category"
+ class="org.apache.hadoop.eclipse.NewReducerWizard"
+ icon="resources/reducer16.png"
+ id="org.apache.hadoop.eclipse.NewReducerWizard"
+ name="Reducer"
+ project="false"/>
+ <wizard
+ category="org.apache.hadoop.eclipse.category"
+ class="org.apache.hadoop.eclipse.NewDriverWizard"
+ icon="resources/driver.png"
+ id="org.apache.hadoop.eclipse.NewDriverWizard"
+ name="MapReduce Driver"
+ project="false"/>
+ <category
+ id="org.apache.hadoop.eclipse.category"
+ name="Map/Reduce"/>
+ </extension>
+
+ <extension
+ point="org.eclipse.debug.ui.launchConfigurationTypeImages">
+ <launchConfigurationTypeImage
+ configTypeID="org.apache.hadoop.eclipse.launch.Local"
+ icon="resources/elephantblue16x16.gif"
+ id="Hadouken.launchConfigurationTypeImage1"/>
+ </extension>
+
+ <extension
+ point="org.eclipse.debug.ui.launchConfigurationTabGroups">
+ <launchConfigurationTabGroup
+ class="org.apache.hadoop.eclipse.launch.StartHadoopLaunchTabGroup"
+ id="org.apache.hadoop.eclipse.launch.StartHadoopLaunchTabGroup"
+ type="org.apache.hadoop.eclipse.launch.StartServer"/>
+
+ </extension>
+
+ <!-- Perspective: Map/Reduce -->
+ <extension
+ point="org.eclipse.ui.perspectives">
+ <perspective
+ class="org.apache.hadoop.eclipse.HadoopPerspectiveFactory"
+ icon="resources/elephantblue16x16.gif"
+ id="org.apache.hadoop.eclipse.Perspective"
+ name="Map/Reduce"/>
+ </extension>
+
+ <!-- Needed: allows DFS Browsing in Navigator! [TODO] -->
+ <extension
+ point="org.eclipse.core.expressions.propertyTesters">
+ <propertyTester
+ class="org.apache.hadoop.eclipse.PropertyTester"
+ id="mapreduce.deployable"
+ namespace="mapreduce"
+ properties="deployable"
+ type="org.eclipse.core.resources.IResource"/>
+ <propertyTester
+ class="org.apache.hadoop.eclipse.PropertyTester"
+ id="mapreduce.server"
+ namespace="mapreduce"
+ properties="server"
+ type="org.eclipse.wst.server.core.IServer"/>
+ </extension>
+
+ <!-- Run on Hadoop action -->
+ <extension
+ point="org.eclipse.debug.ui.launchShortcuts">
+ <shortcut
+ class="org.apache.hadoop.eclipse.launch.HadoopApplicationLaunchShortcut"
+ icon="resources/elephantblue16x16.gif"
+ id="org.apache.hadoop.eclipse.launch.shortcut"
+ label="Run on Hadoop"
+ modes="run">
+ <contextualLaunch>
+
+ <enablement>
+ <with variable="selection">
+ <count value="1"/>
+ <iterate>
+ <or>
+ <test property="org.eclipse.jdt.launching.hasMain"/>
+ <and>
+ <test property="org.eclipse.jdt.launching.isContainer"/>
+ <test property="org.eclipse.jdt.launching.hasProjectNature" args="org.eclipse.jdt.core.javanature"/>
+ <test property="org.eclipse.jdt.launching.hasProjectNature" args="org.apache.hadoop.eclipse.Nature"/>
+ </and>
+ </or>
+ </iterate>
+ </with>
+ </enablement>
+ </contextualLaunch>
+ <perspective id="org.apache.hadoop.eclipse.Perspective"/>
+ </shortcut>
+ </extension>
+
+ <!-- Hadoop locations view -->
+ <extension
+ point="org.eclipse.ui.views">
+ <category
+ id="org.apache.hadoop.eclipse.view.servers"
+ name="MapReduce Tools"/>
+ <view
+ allowMultiple="false"
+ category="org.apache.hadoop.eclipse.view.servers"
+ class="org.apache.hadoop.eclipse.view.servers.ServerView"
+ icon="resources/hadoop-logo-16x16.png"
+ id="org.apache.hadoop.eclipse.view.servers"
+ name="Map/Reduce Locations">
+ </view>
+ </extension>
+
+ <!-- ??? -->
+ <!-- extension
+ point="org.eclipse.ui.cheatsheets.cheatSheetContent">
+ <category
+ id="org.apache.hadoop.eclipse.cheatsheet.Examples"
+ name="MapReduce"/>
+ <cheatsheet
+ category="org.apache.hadoop.eclipse.cheatsheet.Examples"
+ composite="true"
+ contentFile="resources/HelloWorld.xml"
+ id="org.apache.hadoop.eclipse.cheatsheet"
+ name="Write a MapReduce application"/>
+ </extension -->
+
+ <!-- DFS Browser -->
+ <extension
+ point="org.eclipse.ui.navigator.navigatorContent">
+ <navigatorContent
+ activeByDefault="true"
+ contentProvider="org.apache.hadoop.eclipse.dfs.DFSContentProvider"
+ icon="resources/elephantblue16x16.gif"
+ id="org.apache.hadoop.eclipse.views.dfscontent"
+ labelProvider="org.apache.hadoop.eclipse.dfs.DFSContentProvider"
+ name="Hadoop Distributed File Systems"
+ priority="normal"
+ providesSaveables="false">
+ <triggerPoints>
+ <or>
+ <instanceof value="org.apache.hadoop.eclipse.dfs.DFSPath"/>
+ <adapt type="org.eclipse.core.resources.IResource">
+ <test
+ forcePluginActivation="true"
+ property="mapreduce.deployable"/>
+ </adapt>
+ </or>
+ </triggerPoints>
+ <actionProvider class="org.apache.hadoop.eclipse.dfs.ActionProvider">
+ </actionProvider>
+ <possibleChildren>
+ <or>
+ <instanceof value="org.eclipse.wst.server.core.IServer"/>
+ <instanceof value="org.apache.hadoop.eclipse.dfs.DFSLocationsRoot"/>
+ <instanceof value="org.apache.hadoop.eclipse.dfs.DFSLocation"/>
+ <instanceof value="org.apache.hadoop.eclipse.dfs.DFSPath"/>
+ </or>
+ </possibleChildren>
+ </navigatorContent>
+ </extension>
+
+ <!-- DFS Actions -->
+ <extension
+ point="org.eclipse.ui.navigator.viewer">
+ <viewer
+ viewerId="org.apache.hadoop.eclipse.dfs.DFSViewer">
+
+ <popupMenu
+ allowsPlatformContributions="true"
+ id="org.apache.hadoop.eclipse.dfs.DFSViewer#PopupMenu">
+ <insertionPoint name="group.new"/>
+ <insertionPoint
+ name="group.open"
+ separator="true"/>
+ <insertionPoint name="group.openWith"/>
+ <insertionPoint name="group.edit"
+ separator="true"/>
+ <insertionPoint name="group.reorganize" />
+ <insertionPoint
+ name="group.port"
+ separator="true"/>
+ <insertionPoint
+ name="group.build"
+ separator="true"/>
+ <insertionPoint
+ name="group.generate"
+ separator="true"/>
+ <insertionPoint
+ name="group.search"
+ separator="true"/>
+ <insertionPoint
+ name="additions"
+ separator="true"/>
+ <insertionPoint
+ name="group.properties"
+ separator="true"/>
+ </popupMenu>
+
+ </viewer>
+ <viewerContentBinding viewerId="org.eclipse.ui.navigator.ProjectExplorer">
+ <includes>
+ <contentExtension
+ isRoot="false"
+ pattern="org.apache.hadoop.eclipse.views.dfscontent"/>
+ <actionExtension pattern="org.apache.hadoop.eclipse.views.dfscontent.*"/>
+ </includes>
+ </viewerContentBinding>
+ </extension>
+
+ <!-- HDFS FileSystem registration [TODO] -->
+ <!-- extension
+ point="org.eclipse.core.filesystem.filesystems">
+ <filesystem scheme="hdfs">
+ <run class="org.apache.hadoop.eclipse.dfs.FileSystem"/>
+ </filesystem>
+ </extension -->
+
+ <!--
+ <extension
+ point="org.eclipse.ui.popupMenus">
+ <viewerContribution
+ id="Hadouken.viewerContribution1"
+ targetID="org.eclipse.ui.navigator.ProjectExplorer#PopupMenu"/>
+ </extension> -->
+
+ <!-- Preferences -->
+ <extension
+ point="org.eclipse.ui.preferencePages">
+ <page
+ class="org.apache.hadoop.eclipse.preferences.MapReducePreferencePage"
+ id="org.apache.hadoop.eclipse.preferences.MapReducePreferencePage"
+ name="Hadoop Map/Reduce"/>
+ </extension>
+
+ <extension
+ point="org.eclipse.core.runtime.preferences">
+ <initializer class="org.apache.hadoop.eclipse.preferences.PreferenceInitializer"/>
+ </extension>
+
+</plugin>
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/.svn/pristine/fd/fd2d35405c317575246a2c37f1daee1be2765653.svn-base
----------------------------------------------------------------------
diff --git a/eclipse-plugin/.svn/pristine/fd/fd2d35405c317575246a2c37f1daee1be2765653.svn-base b/eclipse-plugin/.svn/pristine/fd/fd2d35405c317575246a2c37f1daee1be2765653.svn-base
new file mode 100644
index 0000000..7e26118
Binary files /dev/null and b/eclipse-plugin/.svn/pristine/fd/fd2d35405c317575246a2c37f1daee1be2765653.svn-base differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/.svn/pristine/fe/fecbaf37c6198fcb2ae6db0c9897ce4476770f0f.svn-base
----------------------------------------------------------------------
diff --git a/eclipse-plugin/.svn/pristine/fe/fecbaf37c6198fcb2ae6db0c9897ce4476770f0f.svn-base b/eclipse-plugin/.svn/pristine/fe/fecbaf37c6198fcb2ae6db0c9897ce4476770f0f.svn-base
new file mode 100644
index 0000000..acddba0
Binary files /dev/null and b/eclipse-plugin/.svn/pristine/fe/fecbaf37c6198fcb2ae6db0c9897ce4476770f0f.svn-base differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/.svn/wc.db
----------------------------------------------------------------------
diff --git a/eclipse-plugin/.svn/wc.db b/eclipse-plugin/.svn/wc.db
new file mode 100644
index 0000000..a7db397
Binary files /dev/null and b/eclipse-plugin/.svn/wc.db differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/META-INF/MANIFEST.MF
----------------------------------------------------------------------
diff --git a/eclipse-plugin/META-INF/MANIFEST.MF b/eclipse-plugin/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..af4f048
--- /dev/null
+++ b/eclipse-plugin/META-INF/MANIFEST.MF
@@ -0,0 +1,28 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: MapReduce Tools for Eclipse
+Bundle-SymbolicName: org.apache.hadoop.eclipse;singleton:=true
+Bundle-Version: 0.18
+Bundle-Activator: org.apache.hadoop.eclipse.Activator
+Bundle-Localization: plugin
+Require-Bundle: org.eclipse.ui,
+ org.eclipse.core.runtime,
+ org.eclipse.jdt.launching,
+ org.eclipse.debug.core,
+ org.eclipse.jdt,
+ org.eclipse.jdt.core,
+ org.eclipse.core.resources,
+ org.eclipse.ui.ide,
+ org.eclipse.jdt.ui,
+ org.eclipse.debug.ui,
+ org.eclipse.jdt.debug.ui,
+ org.eclipse.core.expressions,
+ org.eclipse.ui.cheatsheets,
+ org.eclipse.ui.console,
+ org.eclipse.ui.navigator,
+ org.eclipse.core.filesystem,
+ org.apache.commons.logging
+Eclipse-LazyStart: true
+Bundle-ClassPath: classes/,
+ lib/hadoop-core.jar
+Bundle-Vendor: Apache Hadoop
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/build.properties
----------------------------------------------------------------------
diff --git a/eclipse-plugin/build.properties b/eclipse-plugin/build.properties
new file mode 100644
index 0000000..3aa55dd
--- /dev/null
+++ b/eclipse-plugin/build.properties
@@ -0,0 +1,19 @@
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+output.. = bin/
+bin.includes = META-INF/,\
+ plugin.xml,\
+ resources/,\
+ classes/,\
+ classes/,\
+ lib/
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/build.xml
----------------------------------------------------------------------
diff --git a/eclipse-plugin/build.xml b/eclipse-plugin/build.xml
new file mode 100644
index 0000000..bdc0e70
--- /dev/null
+++ b/eclipse-plugin/build.xml
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<project default="jar" name="eclipse-plugin">
+
+ <import file="../build-contrib.xml"/>
+
+ <path id="eclipse-sdk-jars">
+ <fileset dir="${eclipse.home}/plugins/">
+ <include name="org.eclipse.ui*.jar"/>
+ <include name="org.eclipse.jdt*.jar"/>
+ <include name="org.eclipse.core*.jar"/>
+ <include name="org.eclipse.equinox*.jar"/>
+ <include name="org.eclipse.debug*.jar"/>
+ <include name="org.eclipse.osgi*.jar"/>
+ <include name="org.eclipse.swt*.jar"/>
+ <include name="org.eclipse.jface*.jar"/>
+
+ <include name="org.eclipse.team.cvs.ssh2*.jar"/>
+ <include name="com.jcraft.jsch*.jar"/>
+ </fileset>
+ </path>
+
+ <!-- Override classpath to include Eclipse SDK jars -->
+ <path id="classpath">
+ <pathelement location="${build.classes}"/>
+ <pathelement location="${hadoop.root}/build/classes"/>
+ <path refid="eclipse-sdk-jars"/>
+ <path refid="contrib-classpath"/>
+ </path>
+
+ <!-- Skip building if eclipse.home is unset. -->
+ <target name="check-contrib" unless="eclipse.home">
+ <property name="skip.contrib" value="yes"/>
+ <echo message="eclipse.home unset: skipping eclipse plugin"/>
+ </target>
+
+ <target name="compile" depends="init, ivy-retrieve-common" unless="skip.contrib">
+ <echo message="contrib: ${name} "/>
+ <javac
+ encoding="${build.encoding}"
+ srcdir="${src.dir}"
+ includes="**/*.java"
+ destdir="${build.classes}"
+ debug="${javac.debug}"
+ deprecation="${javac.deprecation}">
+ <classpath refid="classpath"/>
+ </javac>
+ </target>
+
+ <!-- Override jar target to specify manifest -->
+ <target name="jar" depends="compile" unless="skip.contrib">
+ <mkdir dir="${build.dir}/lib"/>
+ <copy tofile="${build.dir}/lib/hadoop-common.jar">
+ <fileset dir="${hadoop.root}/build/ivy/lib/Hadoop/common" includes="hadoop-common-*.jar" excludes="hadoop-common-*tests.jar"/>
+ </copy>
+ <copy file="${hadoop.root}/build/ivy/lib/Hadoop/common/commons-cli-${commons-cli.version}.jar" todir="${build.dir}/lib" verbose="true"/>
+ <jar
+ jarfile="${build.dir}/hadoop-${version}-${name}.jar"
+ manifest="${root}/META-INF/MANIFEST.MF">
+ <fileset dir="${build.dir}" includes="classes/ lib/"/>
+ <fileset dir="${root}" includes="resources/ plugin.xml"/>
+ </jar>
+ </target>
+
+</project>
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/ivy.xml
----------------------------------------------------------------------
diff --git a/eclipse-plugin/ivy.xml b/eclipse-plugin/ivy.xml
new file mode 100644
index 0000000..2e842db
--- /dev/null
+++ b/eclipse-plugin/ivy.xml
@@ -0,0 +1,58 @@
+<?xml version="1.0" ?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<ivy-module version="1.0">
+ <info organisation="org.apache.hadoop" module="${ant.project.name}">
+ <license name="Apache 2.0"/>
+ <ivyauthor name="Apache Hadoop Team" url="http://hadoop.apache.org"/>
+ <description>
+ Apache Hadoop
+ </description>
+ </info>
+ <configurations defaultconfmapping="default">
+ <!--these match the Maven configurations-->
+ <conf name="default" extends="master,runtime"/>
+ <conf name="master" description="contains the artifact but no dependencies"/>
+ <conf name="runtime" description="runtime but not the artifact" />
+
+ <conf name="common" visibility="private"
+ extends="runtime"
+ description="artifacts needed for compile/test the application"/>
+ <conf name="test" visibility="private" extends="runtime"/>
+ </configurations>
+
+ <publications>
+ <!--get the artifact from our module name-->
+ <artifact conf="master"/>
+ </publications>
+ <dependencies>
+ <dependency org="org.apache.hadoop" name="hadoop-annotations" rev="${hadoop-common.version}" conf="common->default"/>
+ <dependency org="org.apache.hadoop" name="hadoop-common" rev="${hadoop-common.version}" conf="common->default"/>
+ <dependency org="org.apache.hadoop" name="hadoop-hdfs" rev="${hadoop-hdfs.version}" conf="common->default"/>
+ <dependency org="commons-logging" name="commons-logging" rev="${commons-logging.version}" conf="common->default"/>
+ <dependency org="log4j" name="log4j" rev="${log4j.version}" conf="common->master"/>
+ <dependency org="org.apache.hadoop" name="hadoop-mapreduce-client-core" rev="${yarn.version}" conf="common->default"/>
+
+ <!-- Exclusions for transitive dependencies pulled in by log4j -->
+ <exclude org="com.sun.jdmk"/>
+ <exclude org="com.sun.jmx"/>
+ <exclude org="javax.jms"/>
+ <exclude org="javax.mail"/>
+
+ </dependencies>
+</ivy-module>
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/ivy/libraries.properties
----------------------------------------------------------------------
diff --git a/eclipse-plugin/ivy/libraries.properties b/eclipse-plugin/ivy/libraries.properties
new file mode 100644
index 0000000..8a80dd8
--- /dev/null
+++ b/eclipse-plugin/ivy/libraries.properties
@@ -0,0 +1,17 @@
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+#This properties file lists the versions of the various artifacts used by streaming.
+#It drives ivy and the generation of a maven POM
+
+#Please list the dependencies name with version if they are different from the ones
+#listed in the global libraries.properties file (in alphabetical order)
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/plugin.xml
----------------------------------------------------------------------
diff --git a/eclipse-plugin/plugin.xml b/eclipse-plugin/plugin.xml
new file mode 100644
index 0000000..9b4165f
--- /dev/null
+++ b/eclipse-plugin/plugin.xml
@@ -0,0 +1,304 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<?eclipse version="3.2"?>
+
+<plugin>
+
+ <!-- extension
+ point="org.eclipse.debug.core.launchConfigurationTypes">
+ <launchConfigurationType
+ delegate="org.apache.hadoop.eclipse.launch.HadoopLaunchDelegate"
+ id="org.apache.hadoop.eclipse.launch.StartServer"
+ modes="run,debug"
+ name="Start Hadoop Server"
+ public="true"/>
+ </extension -->
+
+ <extension
+ name="MapReduce Nature"
+ id="org.apache.hadoop.eclipse.Nature"
+ point="org.eclipse.core.resources.natures">
+ <runtime>
+ <run class="org.apache.hadoop.eclipse.MapReduceNature"/>
+ </runtime>
+ </extension>
+
+ <extension
+ point="org.eclipse.ui.ide.projectNatureImages">
+ </extension>
+
+ <!-- Wizards: new Mapper, Reducer, Driver -->
+ <extension
+ point="org.eclipse.ui.newWizards">
+ <primaryWizard id="org.apache.hadoop.eclipse.NewProjectWizard"/>
+ <wizard
+ category="org.apache.hadoop.eclipse.category"
+ class="org.apache.hadoop.eclipse.NewMapReduceProjectWizard"
+ finalPerspective="org.apache.hadoop.eclipse.Perspective"
+ hasPages="true"
+ icon="resources/Elephant16x16.gif"
+ id="org.apache.hadoop.eclipse.NewProjectWizard"
+ name="Map/Reduce Project"
+ preferredPerspectives="org.apache.hadoop.eclipse.Perspective"
+ project="true"/>
+ <wizard
+ category="org.apache.hadoop.eclipse.category"
+ class="org.apache.hadoop.eclipse.NewMapperWizard"
+ icon="resources/mapper16.png"
+ id="org.apache.hadoop.eclipse.NewMapperWizard"
+ name="Mapper"
+ project="false"/>
+ <wizard
+ category="org.apache.hadoop.eclipse.category"
+ class="org.apache.hadoop.eclipse.NewReducerWizard"
+ icon="resources/reducer16.png"
+ id="org.apache.hadoop.eclipse.NewReducerWizard"
+ name="Reducer"
+ project="false"/>
+ <wizard
+ category="org.apache.hadoop.eclipse.category"
+ class="org.apache.hadoop.eclipse.NewDriverWizard"
+ icon="resources/driver.png"
+ id="org.apache.hadoop.eclipse.NewDriverWizard"
+ name="MapReduce Driver"
+ project="false"/>
+ <category
+ id="org.apache.hadoop.eclipse.category"
+ name="Map/Reduce"/>
+ </extension>
+
+ <extension
+ point="org.eclipse.debug.ui.launchConfigurationTypeImages">
+ <launchConfigurationTypeImage
+ configTypeID="org.apache.hadoop.eclipse.launch.Local"
+ icon="resources/elephantblue16x16.gif"
+ id="Hadouken.launchConfigurationTypeImage1"/>
+ </extension>
+
+ <extension
+ point="org.eclipse.debug.ui.launchConfigurationTabGroups">
+ <launchConfigurationTabGroup
+ class="org.apache.hadoop.eclipse.launch.StartHadoopLaunchTabGroup"
+ id="org.apache.hadoop.eclipse.launch.StartHadoopLaunchTabGroup"
+ type="org.apache.hadoop.eclipse.launch.StartServer"/>
+
+ </extension>
+
+ <!-- Perspective: Map/Reduce -->
+ <extension
+ point="org.eclipse.ui.perspectives">
+ <perspective
+ class="org.apache.hadoop.eclipse.HadoopPerspectiveFactory"
+ icon="resources/elephantblue16x16.gif"
+ id="org.apache.hadoop.eclipse.Perspective"
+ name="Map/Reduce"/>
+ </extension>
+
+ <!-- Needed: allows DFS Browsing in Navigator! [TODO] -->
+ <extension
+ point="org.eclipse.core.expressions.propertyTesters">
+ <propertyTester
+ class="org.apache.hadoop.eclipse.PropertyTester"
+ id="mapreduce.deployable"
+ namespace="mapreduce"
+ properties="deployable"
+ type="org.eclipse.core.resources.IResource"/>
+ <propertyTester
+ class="org.apache.hadoop.eclipse.PropertyTester"
+ id="mapreduce.server"
+ namespace="mapreduce"
+ properties="server"
+ type="org.eclipse.wst.server.core.IServer"/>
+ </extension>
+
+ <!-- Run on Hadoop action -->
+ <extension
+ point="org.eclipse.debug.ui.launchShortcuts">
+ <shortcut
+ class="org.apache.hadoop.eclipse.launch.HadoopApplicationLaunchShortcut"
+ icon="resources/elephantblue16x16.gif"
+ id="org.apache.hadoop.eclipse.launch.shortcut"
+ label="Run on Hadoop"
+ modes="run">
+ <contextualLaunch>
+
+ <enablement>
+ <with variable="selection">
+ <count value="1"/>
+ <iterate>
+ <or>
+ <test property="org.eclipse.jdt.launching.hasMain"/>
+ <and>
+ <test property="org.eclipse.jdt.launching.isContainer"/>
+ <test property="org.eclipse.jdt.launching.hasProjectNature" args="org.eclipse.jdt.core.javanature"/>
+ <test property="org.eclipse.jdt.launching.hasProjectNature" args="org.apache.hadoop.eclipse.Nature"/>
+ </and>
+ </or>
+ </iterate>
+ </with>
+ </enablement>
+ </contextualLaunch>
+ <perspective id="org.apache.hadoop.eclipse.Perspective"/>
+ </shortcut>
+ </extension>
+
+ <!-- Hadoop locations view -->
+ <extension
+ point="org.eclipse.ui.views">
+ <category
+ id="org.apache.hadoop.eclipse.view.servers"
+ name="MapReduce Tools"/>
+ <view
+ allowMultiple="false"
+ category="org.apache.hadoop.eclipse.view.servers"
+ class="org.apache.hadoop.eclipse.view.servers.ServerView"
+ icon="resources/hadoop-logo-16x16.png"
+ id="org.apache.hadoop.eclipse.view.servers"
+ name="Map/Reduce Locations">
+ </view>
+ </extension>
+
+ <!-- ??? -->
+ <!-- extension
+ point="org.eclipse.ui.cheatsheets.cheatSheetContent">
+ <category
+ id="org.apache.hadoop.eclipse.cheatsheet.Examples"
+ name="MapReduce"/>
+ <cheatsheet
+ category="org.apache.hadoop.eclipse.cheatsheet.Examples"
+ composite="true"
+ contentFile="resources/HelloWorld.xml"
+ id="org.apache.hadoop.eclipse.cheatsheet"
+ name="Write a MapReduce application"/>
+ </extension -->
+
+ <!-- DFS Browser -->
+ <extension
+ point="org.eclipse.ui.navigator.navigatorContent">
+ <navigatorContent
+ activeByDefault="true"
+ contentProvider="org.apache.hadoop.eclipse.dfs.DFSContentProvider"
+ icon="resources/elephantblue16x16.gif"
+ id="org.apache.hadoop.eclipse.views.dfscontent"
+ labelProvider="org.apache.hadoop.eclipse.dfs.DFSContentProvider"
+ name="Hadoop Distributed File Systems"
+ priority="normal"
+ providesSaveables="false">
+ <triggerPoints>
+ <or>
+ <instanceof value="org.apache.hadoop.eclipse.dfs.DFSPath"/>
+ <adapt type="org.eclipse.core.resources.IResource">
+ <test
+ forcePluginActivation="true"
+ property="mapreduce.deployable"/>
+ </adapt>
+ </or>
+ </triggerPoints>
+ <actionProvider class="org.apache.hadoop.eclipse.dfs.ActionProvider">
+ </actionProvider>
+ <possibleChildren>
+ <or>
+ <instanceof value="org.eclipse.wst.server.core.IServer"/>
+ <instanceof value="org.apache.hadoop.eclipse.dfs.DFSLocationsRoot"/>
+ <instanceof value="org.apache.hadoop.eclipse.dfs.DFSLocation"/>
+ <instanceof value="org.apache.hadoop.eclipse.dfs.DFSPath"/>
+ </or>
+ </possibleChildren>
+ </navigatorContent>
+ </extension>
+
+ <!-- DFS Actions -->
+ <extension
+ point="org.eclipse.ui.navigator.viewer">
+ <viewer
+ viewerId="org.apache.hadoop.eclipse.dfs.DFSViewer">
+
+ <popupMenu
+ allowsPlatformContributions="true"
+ id="org.apache.hadoop.eclipse.dfs.DFSViewer#PopupMenu">
+ <insertionPoint name="group.new"/>
+ <insertionPoint
+ name="group.open"
+ separator="true"/>
+ <insertionPoint name="group.openWith"/>
+ <insertionPoint name="group.edit"
+ separator="true"/>
+ <insertionPoint name="group.reorganize" />
+ <insertionPoint
+ name="group.port"
+ separator="true"/>
+ <insertionPoint
+ name="group.build"
+ separator="true"/>
+ <insertionPoint
+ name="group.generate"
+ separator="true"/>
+ <insertionPoint
+ name="group.search"
+ separator="true"/>
+ <insertionPoint
+ name="additions"
+ separator="true"/>
+ <insertionPoint
+ name="group.properties"
+ separator="true"/>
+ </popupMenu>
+
+ </viewer>
+ <viewerContentBinding viewerId="org.eclipse.ui.navigator.ProjectExplorer">
+ <includes>
+ <contentExtension
+ isRoot="false"
+ pattern="org.apache.hadoop.eclipse.views.dfscontent"/>
+ <actionExtension pattern="org.apache.hadoop.eclipse.views.dfscontent.*"/>
+ </includes>
+ </viewerContentBinding>
+ </extension>
+
+ <!-- HDFS FileSystem registration [TODO] -->
+ <!-- extension
+ point="org.eclipse.core.filesystem.filesystems">
+ <filesystem scheme="hdfs">
+ <run class="org.apache.hadoop.eclipse.dfs.FileSystem"/>
+ </filesystem>
+ </extension -->
+
+ <!--
+ <extension
+ point="org.eclipse.ui.popupMenus">
+ <viewerContribution
+ id="Hadouken.viewerContribution1"
+ targetID="org.eclipse.ui.navigator.ProjectExplorer#PopupMenu"/>
+ </extension> -->
+
+ <!-- Preferences -->
+ <extension
+ point="org.eclipse.ui.preferencePages">
+ <page
+ class="org.apache.hadoop.eclipse.preferences.MapReducePreferencePage"
+ id="org.apache.hadoop.eclipse.preferences.MapReducePreferencePage"
+ name="Hadoop Map/Reduce"/>
+ </extension>
+
+ <extension
+ point="org.eclipse.core.runtime.preferences">
+ <initializer class="org.apache.hadoop.eclipse.preferences.PreferenceInitializer"/>
+ </extension>
+
+</plugin>
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/Components/Conf.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/Components/Conf.png b/eclipse-plugin/resources/Components/Conf.png
new file mode 100644
index 0000000..b23c4ec
Binary files /dev/null and b/eclipse-plugin/resources/Components/Conf.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/Components/Export.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/Components/Export.png b/eclipse-plugin/resources/Components/Export.png
new file mode 100644
index 0000000..acddba0
Binary files /dev/null and b/eclipse-plugin/resources/Components/Export.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/Components/Import.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/Components/Import.png b/eclipse-plugin/resources/Components/Import.png
new file mode 100644
index 0000000..4a2060a
Binary files /dev/null and b/eclipse-plugin/resources/Components/Import.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/Components/New.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/Components/New.png b/eclipse-plugin/resources/Components/New.png
new file mode 100644
index 0000000..b098629
Binary files /dev/null and b/eclipse-plugin/resources/Components/New.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/Components/Reload.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/Components/Reload.png b/eclipse-plugin/resources/Components/Reload.png
new file mode 100644
index 0000000..aa19bf7
Binary files /dev/null and b/eclipse-plugin/resources/Components/Reload.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/Components/Tool.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/Components/Tool.png b/eclipse-plugin/resources/Components/Tool.png
new file mode 100644
index 0000000..4993aab
Binary files /dev/null and b/eclipse-plugin/resources/Components/Tool.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/Components/Tools.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/Components/Tools.png b/eclipse-plugin/resources/Components/Tools.png
new file mode 100644
index 0000000..0240ed2
Binary files /dev/null and b/eclipse-plugin/resources/Components/Tools.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/ConnectDFS.xml
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/ConnectDFS.xml b/eclipse-plugin/resources/ConnectDFS.xml
new file mode 100644
index 0000000..03be2b7
--- /dev/null
+++ b/eclipse-plugin/resources/ConnectDFS.xml
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+
+<cheatsheet title="Set default Hadoop path tutorial">
+ <intro>
+ <description>
+ This tutorial informs you how to set the default Hadoop
+ directory for the plugin.
+ </description>
+ </intro>
+ <item title="Create MapReduce Cluster" skip="true">
+ <description>
+ Define a MapReduce cluster [if you have not done so already]
+ by opening the MapReduce Servers view and clicking on the
+ blue elephant in the upper right.
+
+ Use the following embedded command to create a new Hadoop Server:
+ </description>
+
+ <action pluginId="com.ibm.hipods.mapreduce"
+ class="org.apache.hadoop.eclipse.actions.NewServerAction" />
+ </item>
+ <item title="Open and Explore DFS Tree">
+
+ <description>
+ Project Explorer view shows an elephant icon for each defined
+ server. Opening a server entry will open a connection to
+ the root of that server's DFS tree. You can then explore the
+ DFS tree.
+ </description>
+
+ </item>
+</cheatsheet>
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/CreateProj.xml
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/CreateProj.xml b/eclipse-plugin/resources/CreateProj.xml
new file mode 100644
index 0000000..4a71dcb
--- /dev/null
+++ b/eclipse-plugin/resources/CreateProj.xml
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<cheatsheet title="MapReduce project creation tutorial">
+ <intro>
+ <description>
+ This tutorial guides you through the creation of a simple
+ MapReduce project with three MapReduce classes: a Mapper, a
+ Reducer, and a Driver.
+ </description>
+ </intro>
+ <item title="Open the MapReduce Perspective">
+ <action pluginId="org.eclipse.ui.cheatsheets"
+ class="org.eclipse.ui.internal.cheatsheets.actions.OpenPerspective"
+ param1="org.apache.hadoop.eclipse.Perspective" />
+ <description>
+ Select <b>Window->Open Perspective->MapReduce</b> in the menubar at
+ the top of the workbench. This step changes the perspective
+ to set up the Eclipse workbench for MapReduce development.
+ </description>
+ </item>
+ <item title="Create a MapReduce project" skip="true">
+ <action pluginId="com.ibm.hipods.mapreduce"
+ class="org.apache.hadoop.eclipse.actions.OpenNewMRProjectAction" />
+ <description>
+ The first thing you will need is a MapReduce Project. If you
+ already have a MapReduce project in your workspace that you
+ would like to use, you may skip this step by clicking the
+ "Click to Skip" button. If not, select <b>File->New->Project</b>
+ and choose MapReduce Project in the list. Complete the
+ subsequent pages as required.
+ </description>
+ </item>
+ <item title="Create a MapReduce package" skip="true">
+ <action pluginId="org.eclipse.jdt.ui"
+ class="org.eclipse.jdt.ui.actions.OpenNewPackageWizardAction" />
+ <description>
+ You should now have a MapReduce project in your workspace.
+ The next thing to do is creating a package. Use the Eclipse
+ tools by selecting <b>File -> New ->Package</b> action. Specify the
+ source folder (the project containing the package). Then,
+ give the package a name, such as "mapreduce.test", and click
+ the "Finish" button. If you already have a project with a
+ package you might as well skip this step.
+ </description>
+ </item>
+ <item title="Create the MapReduce application classes" skip="true">
+ <description>
+ Now you should be set up for creating your MapReduce
+ application. The MapReduce application consists of three
+ classes: a Mapper class, a Reducer class and a Driver class.
+ In this step you will create the three classes. Use the
+ class wizard by selecting <b>File -> New -> Class</b>.
+ Repeat this for every class.
+ </description>
+ <repeated-subitem values="Mapper,Reducer,Driver">
+ <subitem label="Create the class ${this}.">
+ <action pluginId="com.ibm.hipods.mapreduce"
+ class="org.apache.hadoop.eclipse.actions.OpenNewMRClassWizardAction"
+ param1="${this}" />
+ </subitem>
+ </repeated-subitem>
+ </item>
+</cheatsheet>
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/Elephant-16x16.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/Elephant-16x16.png b/eclipse-plugin/resources/Elephant-16x16.png
new file mode 100644
index 0000000..5721a7a
Binary files /dev/null and b/eclipse-plugin/resources/Elephant-16x16.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/Elephant-24x24.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/Elephant-24x24.png b/eclipse-plugin/resources/Elephant-24x24.png
new file mode 100644
index 0000000..0a48eaa
Binary files /dev/null and b/eclipse-plugin/resources/Elephant-24x24.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/Elephant-32x32.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/Elephant-32x32.png b/eclipse-plugin/resources/Elephant-32x32.png
new file mode 100644
index 0000000..82ef714
Binary files /dev/null and b/eclipse-plugin/resources/Elephant-32x32.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/Elephant-64x64.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/Elephant-64x64.png b/eclipse-plugin/resources/Elephant-64x64.png
new file mode 100644
index 0000000..7e26118
Binary files /dev/null and b/eclipse-plugin/resources/Elephant-64x64.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/Elephant-small-16x16.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/Elephant-small-16x16.png b/eclipse-plugin/resources/Elephant-small-16x16.png
new file mode 100644
index 0000000..0c349c7
Binary files /dev/null and b/eclipse-plugin/resources/Elephant-small-16x16.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/Elephant.jpg
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/Elephant.jpg b/eclipse-plugin/resources/Elephant.jpg
new file mode 100644
index 0000000..530baf9
Binary files /dev/null and b/eclipse-plugin/resources/Elephant.jpg differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/Elephant100x100.gif
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/Elephant100x100.gif b/eclipse-plugin/resources/Elephant100x100.gif
new file mode 100644
index 0000000..77e2e0d
Binary files /dev/null and b/eclipse-plugin/resources/Elephant100x100.gif differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/Elephant16x16.gif
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/Elephant16x16.gif b/eclipse-plugin/resources/Elephant16x16.gif
new file mode 100644
index 0000000..80f650e
Binary files /dev/null and b/eclipse-plugin/resources/Elephant16x16.gif differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/Elephant2-136x136.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/Elephant2-136x136.png b/eclipse-plugin/resources/Elephant2-136x136.png
new file mode 100644
index 0000000..2fa7f14
Binary files /dev/null and b/eclipse-plugin/resources/Elephant2-136x136.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/Elephant2-16x16.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/Elephant2-16x16.png b/eclipse-plugin/resources/Elephant2-16x16.png
new file mode 100644
index 0000000..b12dd8a
Binary files /dev/null and b/eclipse-plugin/resources/Elephant2-16x16.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/Elephant2-24x24.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/Elephant2-24x24.png b/eclipse-plugin/resources/Elephant2-24x24.png
new file mode 100644
index 0000000..d1a105e
Binary files /dev/null and b/eclipse-plugin/resources/Elephant2-24x24.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/Elephant2-32x32.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/Elephant2-32x32.png b/eclipse-plugin/resources/Elephant2-32x32.png
new file mode 100644
index 0000000..036469a
Binary files /dev/null and b/eclipse-plugin/resources/Elephant2-32x32.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/Elephant2-64x64.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/Elephant2-64x64.png b/eclipse-plugin/resources/Elephant2-64x64.png
new file mode 100644
index 0000000..e9b5a30
Binary files /dev/null and b/eclipse-plugin/resources/Elephant2-64x64.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/Elephant2.jpg
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/Elephant2.jpg b/eclipse-plugin/resources/Elephant2.jpg
new file mode 100644
index 0000000..fdf8a41
Binary files /dev/null and b/eclipse-plugin/resources/Elephant2.jpg differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/Elephant3-122x122.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/Elephant3-122x122.png b/eclipse-plugin/resources/Elephant3-122x122.png
new file mode 100644
index 0000000..9096b4c
Binary files /dev/null and b/eclipse-plugin/resources/Elephant3-122x122.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/Elephant3-16x16.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/Elephant3-16x16.png b/eclipse-plugin/resources/Elephant3-16x16.png
new file mode 100644
index 0000000..8ec09d4
Binary files /dev/null and b/eclipse-plugin/resources/Elephant3-16x16.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/Elephant3-24x24.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/Elephant3-24x24.png b/eclipse-plugin/resources/Elephant3-24x24.png
new file mode 100644
index 0000000..0d65327
Binary files /dev/null and b/eclipse-plugin/resources/Elephant3-24x24.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/HelloWorld.xml
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/HelloWorld.xml b/eclipse-plugin/resources/HelloWorld.xml
new file mode 100644
index 0000000..bae2815
--- /dev/null
+++ b/eclipse-plugin/resources/HelloWorld.xml
@@ -0,0 +1,138 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<compositeCheatsheet name="IBM MapReduce Tools for Eclipse">
+ <taskGroup name="Develop Hadoop Applications" kind="set">
+ <intro
+ href="http://www.alphaworks.ibm.com/tech/mapreducetools">
+ IBM(R) MapReduce Tools for Eclipse enables you to write
+ distributed applications based on the MapReduce paradigm
+ using the Apache Hadoop runtime. This cheat sheet will walk
+ you through the steps needed to write a MapReduce
+ application and run it on a Hadoop server.
+ </intro>
+ <onCompletion>
+
+ </onCompletion>
+ <taskGroup name="Initial Setup" kind="sequence" skip="true">
+ <intro>
+ This task takes you through the steps to setup the
+ Hadoop environment with the MapReduce Tools. If you
+ already have Hadoop installed and linked to Eclipse, you
+ can skip this task.
+ </intro>
+ <onCompletion>
+ Congratulations! You have now installed Hadoop on your
+ computer and linked it with the MapReduce Tools.
+ </onCompletion>
+ <task kind="cheatsheet"
+ name="Download and unzip Apache Hadoop distribution">
+ <intro>
+ Hadoop must be downloaded to a place where Eclipse
+ can access its libraries. This task covers the steps
+ needed to execute this task.
+ </intro>
+ <param name="showIntro" value="false" />
+ <param name="path" value="Setup.xml" />
+ <onCompletion>
+ The plugin currently supports Hadoop v0.7.2 through
+ 0.12.2. Now click on the top-most link that you feel
+ comfortable installing.
+ </onCompletion>
+ </task>
+ <task kind="cheatsheet"
+ name="Specify path to Apache Hadoop distribution">
+ ...
+ <intro>
+ This tutorial informs you how to set the default
+ Hadoop directory for the plugin.
+ </intro>
+ <param name="showIntro" value="false" />
+ <param name="path" value="SetHadoopPath.xml" />
+ </task>
+ </taskGroup>
+ <taskGroup name="Create and run a MapReduce project"
+ kind="sequence" skip="true">
+ <intro>
+ This section walks you through the steps to create and
+ run your MapReduce project.
+ </intro>
+
+ <task kind="cheatsheet" name="Create a MapReduce project"
+ skip="true">
+ <intro>
+ This tutorial guides you through the creation of a
+ simple MapReduce project with three MapReduce
+ classes: a Mapper, a Reducer, and a Driver.
+ </intro>
+ <param name="showIntro" value="false" />
+ <param name="path" value="CreateProj.xml" />
+ <onCompletion>
+ Congratulations! You have now mastered the steps for
+ creating a Hadoop project.
+ </onCompletion>
+ </task>
+ <task kind="cheatsheet"
+ name="Run a MapReduce application">
+ <param name="path" value="RunProj.xml" />
+ <onCompletion>
+ Congratulations! You have now mastered the steps for
+ implementing a Hadoop application.
+ </onCompletion>
+ </task>
+
+ </taskGroup>
+
+ <taskGroup name="Using a MapReduce cluster" kind="set"
+ skip="true">
+ <intro>
+ The MapReduce Tools for Eclipse plugin lets you
+ browse and upload files to the DFS of a MapReduce cluster.
+ </intro>
+ <onCompletion>
+ Congratulations! You have completed the tutorials on using a
+ MapReduce Cluster.
+ </onCompletion>
+ <task kind="cheatsheet"
+ name="Connect to a MapReduce cluster" skip="true">
+ <intro>
+ This tutorial explains how to show files in the DFS of a
+ MapReduce cluster.
+ </intro>
+ <param name="showIntro" value="false" />
+ <param name="path" value="ConnectDFS.xml" />
+ </task>
+ <task kind="cheatsheet" id="viewFiles"
+ name="Viewing file contents on the Hadoop Distributed File System (HDFS)">
+ <intro>
+ Simply double-click on any file in the DFS in the Project
+ Explorer view.
+ </intro>
+ </task>
+ <task kind="cheatsheet"
+ name="Transfer files to the Hadoop Distributed File System (HDFS)">
+ <intro>
+ Right-click on an existing directory in the DFS.<br />
+ Choose the <b>Import from local directory option.</b>
+ <br />
+ Note that files can only be uploaded to the HDFS at this time.
+ </intro>
+ </task>
+ </taskGroup>
+ </taskGroup>
+</compositeCheatsheet>
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/MAP100x100.gif
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/MAP100x100.gif b/eclipse-plugin/resources/MAP100x100.gif
new file mode 100644
index 0000000..71cb60d
Binary files /dev/null and b/eclipse-plugin/resources/MAP100x100.gif differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/MAP16x15.gif
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/MAP16x15.gif b/eclipse-plugin/resources/MAP16x15.gif
new file mode 100644
index 0000000..b2d3c04
Binary files /dev/null and b/eclipse-plugin/resources/MAP16x15.gif differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/RunProj.xml
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/RunProj.xml b/eclipse-plugin/resources/RunProj.xml
new file mode 100644
index 0000000..db9c181
--- /dev/null
+++ b/eclipse-plugin/resources/RunProj.xml
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<cheatsheet title="MapReduce project run tutorial">
+ <intro>
+ <description>
+ This tutorial informs you how to run your newly created
+ MapReduce Project in one of two fashions: locally as a Java
+ Application, or on a Hadoop Server.
+ </description>
+ </intro>
+ <item title="Run as Java Application">
+ <description>
+ To run your MapReduce application locally, right-click on
+ your Driver class in the Package Explorer and select <b>Run as
+ / Java Application</b>.
+ </description>
+ </item>
+ <item title="Run on Hadoop Server">
+ <description>
+ To run your MapReduce application on a Hadoop server, right-click on
+ your Driver class in the Package Explorer and select <b>Run as
+ / Run on Hadoop</b>.
+ </description>
+ </item>
+</cheatsheet>
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/SetHadoopPath.xml
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/SetHadoopPath.xml b/eclipse-plugin/resources/SetHadoopPath.xml
new file mode 100644
index 0000000..9e5fd14
--- /dev/null
+++ b/eclipse-plugin/resources/SetHadoopPath.xml
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+
+<cheatsheet title="Set default Hadoop path tutorial">
+ <intro>
+ <description>
+ This tutorial informs you how to set the default Hadoop
+ directory for the plugin.
+ </description>
+ </intro>
+ <item title="Open Plugin Preferences window">
+ <description>
+ To set the default Hadoop directory, open the plugin
+ preferences from the menu option
+ <b>Window > Preferences</b>. <br />
+ Go to the <b>Hadoop Home Directory</b>
+ preference, and enter the installation directory there.
+
+ Use the following embedded command to open the Preferences
+ window:
+ </description>
+
+ <action pluginId="org.eclipse.jdt.ui"
+ class="org.eclipse.ui.internal.OpenPreferencesAction" />
+ </item>
+</cheatsheet>
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/Setup.xml
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/Setup.xml b/eclipse-plugin/resources/Setup.xml
new file mode 100644
index 0000000..ca7cfe8
--- /dev/null
+++ b/eclipse-plugin/resources/Setup.xml
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<cheatsheet title="Open Browser">
+ <intro>
+ <description>This cheat sheet launches a browser to the Hadoop website.</description>
+ </intro>
+ <item title="Open Browser">
+ <description>
+ Go to http://hadoop.apache.org/core/, and follow
+ links to download the latest stable distribution of
+ Hadoop.
+
+
+ Use the following embedded command to launch the Hadoop Web site
+ in a browser</description>
+ <command serialization=
+ "org.eclipse.ui.browser.openBrowser(url=http://hadoop.apache.org/core)"/>
+ </item>
+</cheatsheet>
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/download.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/download.png b/eclipse-plugin/resources/download.png
new file mode 100644
index 0000000..d9f1de8
Binary files /dev/null and b/eclipse-plugin/resources/download.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/drive100x100.gif
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/drive100x100.gif b/eclipse-plugin/resources/drive100x100.gif
new file mode 100644
index 0000000..1f36b54
Binary files /dev/null and b/eclipse-plugin/resources/drive100x100.gif differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/drive16x16.gif
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/drive16x16.gif b/eclipse-plugin/resources/drive16x16.gif
new file mode 100644
index 0000000..15d5718
Binary files /dev/null and b/eclipse-plugin/resources/drive16x16.gif differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/driver.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/driver.png b/eclipse-plugin/resources/driver.png
new file mode 100644
index 0000000..ba270f4
Binary files /dev/null and b/eclipse-plugin/resources/driver.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/driverwiz.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/driverwiz.png b/eclipse-plugin/resources/driverwiz.png
new file mode 100644
index 0000000..a70b1e4
Binary files /dev/null and b/eclipse-plugin/resources/driverwiz.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/elephantblue16x16.gif
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/elephantblue16x16.gif b/eclipse-plugin/resources/elephantblue16x16.gif
new file mode 100644
index 0000000..0927b13
Binary files /dev/null and b/eclipse-plugin/resources/elephantblue16x16.gif differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/files.gif
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/files.gif b/eclipse-plugin/resources/files.gif
new file mode 100644
index 0000000..cc01595
Binary files /dev/null and b/eclipse-plugin/resources/files.gif differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/hadoop-logo-16x16.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/hadoop-logo-16x16.png b/eclipse-plugin/resources/hadoop-logo-16x16.png
new file mode 100644
index 0000000..4a87cdf
Binary files /dev/null and b/eclipse-plugin/resources/hadoop-logo-16x16.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/hadoop-logo-24x24.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/hadoop-logo-24x24.png b/eclipse-plugin/resources/hadoop-logo-24x24.png
new file mode 100644
index 0000000..318a570
Binary files /dev/null and b/eclipse-plugin/resources/hadoop-logo-24x24.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/hadoop-logo-85x85.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/hadoop-logo-85x85.png b/eclipse-plugin/resources/hadoop-logo-85x85.png
new file mode 100644
index 0000000..6fee03b
Binary files /dev/null and b/eclipse-plugin/resources/hadoop-logo-85x85.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/hadoop-logo.jpg
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/hadoop-logo.jpg b/eclipse-plugin/resources/hadoop-logo.jpg
new file mode 100644
index 0000000..809525d
Binary files /dev/null and b/eclipse-plugin/resources/hadoop-logo.jpg differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/hadoop.gif
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/hadoop.gif b/eclipse-plugin/resources/hadoop.gif
new file mode 100644
index 0000000..828c515
Binary files /dev/null and b/eclipse-plugin/resources/hadoop.gif differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/hadoop_small.gif
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/hadoop_small.gif b/eclipse-plugin/resources/hadoop_small.gif
new file mode 100644
index 0000000..df609f3
Binary files /dev/null and b/eclipse-plugin/resources/hadoop_small.gif differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/job.gif
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/job.gif b/eclipse-plugin/resources/job.gif
new file mode 100644
index 0000000..2bc247a
Binary files /dev/null and b/eclipse-plugin/resources/job.gif differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/location-edit-16x16.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/location-edit-16x16.png b/eclipse-plugin/resources/location-edit-16x16.png
new file mode 100644
index 0000000..d563edb
Binary files /dev/null and b/eclipse-plugin/resources/location-edit-16x16.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/location-new-16x16.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/location-new-16x16.png b/eclipse-plugin/resources/location-new-16x16.png
new file mode 100644
index 0000000..a7a072f
Binary files /dev/null and b/eclipse-plugin/resources/location-new-16x16.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/map16x16.gif
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/map16x16.gif b/eclipse-plugin/resources/map16x16.gif
new file mode 100644
index 0000000..2de5c5d
Binary files /dev/null and b/eclipse-plugin/resources/map16x16.gif differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/mapper16.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/mapper16.png b/eclipse-plugin/resources/mapper16.png
new file mode 100644
index 0000000..fe1d64e
Binary files /dev/null and b/eclipse-plugin/resources/mapper16.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/mapwiz.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/mapwiz.png b/eclipse-plugin/resources/mapwiz.png
new file mode 100644
index 0000000..54c4495
Binary files /dev/null and b/eclipse-plugin/resources/mapwiz.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/new-folder.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/new-folder.png b/eclipse-plugin/resources/new-folder.png
new file mode 100644
index 0000000..5fb0b28
Binary files /dev/null and b/eclipse-plugin/resources/new-folder.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/projwiz.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/projwiz.png b/eclipse-plugin/resources/projwiz.png
new file mode 100644
index 0000000..6efa859
Binary files /dev/null and b/eclipse-plugin/resources/projwiz.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/reduce100x100.gif
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/reduce100x100.gif b/eclipse-plugin/resources/reduce100x100.gif
new file mode 100644
index 0000000..b30af6b
Binary files /dev/null and b/eclipse-plugin/resources/reduce100x100.gif differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/reduce16x16.gif
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/reduce16x16.gif b/eclipse-plugin/resources/reduce16x16.gif
new file mode 100644
index 0000000..288a5d4
Binary files /dev/null and b/eclipse-plugin/resources/reduce16x16.gif differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/reducer-16x16.gif
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/reducer-16x16.gif b/eclipse-plugin/resources/reducer-16x16.gif
new file mode 100644
index 0000000..74ee382
Binary files /dev/null and b/eclipse-plugin/resources/reducer-16x16.gif differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/reducer16.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/reducer16.png b/eclipse-plugin/resources/reducer16.png
new file mode 100644
index 0000000..24fec89
Binary files /dev/null and b/eclipse-plugin/resources/reducer16.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/reducewiz.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/reducewiz.png b/eclipse-plugin/resources/reducewiz.png
new file mode 100644
index 0000000..61b800d
Binary files /dev/null and b/eclipse-plugin/resources/reducewiz.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/refresh.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/refresh.png b/eclipse-plugin/resources/refresh.png
new file mode 100644
index 0000000..ed961d2
Binary files /dev/null and b/eclipse-plugin/resources/refresh.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/spite_overcloud.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/spite_overcloud.png b/eclipse-plugin/resources/spite_overcloud.png
new file mode 100644
index 0000000..e256a7e
Binary files /dev/null and b/eclipse-plugin/resources/spite_overcloud.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/spitesmall.gif
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/spitesmall.gif b/eclipse-plugin/resources/spitesmall.gif
new file mode 100644
index 0000000..5a1c095
Binary files /dev/null and b/eclipse-plugin/resources/spitesmall.gif differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/spitesmall.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/spitesmall.png b/eclipse-plugin/resources/spitesmall.png
new file mode 100644
index 0000000..01c2b57
Binary files /dev/null and b/eclipse-plugin/resources/spitesmall.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/resources/upload.png
----------------------------------------------------------------------
diff --git a/eclipse-plugin/resources/upload.png b/eclipse-plugin/resources/upload.png
new file mode 100644
index 0000000..38cf1cc
Binary files /dev/null and b/eclipse-plugin/resources/upload.png differ
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/src/java/org/apache/hadoop/eclipse/Activator.java
----------------------------------------------------------------------
diff --git a/eclipse-plugin/src/java/org/apache/hadoop/eclipse/Activator.java b/eclipse-plugin/src/java/org/apache/hadoop/eclipse/Activator.java
new file mode 100644
index 0000000..8d4b2df
--- /dev/null
+++ b/eclipse-plugin/src/java/org/apache/hadoop/eclipse/Activator.java
@@ -0,0 +1,77 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hadoop.eclipse;
+
+import org.apache.hadoop.eclipse.servers.ServerRegistry;
+import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.osgi.framework.BundleContext;
+
+/**
+ * The activator class controls the plug-in life cycle
+ */
+public class Activator extends AbstractUIPlugin {
+
+ /**
+ * The plug-in ID
+ */
+ public static final String PLUGIN_ID = "org.apache.hadoop.eclipse";
+
+ /**
+ * The shared unique instance (singleton)
+ */
+ private static Activator plugin;
+
+ /**
+ * Constructor
+ */
+ public Activator() {
+ synchronized (Activator.class) {
+ if (plugin != null) {
+ // Not a singleton!?
+ throw new RuntimeException("Activator for " + PLUGIN_ID
+ + " is not a singleton");
+ }
+ plugin = this;
+ }
+ }
+
+ /* @inheritDoc */
+ @Override
+ public void start(BundleContext context) throws Exception {
+ super.start(context);
+ }
+
+ /* @inheritDoc */
+ @Override
+ public void stop(BundleContext context) throws Exception {
+ ServerRegistry.getInstance().dispose();
+ plugin = null;
+ super.stop(context);
+ }
+
+ /**
+ * Returns the shared unique instance (singleton)
+ *
+ * @return the shared unique instance (singleton)
+ */
+ public static Activator getDefault() {
+ return plugin;
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/src/java/org/apache/hadoop/eclipse/ErrorMessageDialog.java
----------------------------------------------------------------------
diff --git a/eclipse-plugin/src/java/org/apache/hadoop/eclipse/ErrorMessageDialog.java b/eclipse-plugin/src/java/org/apache/hadoop/eclipse/ErrorMessageDialog.java
new file mode 100644
index 0000000..17b39ba
--- /dev/null
+++ b/eclipse-plugin/src/java/org/apache/hadoop/eclipse/ErrorMessageDialog.java
@@ -0,0 +1,45 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hadoop.eclipse;
+
+import org.eclipse.jface.dialogs.MessageDialog;
+import org.eclipse.swt.widgets.Display;
+
+/**
+ * Error dialog helper
+ */
+public class ErrorMessageDialog {
+
+ public static void display(final String title, final String message) {
+ Display.getDefault().syncExec(new Runnable() {
+
+ public void run() {
+ MessageDialog.openError(Display.getDefault().getActiveShell(),
+ title, message);
+ }
+
+ });
+ }
+
+ public static void display(Exception e) {
+ display("An exception has occured!", "Exception description:\n"
+ + e.getLocalizedMessage());
+ }
+
+}
http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/a1719e04/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java
----------------------------------------------------------------------
diff --git a/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java b/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java
new file mode 100644
index 0000000..d80deb3
--- /dev/null
+++ b/eclipse-plugin/src/java/org/apache/hadoop/eclipse/HadoopPerspectiveFactory.java
@@ -0,0 +1,95 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership. The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.hadoop.eclipse;
+
+import org.eclipse.debug.ui.IDebugUIConstants;
+import org.eclipse.jdt.ui.JavaUI;
+import org.eclipse.ui.IFolderLayout;
+import org.eclipse.ui.IPageLayout;
+import org.eclipse.ui.IPerspectiveFactory;
+import org.eclipse.ui.console.IConsoleConstants;
+
+/**
+ * Creates links to the new MapReduce-based wizards and views for a MapReduce
+ * perspective
+ *
+ */
+
+public class HadoopPerspectiveFactory implements IPerspectiveFactory {
+
+ public void createInitialLayout(IPageLayout layout) {
+ layout.addNewWizardShortcut("org.apache.hadoop.eclipse.NewDriverWizard");
+ layout.addNewWizardShortcut("org.apache.hadoop.eclipse.NewMapperWizard");
+ layout
+ .addNewWizardShortcut("org.apache.hadoop.eclipse.NewReducerWizard");
+
+ IFolderLayout left =
+ layout.createFolder("org.apache.hadoop.eclipse.perspective.left",
+ IPageLayout.LEFT, 0.2f, layout.getEditorArea());
+ left.addView("org.eclipse.ui.navigator.ProjectExplorer");
+
+ IFolderLayout bottom =
+ layout.createFolder("org.apache.hadoop.eclipse.perspective.bottom",
+ IPageLayout.BOTTOM, 0.7f, layout.getEditorArea());
+ bottom.addView(IPageLayout.ID_PROBLEM_VIEW);
+ bottom.addView(IPageLayout.ID_TASK_LIST);
+ bottom.addView(JavaUI.ID_JAVADOC_VIEW);
+ bottom.addView("org.apache.hadoop.eclipse.view.servers");
+ bottom.addPlaceholder(JavaUI.ID_SOURCE_VIEW);
+ bottom.addPlaceholder(IPageLayout.ID_PROGRESS_VIEW);
+ bottom.addPlaceholder(IConsoleConstants.ID_CONSOLE_VIEW);
+ bottom.addPlaceholder(IPageLayout.ID_BOOKMARKS);
+
+ IFolderLayout right =
+ layout.createFolder("org.apache.hadoop.eclipse.perspective.right",
+ IPageLayout.RIGHT, 0.8f, layout.getEditorArea());
+ right.addView(IPageLayout.ID_OUTLINE);
+ right.addView("org.eclipse.ui.cheatsheets.views.CheatSheetView");
+ // right.addView(layout.ID); .. cheat sheet here
+
+ layout.addActionSet(IDebugUIConstants.LAUNCH_ACTION_SET);
+ layout.addActionSet(JavaUI.ID_ACTION_SET);
+ layout.addActionSet(JavaUI.ID_CODING_ACTION_SET);
+ layout.addActionSet(JavaUI.ID_ELEMENT_CREATION_ACTION_SET);
+ layout.addActionSet(IPageLayout.ID_NAVIGATE_ACTION_SET);
+ layout.addActionSet(JavaUI.ID_SEARCH_ACTION_SET);
+
+ layout
+ .addNewWizardShortcut("org.eclipse.jdt.ui.wizards.NewPackageCreationWizard");
+ layout
+ .addNewWizardShortcut("org.eclipse.jdt.ui.wizards.NewClassCreationWizard");
+ layout
+ .addNewWizardShortcut("org.eclipse.jdt.ui.wizards.NewInterfaceCreationWizard");
+ layout
+ .addNewWizardShortcut("org.eclipse.jdt.ui.wizards.NewEnumCreationWizard");
+ layout
+ .addNewWizardShortcut("org.eclipse.jdt.ui.wizards.NewAnnotationCreationWizard");
+ layout
+ .addNewWizardShortcut("org.eclipse.jdt.ui.wizards.NewSourceFolderCreationWizard");
+ layout
+ .addNewWizardShortcut("org.eclipse.jdt.ui.wizards.NewSnippetFileCreationWizard");
+ layout.addNewWizardShortcut("org.eclipse.ui.wizards.new.folder");
+ layout.addNewWizardShortcut("org.eclipse.ui.wizards.new.file");
+ layout
+ .addNewWizardShortcut("org.eclipse.ui.editors.wizards.UntitledTextFileWizard");
+
+ // CheatSheetViewerFactory.createCheatSheetView().setInput("org.apache.hadoop.eclipse.cheatsheet");
+ }
+
+}