You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Chris Trezzo (JIRA)" <ji...@apache.org> on 2016/08/25 00:47:20 UTC
[jira] [Resolved] (HDFS-9028) Create accessor methods for
DataNode#data and DataNode#isBlockTokenEnabled
[ 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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org