hadoop-mapreduce-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cdoug...@apache.org
Subject svn commit: r1127799 - /hadoop/mapreduce/branches/MR-279/yarn/yarn-server/yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/ResourceLocalizationService.java
Date Thu, 26 May 2011 06:40:35 GMT
Author: cdouglas
Date: Thu May 26 06:40:35 2011
New Revision: 1127799

URL: http://svn.apache.org/viewvc?rev=1127799&view=rev
Log:
Log error from public cache when resource fails to download

Modified:
    hadoop/mapreduce/branches/MR-279/yarn/yarn-server/yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/ResourceLocalizationService.java

Modified: hadoop/mapreduce/branches/MR-279/yarn/yarn-server/yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/ResourceLocalizationService.java
URL: http://svn.apache.org/viewvc/hadoop/mapreduce/branches/MR-279/yarn/yarn-server/yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/ResourceLocalizationService.java?rev=1127799&r1=1127798&r2=1127799&view=diff
==============================================================================
--- hadoop/mapreduce/branches/MR-279/yarn/yarn-server/yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/ResourceLocalizationService.java
(original)
+++ hadoop/mapreduce/branches/MR-279/yarn/yarn-server/yarn-server-nodemanager/src/main/java/org/apache/hadoop/yarn/server/nodemanager/containermanager/localizer/ResourceLocalizationService.java
Thu May 26 06:40:35 2011
@@ -503,7 +503,8 @@ public class ResourceLocalizationService
                   new ResourceLocalizedEvent(assoc.getResource().getRequest(),
                     local, FileUtil.getDU(new File(local.toUri()))));
             } catch (ExecutionException e) {
-              LOG.info("Failed to download rsrc " + assoc.getResource());
+              LOG.info("Failed to download rsrc " + assoc.getResource(),
+                  e.getCause());
               dispatcher.getEventHandler().handle(
                   new ContainerResourceFailedEvent(
                     assoc.getContext().getContainerId(),



Mime
View raw message