You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2017/02/24 22:20:44 UTC

[jira] [Updated] (HBASE-15845) Shell Cleanup : move formatter to commands.rb; move one of the two hbase.rb to hbase_constants.rb

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

Sean Busbey updated HBASE-15845:
--------------------------------
    Component/s: shell

> Shell Cleanup : move formatter to commands.rb; move one of the two hbase.rb to hbase_constants.rb
> -------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-15845
>                 URL: https://issues.apache.org/jira/browse/HBASE-15845
>             Project: HBase
>          Issue Type: Bug
>          Components: shell
>            Reporter: Appy
>            Assignee: Appy
>            Priority: Minor
>             Fix For: 2.0.0, 1.4.0
>
>         Attachments: HBASE-15845-master-v1.patch, HBASE-15845-master-v2.patch
>
>
> -  Renaming hbase.rb to hbase_constants.rb because there are two hbase.rb files right now which is confusing. The constants are meant for shell, users shouldn't be using it directly. Anyways, this file is moved only in 2.0. In earlier branches, the files isn't renamed.
> - Remove omnipresence of formatter object since it is kind of a use-and-throw class. Commands should create
>       an instance, use it to format the output and discard it.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)