> Do dfsConnect and dfsOpenFile return NULL on failure? Yes. > Shouldn't dfsSeek, dfsRename, dfsCreateDirectory and > dfsSetWorkingDirectory each have a return value to indicate success or > failure? Or are they assumed to never fail? Yes these functions should have return values. I will update the API spec. Thanks for pointing this out.
-----Original Message----- From: David Bowen [mailto:[EMAIL PROTECTED] Sent: Monday, May 01, 2006 8:13 AM To: [email protected] Subject: Re: C API for Hadoop DFS I'm curious about error handling. Do dfsConnect and dfsOpenFile return NULL on failure? Shouldn't dfsSeek, dfsRename, dfsCreateDirectory and dfsSetWorkingDirectory each have a return value to indicate success or failure? Or are they assumed to never fail? - David
