[ 
https://issues.apache.org/jira/browse/HDFS-14726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16905633#comment-16905633
 ] 

Erik Krogen commented on HDFS-14726:
------------------------------------

Thanks for filing this [~vagarychen]. The idea seems good to me. Maybe we can 
create a constant representing the {{-1}} (inside of {{RemoteEditLogManifest}} 
?) instead of having the same magic number appearing in both places?

> Fix JN incompatibility issue in branch-2 due to backport of HDFS-10519
> ----------------------------------------------------------------------
>
>                 Key: HDFS-14726
>                 URL: https://issues.apache.org/jira/browse/HDFS-14726
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: journal-node
>    Affects Versions: 2.10.0
>            Reporter: Chen Liang
>            Assignee: Chen Liang
>            Priority: Blocker
>         Attachments: HDFS-14726-branch-2.001.patch
>
>
> HDFS-10519 has been backported to branch-2. However HDFS-10519 introduced an 
> incompatibility issue between NN and JN due to the new protobuf field 
> {{committedTxnId}} in {{HdfsServer.proto}}. This field was introduced as a 
> required field so if JN and NN are not on same version, it will run into 
> missing field exception. Although currently we can get around by making sure 
> JN always gets upgraded properly before NN, we can potentially fix this 
> incompatibility by changing the field to optional. 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to