You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hama.apache.org by ed...@apache.org on 2010/10/07 09:45:13 UTC

svn commit: r1005352 - /incubator/hama/trunk/src/java/org/apache/hama/bsp/JobInProgress.java

Author: edwardyoon
Date: Thu Oct  7 07:45:12 2010
New Revision: 1005352

URL: http://svn.apache.org/viewvc?rev=1005352&view=rev
Log:
fix warning about deprecated method

Modified:
    incubator/hama/trunk/src/java/org/apache/hama/bsp/JobInProgress.java

Modified: incubator/hama/trunk/src/java/org/apache/hama/bsp/JobInProgress.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/bsp/JobInProgress.java?rev=1005352&r1=1005351&r2=1005352&view=diff
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/bsp/JobInProgress.java (original)
+++ incubator/hama/trunk/src/java/org/apache/hama/bsp/JobInProgress.java Thu Oct  7 07:45:12 2010
@@ -71,13 +71,12 @@ class JobInProgress {
     this.jobId = jobId;
 
     this.tasks = new ArrayList<TaskInProgress>();
-    this.localFs = (LocalFileSystem) FileSystem.getNamed("local", conf);
+    this.localFs = FileSystem.getLocal(conf);
 
     this.master = master;
     this.status = new JobStatus(jobId, 0.0f, 0.0f, JobStatus.PREP);
     this.startTime = System.currentTimeMillis();
     status.setStartTime(startTime);
-    // this.localFs = FileSystem.getLocal(conf);
 
     this.localJobFile = master.getLocalPath(BSPMaster.SUBDIR + "/" + jobId
         + ".xml");