You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-user@hadoop.apache.org by javateck javateck <ja...@gmail.com> on 2009/04/12 09:43:37 UTC

API: FSDataOutputStream create(Path f, boolean overwrite)

Hi:
  I'm trying to use "FSDataOutputStream create(Path f, boolean overwrite)",
I'm calling "create(new Path("somePath"), false)", but creation still fails
with IOException even when the file does not exist, can someone explain the
behavior?

thanks,

Re: API: FSDataOutputStream create(Path f, boolean overwrite)

Posted by javateck javateck <ja...@gmail.com>.
sorry, it's my fault, it's working as expected

On Sun, Apr 12, 2009 at 12:43 AM, javateck javateck <ja...@gmail.com>wrote:

> Hi:
>   I'm trying to use "FSDataOutputStream create(Path f, boolean
> overwrite)", I'm calling "create(new Path("somePath"), false)", but creation
> still fails with IOException even when the file does not exist, can someone
> explain the behavior?
>
> thanks,
>