hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edwardy...@apache.org
Subject svn commit: r1005352 - /incubator/hama/trunk/src/java/org/apache/hama/bsp/JobInProgress.java
Date Thu, 07 Oct 2010 07:45:13 GMT
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");



Mime
View raw message