Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> How to timeout HFDS commands


Copy link to this message
-
Re: How to timeout HFDS commands
Try Ctrl+C
On Fri, Jan 22, 2010 at 5:50 PM, Yiping Han <[EMAIL PROTECTED]> 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
>
>
--
Best Regards

Jeff Zhang
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB