[ http://issues.apache.org/jira/browse/HADOOP-710?page=comments#action_12448889 ] Milind Bhandarkar commented on HADOOP-710: ------------------------------------------
This is a bug in DFSClient.DFSOutputStream.write(byte[], int, int). It calls endBlock only when the buffer becomes full. > block size isn't honored > ------------------------ > > Key: HADOOP-710 > URL: http://issues.apache.org/jira/browse/HADOOP-710 > Project: Hadoop > Issue Type: Bug > Components: dfs > Affects Versions: 0.8.0 > Reporter: Nigel Daley > Assigned To: Milind Bhandarkar > > When writing a buffer to an FSOutputStream using write(buffer,offset,length), > the block size isn't honored when the block size is less than the buffer size. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira