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

Andrew Kyle Purtell resolved HBASE-7943.
----------------------------------------
    Resolution: Invalid

> 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
>            Priority: Major
>
> 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 was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to