hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Duxbury <br...@rapleaf.com>
Subject rename return values
Date Tue, 30 Sep 2008 20:37:25 GMT
Hey all,

Why is it that FileSystem.rename returns true or false instead of  
throwing an exception? It seems incredibly inconvenient to get a  
false result and then have to go poring over the namenode logs  
looking for the actual error message. I had this case recently where  
I'd forgotten to create the parent directories, but I had no idea it  
was failing since there were no exceptions.


View raw message