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 "Gabor Bota (JIRA)" <ji...@apache.org> on 2019/03/20 13:50:00 UTC

[jira] [Commented] (HADOOP-16138) hadoop fs mkdir / of nonexistent abfs container raises NPE

    [ https://issues.apache.org/jira/browse/HADOOP-16138?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16797191#comment-16797191 ] 

Gabor Bota commented on HADOOP-16138:
-------------------------------------

Some update on this: I managed to reproduce the issue via CLI but not in a unit test. It seems like the call sequence is quite different if you call {{mkdirs}} on {{AzureBlobFileSystem}} directly and via CLI, and something goes wrong when it is called as a CLI command.

> hadoop fs mkdir / of nonexistent abfs container raises NPE
> ----------------------------------------------------------
>
>                 Key: HADOOP-16138
>                 URL: https://issues.apache.org/jira/browse/HADOOP-16138
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/azure
>    Affects Versions: 3.2.0
>            Reporter: Steve Loughran
>            Assignee: Gabor Bota
>            Priority: Minor
>
> If you try to do a mkdir on the root of a nonexistent container, you get an NPE
> {code}
> hadoop fs -mkdir  abfs://container2@abfswales1.dfs.core.windows.net/  
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org