[jira] [Updated] (HBASE-7690) Improve metadata printing in HFilePrettyPrinter

2013-09-09 Thread Nick Dimiduk (JIRA)

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

Nick Dimiduk updated HBASE-7690:


Status: Open  (was: Patch Available)

Patch is long stale.

 Improve metadata printing in HFilePrettyPrinter
 ---

 Key: HBASE-7690
 URL: https://issues.apache.org/jira/browse/HBASE-7690
 Project: HBase
  Issue Type: Improvement
  Components: HFile
Reporter: Nick Dimiduk
Assignee: Nick Dimiduk
Priority: Minor
 Attachments: 
 0001-HBASE-7690-Improve-printing-of-HFile-metadata.patch, 
 0001-HBASE-7690-Improve-printing-of-HFile-metadata.patch


 The pretty printer could do a better job with metadata. For example:
 {noformat}
 ...
 Fileinfo:
 BULKLOAD_SOURCE_TASK = attempt_201301272014_0001_r_00_0
 BULKLOAD_TIMESTAMP = \x00\x00\x01\x7FcG\x8E
 DELETE_FAMILY_COUNT = \x00\x00\x00\x00\x00\x00\x00\x00
 EARLIEST_PUT_TS = \x00\x00\x01\x7FcF
 EXCLUDE_FROM_MINOR_COMPACTION = \x00
 KEY_VALUE_VERSION = \x00\x00\x00\x01
 MAJOR_COMPACTION_KEY = \xFF
 MAX_MEMSTORE_TS_KEY = \x00\x00\x00\x00\x00\x00\x00\x00
 TIMERANGE = 13593468698301359346869830
 hfile.AVG_KEY_LEN = 19
 hfile.AVG_VALUE_LEN = 2
 hfile.LASTKEY = \x00\x04row9\x01dc2\x00\x00\x01\x7FcF\x04
 ...
 {noformat}
 May of these fields could be cleaned up to print in human-readable values.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7690) Improve metadata printing in HFilePrettyPrinter

2013-02-22 Thread Nick Dimiduk (JIRA)

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

Nick Dimiduk updated HBASE-7690:


Status: Open  (was: Patch Available)

 Improve metadata printing in HFilePrettyPrinter
 ---

 Key: HBASE-7690
 URL: https://issues.apache.org/jira/browse/HBASE-7690
 Project: HBase
  Issue Type: Improvement
  Components: HFile
Reporter: Nick Dimiduk
Assignee: Nick Dimiduk
Priority: Minor
 Attachments: 0001-HBASE-7690-Improve-printing-of-HFile-metadata.patch


 The pretty printer could do a better job with metadata. For example:
 {noformat}
 ...
 Fileinfo:
 BULKLOAD_SOURCE_TASK = attempt_201301272014_0001_r_00_0
 BULKLOAD_TIMESTAMP = \x00\x00\x01\x7FcG\x8E
 DELETE_FAMILY_COUNT = \x00\x00\x00\x00\x00\x00\x00\x00
 EARLIEST_PUT_TS = \x00\x00\x01\x7FcF
 EXCLUDE_FROM_MINOR_COMPACTION = \x00
 KEY_VALUE_VERSION = \x00\x00\x00\x01
 MAJOR_COMPACTION_KEY = \xFF
 MAX_MEMSTORE_TS_KEY = \x00\x00\x00\x00\x00\x00\x00\x00
 TIMERANGE = 13593468698301359346869830
 hfile.AVG_KEY_LEN = 19
 hfile.AVG_VALUE_LEN = 2
 hfile.LASTKEY = \x00\x04row9\x01dc2\x00\x00\x01\x7FcF\x04
 ...
 {noformat}
 May of these fields could be cleaned up to print in human-readable values.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7690) Improve metadata printing in HFilePrettyPrinter

2013-02-22 Thread Nick Dimiduk (JIRA)

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

Nick Dimiduk updated HBASE-7690:


Attachment: 0001-HBASE-7690-Improve-printing-of-HFile-metadata.patch

Rather than get into the dependency details, this version perpetuates the 
current approach of inlining String constants. Results are the same:

