hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tjungb...@apache.org
Subject svn commit: r1333571 - /incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/TaskRunner.java
Date Thu, 03 May 2012 17:42:50 GMT
Author: tjungblut
Date: Thu May  3 17:42:49 2012
New Revision: 1333571

URL: http://svn.apache.org/viewvc?rev=1333571&view=rev
Log:
improved logging directory (from last id to the whole job string)

Modified:
    incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/TaskRunner.java

Modified: incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/TaskRunner.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/TaskRunner.java?rev=1333571&r1=1333570&r2=1333571&view=diff
==============================================================================
--- incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/TaskRunner.java (original)
+++ incubator/hama/trunk/core/src/main/java/org/apache/hama/bsp/TaskRunner.java Thu May  3
17:42:49 2012
@@ -252,7 +252,7 @@ public class TaskRunner extends Thread {
   private File createLogDirectory() {
     // our log dir looks following: log/tasklogs/job_id/
     File f = new File(System.getProperty("hama.log.dir") + File.separator
-        + "tasklogs" + File.separator + task.jobId.id);
+        + "tasklogs" + File.separator + task.jobId.toString());
     // TODO if we have attemps: + File.separator+ task.getTaskID());
 
     if (!f.exists()) {



Mime
View raw message