[
https://issues.apache.org/jira/browse/HDFS-8463?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Masatake Iwasaki updated HDFS-8463:
-----------------------------------
Attachment: HDFS-8463.002.patch
bq. It might be better to simply call blockSeekTo(targetPos) and return true,
if currentNode is null.
Thanks for the comment, [~kihwal]. I agree and attached the 002 which fixes
seekToNewSource to seek to the first node if currentNode is not set yet.
> Calling DFSInputStream.seekToNewSource just after stream creation causes
> NullPointerException
> ----------------------------------------------------------------------------------------------
>
> Key: HDFS-8463
> URL: https://issues.apache.org/jira/browse/HDFS-8463
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: Masatake Iwasaki
> Assignee: Masatake Iwasaki
> Priority: Minor
> Attachments: HDFS-8463.001.patch, HDFS-8463.002.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)