hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-11406) Remove unused getStartInstance and getFinalizeInstance in FSEditLogOp
Date Wed, 22 Feb 2017 00:38:44 GMT

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

Hudson commented on HDFS-11406:
-------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11284 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/11284/])
HDFS-11406. Remove unused getStartInstance and getFinalizeInstance in (wang: rev 8ef7ebbc7112e1868c9b12ff1df4a40fe7afa8af)
* (edit) hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSEditLogOp.java


> Remove unused getStartInstance and getFinalizeInstance in FSEditLogOp
> ---------------------------------------------------------------------
>
>                 Key: HDFS-11406
>                 URL: https://issues.apache.org/jira/browse/HDFS-11406
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>    Affects Versions: 2.8.0
>            Reporter: Andrew Wang
>            Assignee: Alison Yu
>            Priority: Trivial
>             Fix For: 2.9.0, 3.0.0-alpha3
>
>         Attachments: HDFS-11406.001.patch
>
>
> Looking at FSEditLogOp, these two methods are unused and can be removed:
> {code}
>     static RollingUpgradeOp getStartInstance(OpInstanceCache cache) {
>       return (RollingUpgradeOp) cache.get(OP_ROLLING_UPGRADE_START);
>     }
>     static RollingUpgradeOp getFinalizeInstance(OpInstanceCache cache) {
>       return (RollingUpgradeOp) cache.get(OP_ROLLING_UPGRADE_FINALIZE);
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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


Mime
View raw message