hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Appy (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-15845) Shell Cleanup : move formatter to commands.rb; move one of the two hbase.rb to hbase_constants.rb
Date Fri, 03 Jun 2016 23:37:59 GMT

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

Appy updated HBASE-15845:
-------------------------
    Description: 
-  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.

  was:
-  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, the changes is only for 2.0.
- 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.


> 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
>            Reporter: Appy
>            Assignee: Appy
>            Priority: Minor
>             Fix For: 2.0.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.4#6332)

Mime
View raw message