You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Jakob Homan (JIRA)" <ji...@apache.org> on 2015/06/20 00:14:00 UTC

[jira] [Updated] (HDFS-8435) createNonRecursive support needed in WebHdfsFileSystem to support HBase

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

Jakob Homan updated HDFS-8435:
------------------------------
    Attachment: HDFS-8435-branch-2.7.001.patch
                HDFS-8435.001.patch

Patches to add support for createNonRecursive in WebHDFS.

* Add new method to WebHDFS itself
* Create required CreateFlag param (with documentation)
* Refactor TestFileCreate method that address createNonRecursive to be accessible from TestWebHDFS and use it.

> createNonRecursive support needed in WebHdfsFileSystem to support HBase
> -----------------------------------------------------------------------
>
>                 Key: HDFS-8435
>                 URL: https://issues.apache.org/jira/browse/HDFS-8435
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: webhdfs
>            Reporter: Vinoth Sathappan
>            Assignee: Jakob Homan
>         Attachments: HDFS-8435-branch-2.7.001.patch, HDFS-8435.001.patch
>
>
> The WebHdfsFileSystem implementation doesn't support createNonRecursive. HBase extensively depends on that for proper functioning. Currently, when the region servers are started over web hdfs, they crash due with -
> createNonRecursive unsupported for this filesystem class org.apache.hadoop.hdfs.web.SWebHdfsFileSystem
>                 at org.apache.hadoop.fs.FileSystem.createNonRecursive(FileSystem.java:1137)
>                 at org.apache.hadoop.fs.FileSystem.createNonRecursive(FileSystem.java:1112)
>                 at org.apache.hadoop.fs.FileSystem.createNonRecursive(FileSystem.java:1088)
>                 at org.apache.hadoop.hbase.regionserver.wal.ProtobufLogWriter.init(ProtobufLogWriter.java:85)
>                 at org.apache.hadoop.hbase.regionserver.wal.HLogFactory.createWriter(HLogFactory.java:198)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)