Oh yes, definitely better.
Didn't notice that one :)

On Thu, Oct 7, 2010 at 2:17 AM, Edward J. Yoon <[email protected]> wrote:
> Thanks. It's filed on HAMA-296.
>
> BTW, getLocal() method seem better.
>
> On Thu, Oct 7, 2010 at 6:41 AM, Filipe David Manana <[email protected]> 
> wrote:
>> Hi,
>> Since it's a 1 line patch to fix a warning, here's the patch:
>>
>>
>> diff --git a/src/java/org/apache/hama/bsp/JobInProgress.java
>> b/src/java/org/apache/hama/bsp/JobInProgress.java
>> index e482a81..f799d02 100644
>> --- a/src/java/org/apache/hama/bsp/JobInProgress.java
>> +++ b/src/java/org/apache/hama/bsp/JobInProgress.java
>> @@ -71,7 +71,7 @@ class JobInProgress {
>>     this.jobId = jobId;
>>
>>     this.tasks = new ArrayList<TaskInProgress>();
>> -    this.localFs = (LocalFileSystem) FileSystem.getNamed("local", conf);
>> +    this.localFs = (LocalFileSystem)
>> FileSystem.get(java.net.URI.create("file:///"), conf);
>>
>>     this.master = master;
>>     this.status = new JobStatus(jobId, 0.0f, 0.0f, JobStatus.PREP);
>>
>>
>>
>> cheers
>> --
>> Filipe David Manana,
>> [email protected], [email protected]
>>
>> "Reasonable men adapt themselves to the world.
>>  Unreasonable men adapt the world to themselves.
>>  That's why all progress depends on unreasonable men."
>>
>
>
>
> --
> Best Regards, Edward J. Yoon
> [email protected]
> http://blog.udanax.org
>



-- 
Filipe David Manana,
[email protected], [email protected]

"Reasonable men adapt themselves to the world.
 Unreasonable men adapt the world to themselves.
 That's why all progress depends on unreasonable men."

Reply via email to