[ https://issues.apache.org/jira/browse/HDFS-17509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17842222#comment-17842222 ]
ASF GitHub Bot commented on HDFS-17509: --------------------------------------- LiuGuH opened a new pull request, #6784: URL: https://github.com/apache/hadoop/pull/6784 ### Description of PR As described [HDFS-17509](https://issues.apache.org/jira/browse/HDFS-17509) hdfs dfs -concat /tmp/merge /tmp/t1 /tmp/t2 When /tmp/merge is a empty file, this command will throw NPE via DFSRouter. Because a file via DFSRouter only can be exists in one namespace, so this RP can implement in this way. > RBF: Fix ClientProtocol.concat will throw NPE if tgr is a empty file. > ---------------------------------------------------------------------- > > Key: HDFS-17509 > URL: https://issues.apache.org/jira/browse/HDFS-17509 > Project: Hadoop HDFS > Issue Type: Bug > Reporter: liuguanghua > Priority: Minor > > hdfs dfs -concat /tmp/merge /tmp/t1 /tmp/t2 > When /tmp/merge is a empty file, this command will throw NPE via DFSRouter. > > -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org