{noformat}
Fileinfo:
BULKLOAD_SOURCE_TASK = attempt_201302221650_0004_r_00_0
BULKLOAD_TIMESTAMP = 1361581034028
DELETE_FAMILY_COUNT = 0
EARLIEST_PUT_TS = 1361581021542
EXCLUDE_FROM_MINOR_COMPACTION = false
KEY_VALUE_VERSION = 1
MAJOR_COMPACTION_KEY = true
MAX_MEMSTORE_TS_KEY = 0
TIMERANGE = 13615810215421361581021542
hfile.AVG_KEY_LEN = 19
hfile.AVG_VALUE_LEN = 2
hfile.LASTKEY = \x00\x04row9\x01ac1\x00\x00\x01=\x04\x8D\x99f\x04
{noformat}

 Improve metadata printing in HFilePrettyPrinter
 ---

 Key: HBASE-7690
 URL: https://issues.apache.org/jira/browse/HBASE-7690
 Project: HBase
  Issue Type: Improvement
  Components: HFile
Reporter: Nick Dimiduk
Assignee: Nick Dimiduk
Priority: Minor
 Attachments: 
 0001-HBASE-7690-Improve-printing-of-HFile-metadata.patch, 
 0001-HBASE-7690-Improve-printing-of-HFile-metadata.patch


 The pretty printer could do a better job with metadata. For example:
 {noformat}
 ...
 Fileinfo:
 BULKLOAD_SOURCE_TASK = attempt_201301272014_0001_r_00_0
 BULKLOAD_TIMESTAMP = \x00\x00\x01\x7FcG\x8E
 DELETE_FAMILY_COUNT = \x00\x00\x00\x00\x00\x00\x00\x00
 EARLIEST_PUT_TS = \x00\x00\x01\x7FcF
 EXCLUDE_FROM_MINOR_COMPACTION = \x00
 KEY_VALUE_VERSION = \x00\x00\x00\x01
 MAJOR_COMPACTION_KEY = \xFF
 MAX_MEMSTORE_TS_KEY = \x00\x00\x00\x00\x00\x00\x00\x00
 TIMERANGE = 13593468698301359346869830
 hfile.AVG_KEY_LEN = 19
 hfile.AVG_VALUE_LEN = 2
 hfile.LASTKEY = \x00\x04row9\x01dc2\x00\x00\x01\x7FcF\x04
 ...
 {noformat}
 May of these fields could be cleaned up to print in human-readable values.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7690) Improve metadata printing in HFilePrettyPrinter

2013-02-22 Thread Nick Dimiduk (JIRA)

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

Nick Dimiduk updated HBASE-7690:


Status: Patch Available  (was: Open)

 Improve metadata printing in HFilePrettyPrinter
 ---

 Key: HBASE-7690
 URL: https://issues.apache.org/jira/browse/HBASE-7690
 Project: HBase
  Issue Type: Improvement
  Components: HFile
Reporter: Nick Dimiduk
Assignee: Nick Dimiduk
Priority: Minor
 Attachments: 
 0001-HBASE-7690-Improve-printing-of-HFile-metadata.patch, 
 0001-HBASE-7690-Improve-printing-of-HFile-metadata.patch


 The pretty printer could do a better job with metadata. For example:
 {noformat}
 ...
 Fileinfo:
 BULKLOAD_SOURCE_TASK = attempt_201301272014_0001_r_00_0
 BULKLOAD_TIMESTAMP = \x00\x00\x01\x7FcG\x8E
 DELETE_FAMILY_COUNT = \x00\x00\x00\x00\x00\x00\x00\x00
 EARLIEST_PUT_TS = \x00\x00\x01\x7FcF
 EXCLUDE_FROM_MINOR_COMPACTION = \x00
 KEY_VALUE_VERSION = \x00\x00\x00\x01
 MAJOR_COMPACTION_KEY = \xFF
 MAX_MEMSTORE_TS_KEY = \x00\x00\x00\x00\x00\x00\x00\x00
 TIMERANGE = 13593468698301359346869830
 hfile.AVG_KEY_LEN = 19
 hfile.AVG_VALUE_LEN = 2
 hfile.LASTKEY = \x00\x04row9\x01dc2\x00\x00\x01\x7FcF\x04
 ...
 {noformat}
 May of these fields could be cleaned up to print in human-readable values.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7690) Improve metadata printing in HFilePrettyPrinter

