You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@accumulo.apache.org by "Keith Turner (JIRA)" <ji...@apache.org> on 2012/08/17 16:57:38 UTC
[jira] [Created] (ACCUMULO-732) Shell needs hex formatter
Keith Turner created ACCUMULO-732:
-------------------------------------
Summary: Shell needs hex formatter
Key: ACCUMULO-732
URL: https://issues.apache.org/jira/browse/ACCUMULO-732
Project: Accumulo
Issue Type: New Feature
Components: client
Reporter: Keith Turner
Assignee: Keith Turner
Fix For: 1.5.0
The shell will print unprintable chars as hex using 4 characters like \xDD. It would be nice to have a formatter that prints everything in hex and in a more concise form. Something like the following.
{noformat}
root@test15 graph> formatter -t graph -f org.apache.accumulo.core.util.format.HexFormatter
root@test15 graph> scan
0607-2964-7f08-a100-0801-02ef-6440-c3d2-53c8 6564-6765 636f-756e-74 [] 31
0607-2964-7f08-a100-0808-1cce-3e8e-64e7-da 6564-6765 636f-756e-74 [] 31
0607-2964-7f08-a100-080a-c7ce-44a5-34c0-2c 6564-6765 636f-756e-74 [] 31
0607-2964-7f08-a100-080c-045c-4e7a-127d-92 6564-6765 636f-756e-74 [] 31
0607-2964-7f08-a100-080e-9580-1aa6-eeef-2c 6564-6765 636f-756e-74 [] 31
0607-2964-7f08-a100-080e-cd42-4859-6550-e0 6564-6765 636f-756e-74 [] 31
0607-2964-7f08-a100-0816-ccf8-3526-daf4-27 6564-6765 636f-756e-74 [] 31
0607-2964-7f08-a100-0817-b645-dcf2-b73b-65 6564-6765 636f-756e-74 [] 31
0607-2964-7f08-a100-081a-8f72-d23a-6c4e-8e 6564-6765 636f-756e-74 [] 31
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ACCUMULO-732) Shell needs hex formatter
Posted by "David Medinets (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ACCUMULO-732?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13436945#comment-13436945 ]
David Medinets commented on ACCUMULO-732:
-----------------------------------------
Have you seen the output from 'hexdump -C'? Would that format also be useful?
> Shell needs hex formatter
> -------------------------
>
> Key: ACCUMULO-732
> URL: https://issues.apache.org/jira/browse/ACCUMULO-732
> Project: Accumulo
> Issue Type: New Feature
> Components: client
> Reporter: Keith Turner
> Assignee: Keith Turner
> Labels: Newbie
> Fix For: 1.5.0
>
>
> The shell will print unprintable chars as hex using 4 characters like \xDD. It would be nice to have a formatter that prints everything in hex and in a more concise form. Something like the following.
> {noformat}
> root@test15 graph> formatter -t graph -f org.apache.accumulo.core.util.format.HexFormatter
> root@test15 graph> scan
> 0607-2964-7f08-a100-0801-02ef-6440-c3d2-53c8 6564-6765 636f-756e-74 [] 31
> 0607-2964-7f08-a100-0808-1cce-3e8e-64e7-da 6564-6765 636f-756e-74 [] 31
> 0607-2964-7f08-a100-080a-c7ce-44a5-34c0-2c 6564-6765 636f-756e-74 [] 31
> 0607-2964-7f08-a100-080c-045c-4e7a-127d-92 6564-6765 636f-756e-74 [] 31
> 0607-2964-7f08-a100-080e-9580-1aa6-eeef-2c 6564-6765 636f-756e-74 [] 31
> 0607-2964-7f08-a100-080e-cd42-4859-6550-e0 6564-6765 636f-756e-74 [] 31
> 0607-2964-7f08-a100-0816-ccf8-3526-daf4-27 6564-6765 636f-756e-74 [] 31
> 0607-2964-7f08-a100-0817-b645-dcf2-b73b-65 6564-6765 636f-756e-74 [] 31
> 0607-2964-7f08-a100-081a-8f72-d23a-6c4e-8e 6564-6765 636f-756e-74 [] 31
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (ACCUMULO-732) Shell needs hex formatter
Posted by "Keith Turner (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ACCUMULO-732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Keith Turner resolved ACCUMULO-732.
-----------------------------------
Resolution: Fixed
> Shell needs hex formatter
> -------------------------
>
> Key: ACCUMULO-732
> URL: https://issues.apache.org/jira/browse/ACCUMULO-732
> Project: Accumulo
> Issue Type: New Feature
> Components: client
> Reporter: Keith Turner
> Assignee: Keith Turner
> Labels: Newbie
> Fix For: 1.5.0
>
>
> The shell will print unprintable chars as hex using 4 characters like \xDD. It would be nice to have a formatter that prints everything in hex and in a more concise form. Something like the following.
> {noformat}
> root@test15 graph> formatter -t graph -f org.apache.accumulo.core.util.format.HexFormatter
> root@test15 graph> scan
> 0607-2964-7f08-a100-0801-02ef-6440-c3d2-53c8 6564-6765 636f-756e-74 [] 31
> 0607-2964-7f08-a100-0808-1cce-3e8e-64e7-da 6564-6765 636f-756e-74 [] 31
> 0607-2964-7f08-a100-080a-c7ce-44a5-34c0-2c 6564-6765 636f-756e-74 [] 31
> 0607-2964-7f08-a100-080c-045c-4e7a-127d-92 6564-6765 636f-756e-74 [] 31
> 0607-2964-7f08-a100-080e-9580-1aa6-eeef-2c 6564-6765 636f-756e-74 [] 31
> 0607-2964-7f08-a100-080e-cd42-4859-6550-e0 6564-6765 636f-756e-74 [] 31
> 0607-2964-7f08-a100-0816-ccf8-3526-daf4-27 6564-6765 636f-756e-74 [] 31
> 0607-2964-7f08-a100-0817-b645-dcf2-b73b-65 6564-6765 636f-756e-74 [] 31
> 0607-2964-7f08-a100-081a-8f72-d23a-6c4e-8e 6564-6765 636f-756e-74 [] 31
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira