[ 
https://issues.apache.org/jira/browse/HADOOP-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

dhruba borthakur reopened HADOOP-5224:
--------------------------------------


Hi folks, please pardon me for re-opening this issue. I am wondering if there 
is a better way to disable "appends" for 0.19.1 We coudld set the config 
parameter dfs.support.append to false in hadoop-defaults.xml. This means that a 
default installation of hadoop will not support "appends". However, for people 
that are testing their apps (not in production), it gives them an easy way to 
test their apps. There could be big-and-large warning message associated with 
the dfs.support.append parameter warning people to the fact that there could be 
data corruption if they set that flag to true.

I am re-opening this issue because I am not sure whether this approach was 
considered. If it was considered and was shot down, please let me know why and 
u can close this issue.

> Disable append
> --------------
>
>                 Key: HADOOP-5224
>                 URL: https://issues.apache.org/jira/browse/HADOOP-5224
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: dfs, libhdfs
>    Affects Versions: 0.19.0
>            Reporter: Nigel Daley
>            Assignee: Raghu Angadi
>            Priority: Blocker
>             Fix For: 0.19.1
>
>         Attachments: HADOOP-5224.patch
>
>
> As discussed on core-dev@ 
> (http://www.nabble.com/Hadoop-0.19.1-td21739202.html) we will disable append 
> API in Hadoop 0.19.1 by throwing UnsupportedOperationException from 
> FileSystem.append(...) methods.
> Does append in libhdfs (HADOOP-4494) need attention too?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to