hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Trezzo (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-9008) Balancer#Parameters class could use a builder pattern
Date Thu, 03 Sep 2015 01:30:46 GMT

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

Chris Trezzo updated HDFS-9008:
-------------------------------
    Status: Patch Available  (was: In Progress)

> Balancer#Parameters class could use a builder pattern
> -----------------------------------------------------
>
>                 Key: HDFS-9008
>                 URL: https://issues.apache.org/jira/browse/HDFS-9008
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>          Components: balancer & mover
>            Reporter: Chris Trezzo
>            Assignee: Chris Trezzo
>            Priority: Minor
>         Attachments: HDFS-9008-trunk-v1.patch
>
>
> The Balancer#Parameters class is violating a few checkstyle rules.
> # Instance variables are not privately scoped and do not have accessor methods.
> # The Balancer#Parameter constructor has too many arguments (according to checkstyle).
> Changing this class to use the builder pattern could fix both of these style issues.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message