Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
3.1.2
-
None
Description
FsUrlConnection doesn't handle relativePath correctly after the change HADOOP-15217
Exception in thread "main" java.lang.NullPointerException
at org.apache.hadoop.fs.Path.isUriPathAbsolute(Path.java:385)
at org.apache.hadoop.fs.Path.isAbsolute(Path.java:395)
at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:87)
at org.apache.hadoop.fs.RawLocalFileSystem.deprecatedGetFileStatus(RawLocalFileSystem.java:636)
at org.apache.hadoop.fs.RawLocalFileSystem.getFileLinkStatusInternal(RawLocalFileSystem.java:930)
at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:631)
at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:454)
at org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.<init>(ChecksumFileSystem.java:146)
at org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:347)
at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:899)
at org.apache.hadoop.fs.FsUrlConnection.connect(FsUrlConnection.java:62)
at org.apache.hadoop.fs.FsUrlConnection.getInputStream(FsUrlConnection.java:71)
at java.net.URL.openStream(URL.java:1045)
at UrlProblem.testRelativePath(UrlProblem.java:33)
at UrlProblem.main(UrlProblem.java:19)
Attachments
Attachments
Issue Links
- is related to
-
HADOOP-15217 FsUrlConnection does not handle paths with spaces
- Resolved