You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Steve Loughran (JIRA)" <ji...@apache.org> on 2017/06/23 17:23:00 UTC
[jira] [Created] (HADOOP-14583) wasb throws an exception if you try
to create a file and there's no parent directory
Steve Loughran created HADOOP-14583:
---------------------------------------
Summary: wasb throws an exception if you try to create a file and there's no parent directory
Key: HADOOP-14583
URL: https://issues.apache.org/jira/browse/HADOOP-14583
Project: Hadoop Common
Issue Type: Sub-task
Components: fs/azure
Reporter: Steve Loughran
Priority: Minor
It's a known defect of the Hadoop FS API (and one we don't explicitly test for enough), but you can create a file on a path which doesn't exist. In that situation, the create() logic is expectd to create the entries.
Wasb appears to raise an exception if you try to call {{create(filepath)}} without calling {{mkdirs(filepath.getParent()}} first. That's the semantics expected of {{createNonRecursive()}}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org