Re: Can't get DFS file size

2008-04-08 Thread Michaela Buergle
Maybe because you pass Strings to the LongWritables? micha 11 Nov. wrote: Hi folks, I'm writing a little test programm to check the writing speed of DFS file system, but can't get the file size using fs.getFileStatus(file).getLen() or fs.getContentLength(file). Here is my code:

Re: Can't get DFS file size

2008-04-08 Thread 11 Nov.
I tried to play with the little test by attaching eclipse on when it started, what surprised me is that the size could be got in eclipse, and the result file is witten as expected. Can anybody explain this? 2008/4/8, 11 Nov. [EMAIL PROTECTED]: Hi folks, I'm writing a little test programm