hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Trezzo (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HDFS-9028) Create accessor methods for DataNode#data and DataNode#isBlockTokenEnabled
Date Thu, 25 Aug 2016 00:47:20 GMT

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

Chris Trezzo resolved HDFS-9028.
    Resolution: Won't Fix

The original motivation for creating these accessor methods is no longer valid. I figured
out a way to mock them without the methods. Please re-open if you feel otherwise.

> Create accessor methods for DataNode#data and DataNode#isBlockTokenEnabled
> --------------------------------------------------------------------------
>                 Key: HDFS-9028
>                 URL: https://issues.apache.org/jira/browse/HDFS-9028
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Chris Trezzo
>            Priority: Minor
> Currently both DataNode#data and DataNode#isBlockTokenEnabled instance variables are
package scoped with no accessor methods. This makes mocking in unit tests difficult. This
jira is to make them private scoped with proper getters and setters.

This message was sent by Atlassian JIRA

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

View raw message