hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-7943) Update config parameter name for enabling append support in tests
Date Tue, 26 Feb 2013 21:22:13 GMT

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

Ted Yu updated HBASE-7943:
--------------------------

    Issue Type: Test  (was: Bug)
    
> Update config parameter name for enabling append support in tests
> -----------------------------------------------------------------
>
>                 Key: HBASE-7943
>                 URL: https://issues.apache.org/jira/browse/HBASE-7943
>             Project: HBase
>          Issue Type: Test
>            Reporter: Ted Yu
>
> When I worked on HBASE-7878, I found that we're using the following code to enable append
in our tests:
> {code}
>     TEST_UTIL.getConfiguration().setBoolean("dfs.support.append", true);
> {code}
> However, in hadoop 1.0, here is the code from FSNamesystem.java for checking append support:
> {code}
>     this.allowBrokenAppend = conf.getBoolean("dfs.support.broken.append", false);
> ...
>   LocatedBlock appendFile(String src, String holder, String clientMachine
>       ) throws IOException {
>     if (!allowBrokenAppend) {
>       throw new IOException("Append is not supported. " +
>           "Please see the dfs.support.append configuration parameter");
>     }
> {code}
> I think we should pass true for "dfs.support.broken.append" so that the append functionality
can be verified for hadoop 1.0

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message