You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2013/02/26 22:22:13 UTC

[jira] [Created] (HBASE-7943) Update config parameter name for enabling append support in tests

Ted Yu created HBASE-7943:
-----------------------------

             Summary: 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: Bug
            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