hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey Diomin (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-15916) incorrect work formating for shell scan
Date Mon, 30 May 2016 14:37:12 GMT

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

Alexey Diomin updated HBASE-15916:
----------------------------------
    Description: 
this commit change behavior of 'scan' command 
https://github.com/apache/hbase/commit/e1e8434340f02907976f20566c3e55d8d627d4c4

old behavior:
1. call  table._scan_internal with args

2.  table._scan_internal  
2.1. call @converters.clear()
2.2. create scan and fill @converters
2.3. return result

3. scan print result with formatters


new behavior issue:
1. scan command prepare Scan and fill @converters

2.  table._scan_internal  
2.1. call @converters.clear()
2.2. if we have scan != nil use his
2.3. return result

3. scan print result WITHOUT formatters

p.s. this example dosn't work http://blog.cloudera.com/blog/2016/01/how-to-create-and-use-a-custom-formatter-in-the-apache-hbase-shell/

  was:
this commit change behavior of 'scan' command 
https://github.com/apache/hbase/commit/e1e8434340f02907976f20566c3e55d8d627d4c4

old behavior:
1) call  table._scan_internal with args
2)  table._scan_internal  
   a) call @converters.clear()
   b) create scan and fill @converters
   c) return result
3) scan print result with formatters


new behavior issue:
1) scan command prepare Scan and fill @converters
2)  table._scan_internal  
   a) call @converters.clear()
   b) if we have scan != nil use his
   c) return result
3) scan print result WITHOUT formatters

p.s. this example dosn't work http://blog.cloudera.com/blog/2016/01/how-to-create-and-use-a-custom-formatter-in-the-apache-hbase-shell/


> incorrect work formating for shell scan 
> ----------------------------------------
>
>                 Key: HBASE-15916
>                 URL: https://issues.apache.org/jira/browse/HBASE-15916
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: master
>            Reporter: Alexey Diomin
>            Priority: Minor
>
> this commit change behavior of 'scan' command 
> https://github.com/apache/hbase/commit/e1e8434340f02907976f20566c3e55d8d627d4c4
> old behavior:
> 1. call  table._scan_internal with args
> 2.  table._scan_internal  
> 2.1. call @converters.clear()
> 2.2. create scan and fill @converters
> 2.3. return result
> 3. scan print result with formatters
> new behavior issue:
> 1. scan command prepare Scan and fill @converters
> 2.  table._scan_internal  
> 2.1. call @converters.clear()
> 2.2. if we have scan != nil use his
> 2.3. return result
> 3. scan print result WITHOUT formatters
> p.s. this example dosn't work http://blog.cloudera.com/blog/2016/01/how-to-create-and-use-a-custom-formatter-in-the-apache-hbase-shell/



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

Mime
View raw message