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] [Created] (HDFS-9028) Create accessor methods for DataNode#data and DataNode#isBlockTokenEnabled
Date Fri, 04 Sep 2015 22:51:46 GMT
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)

Mime
View raw message