[
https://issues.apache.org/jira/browse/HDFS-17462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18023455#comment-18023455
]
ASF GitHub Bot commented on HDFS-17462:
---------------------------------------
github-actions[bot] commented on PR #6722:
URL: https://github.com/apache/hadoop/pull/6722#issuecomment-3344446626
We're closing this stale PR because it has been open for 100 days with no
activity. This isn't a judgement on the merit of the PR in any way. It's just a
way of keeping the PR queue manageable.
If you feel like this was a mistake, or you would like to continue working
on it, please feel free to re-open it and ask for a committer to remove the
stale tag and review again.
Thanks all for your contribution.
> RBF: NPE in Router concat when trg is an empty file.
> ----------------------------------------------------
>
> Key: HDFS-17462
> URL: https://issues.apache.org/jira/browse/HDFS-17462
> Project: Hadoop HDFS
> Issue Type: Bug
> Affects Versions: 2.10.2, 3.3.6
> Reporter: NaihaoFan
> Assignee: NaihaoFan
> Priority: Minor
> Labels: pull-request-available
>
> When trg of Router concat is an empty file, it will trigger NPE in Router,
> and the concat will fail, example:
> This is because when trg is an empty file, NameNode will return
> lastLocatedBlock as null in the response of getBlockLocations. And Router
> will not check null of lastLocatedBlock returned, instead Router will use it
> to get block pool id directly.
> Trg of concat is an empty file should be allowed in router since this case is
> supported by concat of NameNode.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]