Chris Trezzo created HDFS-9028: ---------------------------------- Summary: 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 Assignee: 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)