Author: cutting
Date: Fri Aug 1 15:42:58 2008
New Revision: 681880
URL: http://svn.apache.org/viewvc?rev=681880&view=rev
Log:
HADOOP-3884. Fix so that Eclipse plugin builds against recent Eclipse releases.
Modified:
hadoop/core/trunk/CHANGES.txt
hadoop/core/trunk/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/dfs/DFSFile.java
hadoop/core/trunk/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/server/HadoopServer.java
Modified: hadoop/core/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/hadoop/core/trunk/CHANGES.txt?rev=681880&r1=681879&r2=681880&view=diff
==============================================================================
--- hadoop/core/trunk/CHANGES.txt (original)
+++ hadoop/core/trunk/CHANGES.txt Fri Aug 1 15:42:58 2008
@@ -988,6 +988,9 @@
HADOOP-3865. Remove reference to FSNamesystem from metrics preventing
garbage collection. (Lohit Vijayarenu via cdouglas)
+ HADOOP-3884. Fix so that Eclipse plugin builds against recent
+ Eclipse releases. (cutting)
+
Release 0.17.2 - Unreleased
BUG FIXES
Modified:
hadoop/core/trunk/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/dfs/DFSFile.java
URL:
http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/dfs/DFSFile.java?rev=681880&r1=681879&r2=681880&view=diff
==============================================================================
---
hadoop/core/trunk/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/dfs/DFSFile.java
(original)
+++
hadoop/core/trunk/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/dfs/DFSFile.java
Fri Aug 1 15:42:58 2008
@@ -311,7 +311,7 @@
} catch (IOException ioe) {
throw new CoreException(new Status(Status.ERROR,
- Activator.PLUGIN_ID, "Unable to open file \""
+ Activator.PLUGIN_ID, 0, "Unable to open file \""
+ DFSFile.this.path + "\"", ioe));
}
}
Modified:
hadoop/core/trunk/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/server/HadoopServer.java
URL:
http://svn.apache.org/viewvc/hadoop/core/trunk/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/server/HadoopServer.java?rev=681880&r1=681879&r2=681880&view=diff
==============================================================================
---
hadoop/core/trunk/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/server/HadoopServer.java
(original)
+++
hadoop/core/trunk/src/contrib/eclipse-plugin/src/java/org/apache/hadoop/eclipse/server/HadoopServer.java
Fri Aug 1 15:42:58 2008
@@ -103,9 +103,10 @@
} catch (IOException ioe) {
client = null;
- return new Status(Status.ERROR, Activator.PLUGIN_ID,
+ return new Status(Status.ERROR, Activator.PLUGIN_ID, 0,
"Cannot connect to the Map/Reduce location: "
- + HadoopServer.this.getLocationName());
+ + HadoopServer.this.getLocationName(),
+ ioe);
}
}
@@ -145,9 +146,9 @@
} catch (IOException ioe) {
client = null;
- return new Status(Status.ERROR, Activator.PLUGIN_ID,
+ return new Status(Status.ERROR, Activator.PLUGIN_ID, 0,
"Cannot retrieve running Jobs on location: "
- + HadoopServer.this.getLocationName());
+ + HadoopServer.this.getLocationName(), ioe);
}
// Schedule the next observation