hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acmur...@apache.org
Subject svn commit: r1127784 - /hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/ResourceMgrDelegate.java
Date Thu, 26 May 2011 04:59:19 GMT
Author: acmurthy
Date: Thu May 26 04:59:19 2011
New Revision: 1127784

URL: http://svn.apache.org/viewvc?rev=1127784&view=rev
Log:
Unblocking gridmix3 for now...

Modified:
    hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/ResourceMgrDelegate.java

Modified: hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/ResourceMgrDelegate.java
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/ResourceMgrDelegate.java?rev=1127784&r1=1127783&r2=1127784&view=diff
==============================================================================
--- hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/ResourceMgrDelegate.java
(original)
+++ hadoop/mapreduce/branches/MR-279/mr-client/hadoop-mapreduce-client-jobclient/src/main/java/org/apache/hadoop/mapred/ResourceMgrDelegate.java
Thu May 26 04:59:19 2011
@@ -29,7 +29,6 @@ import org.apache.hadoop.conf.Configurat
 import org.apache.hadoop.fs.CommonConfigurationKeys;
 import org.apache.hadoop.fs.FileSystem;
 import org.apache.hadoop.fs.Path;
-import org.apache.hadoop.fs.UnsupportedFileSystemException;
 import org.apache.hadoop.io.Text;
 import org.apache.hadoop.mapreduce.ClusterMetrics;
 import org.apache.hadoop.mapreduce.JobID;
@@ -59,7 +58,6 @@ import org.apache.hadoop.yarn.api.protoc
 import org.apache.hadoop.yarn.api.protocolrecords.SubmitApplicationRequest;
 import org.apache.hadoop.yarn.api.records.ApplicationId;
 import org.apache.hadoop.yarn.api.records.ApplicationMaster;
-import org.apache.hadoop.yarn.api.records.ApplicationState;
 import org.apache.hadoop.yarn.api.records.ApplicationSubmissionContext;
 import org.apache.hadoop.yarn.api.records.QueueUserACLInfo;
 import org.apache.hadoop.yarn.api.records.YarnClusterMetrics;
@@ -127,7 +125,9 @@ public class ResourceMgrDelegate {
 
   public TaskTrackerInfo[] getBlacklistedTrackers() throws IOException,
       InterruptedException {
-    throw new IOException("Not implemented");
+    // TODO: Implement getBlacklistedTrackers
+    LOG.warn("getBlacklistedTrackers - Not implemented yet");
+    return new TaskTrackerInfo[0];
   }
 
 
@@ -145,7 +145,9 @@ public class ResourceMgrDelegate {
 
   public Token<DelegationTokenIdentifier> getDelegationToken(Text arg0)
       throws IOException, InterruptedException {
-    throw new IOException("Not Implemented");
+    // TODO: Implement getDelegationToken
+    LOG.warn("getDelegationToken - Not Implemented");
+    return null;
   }
 
 
@@ -277,7 +279,9 @@ public class ResourceMgrDelegate {
 
   public long renewDelegationToken(Token<DelegationTokenIdentifier> arg0)
       throws IOException, InterruptedException {
-    throw new IOException("Not implemented");
+    // TODO: Implement renewDelegationToken
+    LOG.warn("renewDelegationToken - Not implemented");
+    return 0;
   }
   
   



Mime
View raw message