2013-01-27 Thread Nick Dimiduk (JIRA)

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

Nick Dimiduk updated HBASE-7690:


Description: 
The pretty printer could do a better job with metadata. For example:

{noformat}
...
Fileinfo:
BULKLOAD_SOURCE_TASK = attempt_201301272014_0001_r_00_0
BULKLOAD_TIMESTAMP = \x00\x00\x01\x7FcG\x8E
DELETE_FAMILY_COUNT = \x00\x00\x00\x00\x00\x00\x00\x00
EARLIEST_PUT_TS = \x00\x00\x01\x7FcF
EXCLUDE_FROM_MINOR_COMPACTION = \x00
KEY_VALUE_VERSION = \x00\x00\x00\x01
MAJOR_COMPACTION_KEY = \xFF
MAX_MEMSTORE_TS_KEY = \x00\x00\x00\x00\x00\x00\x00\x00
TIMERANGE = 13593468698301359346869830
hfile.AVG_KEY_LEN = 19
hfile.AVG_VALUE_LEN = 2
hfile.LASTKEY = \x00\x04row9\x01dc2\x00\x00\x01\x7FcF\x04
...
{noformat}

May of these fields could be cleaned up to print in human-readable values.

  was:
The pretty printer could do a better job with metadata. For example:

{pre}
...
Fileinfo:
BULKLOAD_SOURCE_TASK = attempt_201301272014_0001_r_00_0
BULKLOAD_TIMESTAMP = \x00\x00\x01\x7FcG\x8E
DELETE_FAMILY_COUNT = \x00\x00\x00\x00\x00\x00\x00\x00
EARLIEST_PUT_TS = \x00\x00\x01\x7FcF
EXCLUDE_FROM_MINOR_COMPACTION = \x00
KEY_VALUE_VERSION = \x00\x00\x00\x01
MAJOR_COMPACTION_KEY = \xFF
MAX_MEMSTORE_TS_KEY = \x00\x00\x00\x00\x00\x00\x00\x00
TIMERANGE = 13593468698301359346869830
hfile.AVG_KEY_LEN = 19
hfile.AVG_VALUE_LEN = 2
hfile.LASTKEY = \x00\x04row9\x01dc2\x00\x00\x01\x7FcF\x04
...
{pre}

May of these fields could be cleaned up to print in human-readable values.


 Improve metadata printing in HFilePrettyPrinter
 ---

 Key: HBASE-7690
 URL: https://issues.apache.org/jira/browse/HBASE-7690
 Project: HBase
  Issue Type: Improvement
  Components: HFile
Reporter: Nick Dimiduk
Assignee: Nick Dimiduk
Priority: Minor

 The pretty printer could do a better job with metadata. For example:
 {noformat}
 ...
 Fileinfo:
 BULKLOAD_SOURCE_TASK = attempt_201301272014_0001_r_00_0
 BULKLOAD_TIMESTAMP = \x00\x00\x01\x7FcG\x8E
 DELETE_FAMILY_COUNT = \x00\x00\x00\x00\x00\x00\x00\x00
 EARLIEST_PUT_TS = \x00\x00\x01\x7FcF
 EXCLUDE_FROM_MINOR_COMPACTION = \x00
 KEY_VALUE_VERSION = \x00\x00\x00\x01
 MAJOR_COMPACTION_KEY = \xFF
 MAX_MEMSTORE_TS_KEY = \x00\x00\x00\x00\x00\x00\x00\x00
 TIMERANGE = 13593468698301359346869830
 hfile.AVG_KEY_LEN = 19
 hfile.AVG_VALUE_LEN = 2
 hfile.LASTKEY = \x00\x04row9\x01dc2\x00\x00\x01\x7FcF\x04
 ...
 {noformat}
 May of these fields could be cleaned up to print in human-readable values.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7690) Improve metadata printing in HFilePrettyPrinter

2013-01-27 Thread Nick Dimiduk (JIRA)

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

Nick Dimiduk updated HBASE-7690:


Attachment: 0001-HBASE-7690-Improve-printing-of-HFile-metadata.patch

