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/04/13 19:46:28 UTC

[1/4] git commit: rolled out HDT-20, as the giant list of jars is actually needed

Updated Branches:
  refs/heads/hadoop-1 149f0cdc2 -> 7399d44e2


rolled out HDT-20, as the giant list of jars is actually needed


Project: http://git-wip-us.apache.org/repos/asf/incubator-hdt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hdt/commit/4531114b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hdt/tree/4531114b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hdt/diff/4531114b

Branch: refs/heads/hadoop-1
Commit: 4531114b5ca99d8877ebdde86b6d88181c1d5063
Parents: 6dc2115
Author: adamb <ad...@apache.org>
Authored: Fri Apr 12 13:53:45 2013 -0500
Committer: adamb <ad...@apache.org>
Committed: Fri Apr 12 15:39:02 2013 -0500

----------------------------------------------------------------------
 .../apache/hdt/core/natures/MapReduceNature.java   |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/4531114b/org.apache.hdt.core/src/org/apache/hdt/core/natures/MapReduceNature.java
----------------------------------------------------------------------
diff --git a/org.apache.hdt.core/src/org/apache/hdt/core/natures/MapReduceNature.java b/org.apache.hdt.core/src/org/apache/hdt/core/natures/MapReduceNature.java
index fd702d2..ef9587e 100644
--- a/org.apache.hdt.core/src/org/apache/hdt/core/natures/MapReduceNature.java
+++ b/org.apache.hdt.core/src/org/apache/hdt/core/natures/MapReduceNature.java
@@ -71,7 +71,7 @@ public class MapReduceNature implements IProjectNature {
 
         // get the hadoop core jar without touching test or examples
         // older version of hadoop don't use the word "core" -- eyhung
-        if ((fileName.indexOf("hadoop-core") != -1) && (fileName.endsWith("jar"))
+        if ((fileName.indexOf("hadoop") != -1) && (fileName.endsWith("jar"))
             && (fileName.indexOf("test") == -1)
             && (fileName.indexOf("examples") == -1)) {
           coreJars.add(pathname);
@@ -80,6 +80,19 @@ public class MapReduceNature implements IProjectNature {
         return false; // we don't care what this returns
       }
     });
+    File dir2 = new File(path + File.separatorChar + "lib");
+    if (dir2.exists() && dir2.isDirectory()) {
+      dir2.listFiles(new FileFilter() {
+        public boolean accept(File pathname) {
+          if ((!pathname.isDirectory())
+              && (pathname.getName().endsWith("jar"))) {
+            coreJars.add(pathname);
+          }
+
+          return false; // we don't care what this returns
+        }
+      });
+    }
 
     // Add Hadoop libraries onto classpath
     IJavaProject javaProject = JavaCore.create(getProject());


[4/4] git commit: bin should never have been here

Posted by ad...@apache.org.
bin should never have been here


Project: http://git-wip-us.apache.org/repos/asf/incubator-hdt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hdt/commit/7399d44e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hdt/tree/7399d44e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hdt/diff/7399d44e

Branch: refs/heads/hadoop-1
Commit: 7399d44e279a29da691d82c3ce87a4eb16d67a80
Parents: 91a36ee
Author: adamb <ad...@apache.org>
Authored: Fri Apr 12 14:00:04 2013 -0500
Committer: adamb <ad...@apache.org>
Committed: Fri Apr 12 15:39:03 2013 -0500

----------------------------------------------------------------------
 .../bin/org/apache/hdt/dfs/ui/Activator.class      |  Bin 890 -> 0 bytes
 1 files changed, 0 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/7399d44e/org.apache.hdt.dfs.ui/bin/org/apache/hdt/dfs/ui/Activator.class
----------------------------------------------------------------------
diff --git a/org.apache.hdt.dfs.ui/bin/org/apache/hdt/dfs/ui/Activator.class b/org.apache.hdt.dfs.ui/bin/org/apache/hdt/dfs/ui/Activator.class
deleted file mode 100644
index cacc268..0000000
Binary files a/org.apache.hdt.dfs.ui/bin/org/apache/hdt/dfs/ui/Activator.class and /dev/null differ


[2/4] git commit: findLaunchConfiguration is no longer called in the JavaLaunchShortcut chain, so switched to createConfiguration to correctly bring up the RunOnHadoopWizard

Posted by ad...@apache.org.
findLaunchConfiguration is no longer called in the JavaLaunchShortcut
chain, so switched to createConfiguration to correctly bring up the
RunOnHadoopWizard


Project: http://git-wip-us.apache.org/repos/asf/incubator-hdt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hdt/commit/6dc2115e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hdt/tree/6dc2115e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hdt/diff/6dc2115e

Branch: refs/heads/hadoop-1
Commit: 6dc2115e9d8557009ae6dc5ad49fd3500c554e74
Parents: 149f0cd
Author: adamb <ad...@apache.org>
Authored: Fri Apr 12 13:44:39 2013 -0500
Committer: adamb <ad...@apache.org>
Committed: Fri Apr 12 15:39:02 2013 -0500

----------------------------------------------------------------------
 .../launch/HadoopApplicationLaunchShortcut.java    |    8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/6dc2115e/org.apache.hdt.debug.core/src/org/apache/hdt/debug/core/launch/HadoopApplicationLaunchShortcut.java
----------------------------------------------------------------------
diff --git a/org.apache.hdt.debug.core/src/org/apache/hdt/debug/core/launch/HadoopApplicationLaunchShortcut.java b/org.apache.hdt.debug.core/src/org/apache/hdt/debug/core/launch/HadoopApplicationLaunchShortcut.java
index 0377571..bcf84e2 100644
--- a/org.apache.hdt.debug.core/src/org/apache/hdt/debug/core/launch/HadoopApplicationLaunchShortcut.java
+++ b/org.apache.hdt.debug.core/src/org/apache/hdt/debug/core/launch/HadoopApplicationLaunchShortcut.java
@@ -58,13 +58,9 @@ public class HadoopApplicationLaunchShortcut extends
 
   /* @inheritDoc */
   @Override
-  protected ILaunchConfiguration findLaunchConfiguration(IType type,
-      ILaunchConfigurationType configType) {
+  protected ILaunchConfiguration createConfiguration(IType type) {
 
-    // Find an existing or create a launch configuration (Standard way)
-    ILaunchConfiguration iConf =
-        super.findLaunchConfiguration(type, configType);
-    if (iConf == null) iConf = super.createConfiguration(type);
+    ILaunchConfiguration iConf = super.createConfiguration(type);
     ILaunchConfigurationWorkingCopy iConfWC;
     try {
       /*


[3/4] git commit: need eclipse.ui.ide to make the programmatic action handlers work

Posted by ad...@apache.org.
need eclipse.ui.ide to make the programmatic action handlers work


Project: http://git-wip-us.apache.org/repos/asf/incubator-hdt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hdt/commit/91a36eec
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hdt/tree/91a36eec
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hdt/diff/91a36eec

Branch: refs/heads/hadoop-1
Commit: 91a36eeca2bee8ad78f8abe6c82d3d4d90e2e9d7
Parents: 4531114
Author: adamb <ad...@apache.org>
Authored: Fri Apr 12 13:58:23 2013 -0500
Committer: adamb <ad...@apache.org>
Committed: Fri Apr 12 15:39:03 2013 -0500

----------------------------------------------------------------------
 org.apache.hdt.dfs.ui/META-INF/MANIFEST.MF |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hdt/blob/91a36eec/org.apache.hdt.dfs.ui/META-INF/MANIFEST.MF
----------------------------------------------------------------------
diff --git a/org.apache.hdt.dfs.ui/META-INF/MANIFEST.MF b/org.apache.hdt.dfs.ui/META-INF/MANIFEST.MF
index beb3b81..f4b1368 100644
--- a/org.apache.hdt.dfs.ui/META-INF/MANIFEST.MF
+++ b/org.apache.hdt.dfs.ui/META-INF/MANIFEST.MF
@@ -12,7 +12,8 @@ Require-Bundle: org.eclipse.ui,
  org.apache.hdt.dfs.core,
  org.eclipse.core.resources,
  org.eclipse.ui.navigator,
- org.apache.hdt.ui
+ org.apache.hdt.ui,
+ org.eclipse.ui.ide
 Bundle-RequiredExecutionEnvironment: JavaSE-1.6
 Bundle-ActivationPolicy: lazy
 Import-Package: org.eclipse.ui