HDFS-860. fuse-dfs truncate behavior causes issues with scp. Contributed by Brian Bockelman
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1339413 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
235502d60b
commit
97e1d5c9ad
|
@ -697,6 +697,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)
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue