You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Elliot Miller (Jira)" <ji...@apache.org> on 2020/07/31 15:21:00 UTC
[jira] [Updated] (HBASE-15916) incorrect work formating for shell
scan
[ https://issues.apache.org/jira/browse/HBASE-15916?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Elliot Miller 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/|https://web.archive.org/web/20160326074917/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
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/
> incorrect work formating for shell scan
> ----------------------------------------
>
> Key: HBASE-15916
> URL: https://issues.apache.org/jira/browse/HBASE-15916
> Project: HBase
> Issue Type: Bug
> Reporter: Alexey Diomin
> Priority: Minor
> Attachments: 0001-HBASE-15916-incorrect-work-formating-for-shell-scan.patch
>
>
> 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/|https://web.archive.org/web/20160326074917/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
(v8.3.4#803005)