hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Zhuge (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-14175) NPE when ADL store URI contains underscore
Date Sat, 11 Mar 2017 22:20:04 GMT

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

John Zhuge commented on HADOOP-14175:
-------------------------------------

Underscore is illegal in URI:
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=5049974
https://en.wikipedia.org/wiki/Hostname#Restrictions_on_valid_hostnames

However, would like a more informative error or exception here.

> 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
>            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
(v6.3.15#6346)

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