hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nigel Daley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HADOOP-5224) Disable append
Date Wed, 18 Feb 2009 05:02:02 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674454#action_12674454
] 

Nigel Daley commented on HADOOP-5224:
-------------------------------------

{quote}
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. 
{quote}
Dhruba, folks who want to test with append can use 0.19.0.

{quote}
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.
{quote}
The uploaded patch creates a dfs.support.append config entry but doesn't seem to use it in
the append method to affect it's behavior.  What am I missing?

{quote}
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.
{quote}
I think this should be a new Jira that could be fixed in 0.19.2.  If you agree, please close
this and open a new Jira.

> 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
>            Priority: Blocker
>             Fix For: 0.19.1
>
>         Attachments: disableAppend.patch, 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.


Mime
View raw message