hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "keuler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14175) NPE when ADL store URI contains underscore
Date Fri, 30 Mar 2018 23:42:00 GMT

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

keuler commented on HADOOP-14175:
---------------------------------

Hello [~jzhuge] and [~xiaobingo],

I am a beginner in Hadoop development and would like to suggest a patch to this issue.

Please find below the proposed patch.

[https://github.com/keuler1/hadoop/commit/29cb66f5876b8715cc43d273fb37eecfc230e6aa]

 

Best regards,

Keuler

> NPE when ADL store URI contains underscore
> ------------------------------------------
>
>                 Key: HADOOP-14175
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14175
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/adl
>    Affects Versions: 2.8.0
>            Reporter: John Zhuge
>            Assignee: Xiaobing Zhou
>            Priority: Minor
>              Labels: newbie, supportability
>
> Please note the underscore {{_}} in the store name {{jzhuge_adls}}. Same NPE wherever
the underscore in the URI.
> {noformat}
> $ bin/hadoop fs -ls adl://jzhuge_adls.azuredatalakestore.net/
> -ls: Fatal internal error
> java.lang.NullPointerException
> 	at org.apache.hadoop.fs.adl.AdlFileSystem.initialize(AdlFileSystem.java:145)
> 	at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:3257)
> 	at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:123)
> 	at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:3306)
> 	at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:3274)
> 	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:476)
> 	at org.apache.hadoop.fs.Path.getFileSystem(Path.java:361)
> 	at org.apache.hadoop.fs.shell.PathData.expandAsGlob(PathData.java:325)
> 	at org.apache.hadoop.fs.shell.Command.expandArgument(Command.java:249)
> 	at org.apache.hadoop.fs.shell.Command.expandArguments(Command.java:232)
> 	at org.apache.hadoop.fs.shell.FsCommand.processRawArguments(FsCommand.java:103)
> 	at org.apache.hadoop.fs.shell.Command.run(Command.java:176)
> 	at org.apache.hadoop.fs.FsShell.run(FsShell.java:326)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
> 	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90)
> 	at org.apache.hadoop.fs.FsShell.main(FsShell.java:389)
> {noformat}



--
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


Mime
View raw message