This improves the output a bit:

{noformat}
Fileinfo:
BULKLOAD_SOURCE_TASK = attempt_201301272014_0001_r_00_0
BULKLOAD_TIMESTAMP = 1359346878350
DELETE_FAMILY_COUNT = 0
EARLIEST_PUT_TS = 1359346869830
EXCLUDE_FROM_MINOR_COMPACTION = false
KEY_VALUE_VERSION = 1
MAJOR_COMPACTION_KEY = true
MAX_MEMSTORE_TS_KEY = 0
TIMERANGE = 13593468698301359346869830
hfile.AVG_KEY_LEN = 19
hfile.AVG_VALUE_LEN = 2
hfile.LASTKEY = \x00\x04row9\x01dc2\x00\x00\x01\x7FcF\x04
{noformat}

 Improve metadata printing in HFilePrettyPrinter
 ---

 Key: HBASE-7690
 URL: https://issues.apache.org/jira/browse/HBASE-7690
 Project: HBase
  Issue Type: Improvement
  Components: HFile
Reporter: Nick Dimiduk
Assignee: Nick Dimiduk
Priority: Minor
 Attachments: 0001-HBASE-7690-Improve-printing-of-HFile-metadata.patch


 The pretty printer could do a better job with metadata. For example:
 {noformat}
 ...
 Fileinfo:
 BULKLOAD_SOURCE_TASK = attempt_201301272014_0001_r_00_0
 BULKLOAD_TIMESTAMP = \x00\x00\x01\x7FcG\x8E
 DELETE_FAMILY_COUNT = \x00\x00\x00\x00\x00\x00\x00\x00
 EARLIEST_PUT_TS = \x00\x00\x01\x7FcF
 EXCLUDE_FROM_MINOR_COMPACTION = \x00
 KEY_VALUE_VERSION = \x00\x00\x00\x01
 MAJOR_COMPACTION_KEY = \xFF
 MAX_MEMSTORE_TS_KEY = \x00\x00\x00\x00\x00\x00\x00\x00
 TIMERANGE = 13593468698301359346869830
 hfile.AVG_KEY_LEN = 19
 hfile.AVG_VALUE_LEN = 2
 hfile.LASTKEY = \x00\x04row9\x01dc2\x00\x00\x01\x7FcF\x04
 ...
 {noformat}
 May of these fields could be cleaned up to print in human-readable values.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Updated] (HBASE-7690) Improve metadata printing in HFilePrettyPrinter

2013-01-27 Thread Nick Dimiduk (JIRA)

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

Nick Dimiduk updated HBASE-7690:


Status: Patch Available  (was: Open)

 Improve metadata printing in HFilePrettyPrinter
 ---

 Key: HBASE-7690
 URL: https://issues.apache.org/jira/browse/HBASE-7690
 Project: HBase
  Issue Type: Improvement
  Components: HFile
Reporter: Nick Dimiduk
Assignee: Nick Dimiduk
Priority: Minor
 Attachments: 0001-HBASE-7690-Improve-printing-of-HFile-metadata.patch


 The pretty printer could do a better job with metadata. For example:
 {noformat}
 ...
 Fileinfo:
 BULKLOAD_SOURCE_TASK = attempt_201301272014_0001_r_00_0
 BULKLOAD_TIMESTAMP = \x00\x00\x01\x7FcG\x8E
 DELETE_FAMILY_COUNT = \x00\x00\x00\x00\x00\x00\x00\x00
 EARLIEST_PUT_TS = \x00\x00\x01\x7FcF
 EXCLUDE_FROM_MINOR_COMPACTION = \x00
 KEY_VALUE_VERSION = \x00\x00\x00\x01
 MAJOR_COMPACTION_KEY = \xFF
 MAX_MEMSTORE_TS_KEY = \x00\x00\x00\x00\x00\x00\x00\x00
 TIMERANGE = 13593468698301359346869830
 hfile.AVG_KEY_LEN = 19
 hfile.AVG_VALUE_LEN = 2
 hfile.LASTKEY = \x00\x04row9\x01dc2\x00\x00\x01\x7FcF\x04
 ...
 {noformat}
 May of these fields could be cleaned up to print in human-readable values.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira