HDFS-860. svn merge -c 1339413 from trunk

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1339414 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Eli Collins 2012-05-16 22:58:00 +00:00
parent 00875b37f6
commit 3f844f50dd
2 changed files with 4 additions and 1 deletions

View File

@ -579,6 +579,9 @@ Release 2.0.0-alpha - UNRELEASED
HDFS-3026. HA: Handle failure during HA state transition. (atm)
HDFS-860. fuse-dfs truncate behavior causes issues with scp.
(Brian Bockelman via eli)
BREAKDOWN OF HDFS-1623 SUBTASKS
HDFS-2179. Add fencing framework and mechanisms for NameNode HA. (todd)

View File

@ -37,7 +37,7 @@ int dfs_truncate(const char *path, off_t size)
assert(dfs);
if (size != 0) {
return -ENOTSUP;
return 0;
}
int ret = dfs_unlink(path);