You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Alison Yu (JIRA)" <ji...@apache.org> on 2017/02/21 20:59:44 UTC
[jira] [Updated] (HDFS-11406) Remove unused getStartInstance and
getFinalizeInstance in FSEditLogOp
[ https://issues.apache.org/jira/browse/HDFS-11406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alison Yu updated HDFS-11406:
-----------------------------
Attachment: HDFS-11406.001.patch
Patch attached, please review. :) Thanks [~andrew.wang]!
> 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
> 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