[ 
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
(v6.3.4#6332)

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

Reply via email to