Re: File Busy or not check. Kindly Help

2012-05-01 Thread Harsh J
Hey Ravi, I just answered the same question not too long ago, which you can read at: http://search-hadoop.com/m/o2DhNQPv7G1 On Tue, May 1, 2012 at 11:39 AM, Ravi Shankar wrote: > Hi All, > > I am trying to check that if a file is busy ,i.e. it is still being copied > into DFS from Local, the MR

File Busy or not check. Kindly Help

2012-05-01 Thread Ravi Shankar
Hi All, I am trying to check that if a file is busy ,i.e. it is still being copied into DFS from Local, the MR Job should not run if it is, otherwise it should. What I have observed is that if the file is still being written to DFS, and I call the MR job on it, the job runs (which may include o