hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yiping Han <y...@yahoo-inc.com>
Subject Re: How to timeout HFDS commands
Date Fri, 22 Jan 2010 10:37:25 GMT
No, I mean in java program.

Thanks~
-- Yiping


On 1/22/10 6:32 PM, "Jeff Zhang" <zjffdu@gmail.com> wrote:

> Try Ctrl+C
> 
> 
> On Fri, Jan 22, 2010 at 5:50 PM, Yiping Han <yhan@yahoo-inc.com> wrote:
> 
>> Hi all,
>> 
>> I'm using org.apache.hadoop.fs.FileSystem in my code for some HDFS
>> operations. I would like to timeout and abort the operation if it takes too
>> long (for example, copyFromLocal of a huge file). What is the best way to
>> do
>> this?
>> 
>> 
>> Thanks~
>> --Yiping
>> 
>> 
> 

----------------------
Yiping Han
yhan@yahoo-inc.com
US phone: +1(408)349-4403
Beijing phone: +86(10)8215-9357 


Mime
View raw message