FAQ
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


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.

Search Discussions

  • Nigel Daley (JIRA) at Feb 11, 2009 at 8:43 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Nigel Daley updated HADOOP-5224:
    --------------------------------

    Hadoop Flags: [Incompatible change]
    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


    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.
  • Jim Kellerman (JIRA) at Feb 11, 2009 at 9:01 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12672773#action_12672773 ]

    Jim Kellerman commented on HADOOP-5224:
    ---------------------------------------

    Where does this leave HADOOP-4379?

    The testing I have done to date indicates that sync() does, in fact, work. See HBASE-1155

    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


    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.
  • Robert Chansler (JIRA) at Feb 12, 2009 at 11:35 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Robert Chansler updated HADOOP-5224:
    ------------------------------------

    Assignee: Raghu Angadi
    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


    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.
  • Raghu Angadi (JIRA) at Feb 13, 2009 at 12:32 am
    [ https://issues.apache.org/jira/browse/HADOOP-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673100#action_12673100 ]

    Raghu Angadi commented on HADOOP-5224:
    --------------------------------------

    Jim,

    btw, this is assigned to me just to provide a patch. The decision is not mine. I will let others reply to the above valid concern.


    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


    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.
  • Robert Chansler (JIRA) at Feb 13, 2009 at 1:52 am
    [ https://issues.apache.org/jira/browse/HADOOP-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673114#action_12673114 ]

    Robert Chansler commented on HADOOP-5224:
    -----------------------------------------

    This particular item turns off _append()_ at the interface without affecting the implementation or normal behavior of _sync()_.
    A related item, Hadoop-5225, disables some of the recovery code associated with sync in the case of data node failure.

    The use of either of these facilities in 0.19.0 is dangerous to the integrity of the file system. The goal is to provide 0.19.1 with the same file system integrity as 0.18.3. Further development of append and sync recovery can then continue.


    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


    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.
  • Raghu Angadi (JIRA) at Feb 13, 2009 at 8:21 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Raghu Angadi updated HADOOP-5224:
    ---------------------------------

    Attachment: HADOOP-5224.patch

    patch for review. The only real change is that {{DistributedFileSystem.append()}} throws {{UnsupportedOperationException}}. Rest of the changes are for disabling tests that depend on HDFS append.
    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.
  • Raghu Angadi (JIRA) at Feb 13, 2009 at 9:55 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Raghu Angadi updated HADOOP-5224:
    ---------------------------------

    Status: Patch Available (was: Open)

    'ant test-contrib' passes as well.

    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.
  • Raghu Angadi (JIRA) at Feb 13, 2009 at 10:29 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673403#action_12673403 ]

    Raghu Angadi commented on HADOOP-5224:
    --------------------------------------


    'ant test-libhdfs' passes as well.

    ant test-patch :
    {noformat}
    [exec] +1 overall.
    [exec]
    [exec] +1 @author. The patch does not contain any @author tags.
    [exec]
    [exec] +1 tests included. The patch appears to include 9 new or modified tests.
    [exec]
    [exec] +1 javadoc. The javadoc tool did not generate any warning messages.
    [exec]
    [exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings.
    [exec]
    [exec] +1 findbugs. The patch does not introduce any new Findbugs warnings.
    {noformat}

    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.
  • Konstantin Shvachko (JIRA) at Feb 13, 2009 at 10:53 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673410#action_12673410 ]

    Konstantin Shvachko commented on HADOOP-5224:
    ---------------------------------------------

    Looks like TestStickyBit uses append(). Something tells me it should have failed.
    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.
  • Raghu Angadi (JIRA) at Feb 13, 2009 at 10:57 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673412#action_12673412 ]

    Raghu Angadi commented on HADOOP-5224:
    --------------------------------------

    correct. But TestStickyBit is not in 0.19.

    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.
  • Konstantin Shvachko (JIRA) at Feb 13, 2009 at 11:07 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673413#action_12673413 ]

    Konstantin Shvachko commented on HADOOP-5224:
    ---------------------------------------------

    True. +1
    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.
  • Raghu Angadi (JIRA) at Feb 13, 2009 at 11:57 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Raghu Angadi updated HADOOP-5224:
    ---------------------------------

    Resolution: Fixed
    Release Note: HDFS append() is disabled. It throws UnsupportedOperationException.
    Hadoop Flags: [Incompatible change, Reviewed] (was: [Incompatible change])
    Status: Resolved (was: Patch Available)

    I just committed committed this to 0.19 (only).

    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.
  • dhruba borthakur (JIRA) at Feb 14, 2009 at 5:39 am
    [ 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.
  • dhruba borthakur (JIRA) at Feb 14, 2009 at 5:41 am
    [ https://issues.apache.org/jira/browse/HADOOP-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673468#action_12673468 ]

    dhruba borthakur commented on HADOOP-5224:
    ------------------------------------------

    Making the config parameter dfs.support.append to "false" by default might allow Jim Kellerman to continue testing his Hbase code with 0.19.1 (till these get resolved in later releases).
    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.
  • Raghu Angadi (JIRA) at Feb 14, 2009 at 5:04 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Raghu Angadi reassigned HADOOP-5224:
    ------------------------------------

    Assignee: (was: Raghu Angadi)

    I think I shouldn't have been assigned this jira in the first place.
    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: 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.
  • dhruba borthakur (JIRA) at Feb 17, 2009 at 3:11 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    dhruba borthakur updated HADOOP-5224:
    -------------------------------------

    Attachment: disableAppend.patch

    Hi Raghu, I uploaded a patch where the only change is to set "dfs.support.append" to false. Does this look ok to you?
    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.
  • Nigel Daley (JIRA) at Feb 18, 2009 at 5:02 am
    [ 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.
  • dhruba borthakur (JIRA) at Feb 18, 2009 at 5:43 am
    [ https://issues.apache.org/jira/browse/HADOOP-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    dhruba borthakur resolved HADOOP-5224.
    --------------------------------------

    Resolution: Fixed
    Hadoop Flags: [Incompatible change, Reviewed] (was: [Reviewed, Incompatible change])

    Nigel, thanks for the suggestion. I am closing this one.
    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.
  • Raghu Angadi (JIRA) at Feb 18, 2009 at 10:30 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12674813#action_12674813 ]

    Raghu Angadi commented on HADOOP-5224:
    --------------------------------------
    'ant test-libhdfs' passes as well.
    my bad. I had reverted the patch by mistake before running 'ant test-libhdfs'. So the patch I attached is incomplete since it does not remove the libhdfs append test. Please disregard it.
    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.
  • Raghu Angadi (JIRA) at Feb 19, 2009 at 7:12 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Raghu Angadi updated HADOOP-5224:
    ---------------------------------

    Attachment: HADOOP-5224-libhdfs.patch


    libhdfs.patch : disables append tests in libhdfs.

    The command ' {{ant -Dcompile.c++=true -Dlibhdfs=true clean compile test-libhdfs}} ' fails with current 0.19 and passes with this patch applied.

    I will commit this correction soon today.
    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-libhdfs.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.
  • Raghu Angadi (JIRA) at Feb 19, 2009 at 7:52 pm
    [ https://issues.apache.org/jira/browse/HADOOP-5224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675107#action_12675107 ]

    Raghu Angadi commented on HADOOP-5224:
    --------------------------------------

    I just committed libhdfs.patch to 0.19 (only).
    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-libhdfs.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.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedFeb 11, '09 at 8:41p
activeFeb 19, '09 at 7:52p
posts22
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Raghu Angadi (JIRA): 22 posts

People

Translate

site design / logo © 2022 Grokbase