[ 
https://issues.apache.org/jira/browse/HDFS-4920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dongming Liang updated HDFS-4920:
---------------------------------
    Attachment: HDFS-4920.patch

Add check to see if FileID exists before getting it in 
ClientNamenodeProtocolServerSideTranslatorPB.java. Please review. 

> ClientNamenodeProtocolServerSideTranslatorPB.addBlock() should check if 
> fileId exists for backword compatibility support
> ------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-4920
>                 URL: https://issues.apache.org/jira/browse/HDFS-4920
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.0.0
>            Reporter: Brandon Li
>            Assignee: Dongming Liang
>         Attachments: HDFS-4920.patch
>
>
> Instead of calling req.getFileId(), it should check if fileId presents, 
> req.hasFileId() first to support older client.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to