You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Himanshu Vashishtha (Created) (JIRA)" <ji...@apache.org> on 2012/02/28 18:09:46 UTC

[jira] [Created] (HBASE-5486) Warn message in HTable: Stringify the byte[]

Warn message in HTable: Stringify the byte[]
--------------------------------------------

                 Key: HBASE-5486
                 URL: https://issues.apache.org/jira/browse/HBASE-5486
             Project: HBase
          Issue Type: Bug
          Components: client
            Reporter: Himanshu Vashishtha
            Priority: Trivial


The warn message in the method getStartEndKeys() in HTable can be improved by stringifying the byte array for Regions.Qualifier

Currently, a sample message is like :
12/01/17 16:36:34 WARN client.HTable: Null [B@552c8fa8 cell in keyvalues={test5,\xC9\xA2\x00\x00\x00\x00\x00\x00/000000_0,1326642537734.dbc62b2765529a9ad2ddcf8eb58cb2dc./info:server/1326750341579/Put/vlen=28, test5,\xC9\xA2\x00\x00\x00\x00\x00\x00/000000_0,1326642537734.dbc62b2765529a9ad2ddcf8eb58cb2dc./info:serverstartcode/1326750341579/Put/vlen=8}



--
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] (HBASE-5486) Warn message in HTable: Stringify the byte[]

Posted by "stack (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218489#comment-13218489 ] 

stack commented on HBASE-5486:
------------------------------

Hmm.. shouldn't this toString be a static itself in HConstants rather than make it each time?  Want to have another go at it Himanshu?  Thanks.
                
> Warn message in HTable: Stringify the byte[]
> --------------------------------------------
>
>                 Key: HBASE-5486
>                 URL: https://issues.apache.org/jira/browse/HBASE-5486
>             Project: HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.92.0
>            Reporter: Himanshu Vashishtha
>            Assignee: Himanshu Vashishtha
>            Priority: Trivial
>              Labels: noob
>         Attachments: 5486.patch
>
>
> The warn message in the method getStartEndKeys() in HTable can be improved by stringifying the byte array for Regions.Qualifier
> Currently, a sample message is like :
> 12/01/17 16:36:34 WARN client.HTable: Null [B@552c8fa8 cell in keyvalues={test5,\xC9\xA2\x00\x00\x00\x00\x00\x00/000000_0,1326642537734.dbc62b2765529a9ad2ddcf8eb58cb2dc./info:server/1326750341579/Put/vlen=28, test5,\xC9\xA2\x00\x00\x00\x00\x00\x00/000000_0,1326642537734.dbc62b2765529a9ad2ddcf8eb58cb2dc./info:serverstartcode/1326750341579/Put/vlen=8}

--
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] [Updated] (HBASE-5486) Warn message in HTable: Stringify the byte[]

Posted by "Himanshu Vashishtha (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Himanshu Vashishtha updated HBASE-5486:
---------------------------------------

    Attachment: 5486-v2.patch

Changes incorporated as per Stack's comments
                
> Warn message in HTable: Stringify the byte[]
> --------------------------------------------
>
>                 Key: HBASE-5486
>                 URL: https://issues.apache.org/jira/browse/HBASE-5486
>             Project: HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.92.0
>            Reporter: Himanshu Vashishtha
>            Assignee: Himanshu Vashishtha
>            Priority: Trivial
>              Labels: noob
>         Attachments: 5486-v2.patch, 5486.patch
>
>
> The warn message in the method getStartEndKeys() in HTable can be improved by stringifying the byte array for Regions.Qualifier
> Currently, a sample message is like :
> 12/01/17 16:36:34 WARN client.HTable: Null [B@552c8fa8 cell in keyvalues={test5,\xC9\xA2\x00\x00\x00\x00\x00\x00/000000_0,1326642537734.dbc62b2765529a9ad2ddcf8eb58cb2dc./info:server/1326750341579/Put/vlen=28, test5,\xC9\xA2\x00\x00\x00\x00\x00\x00/000000_0,1326642537734.dbc62b2765529a9ad2ddcf8eb58cb2dc./info:serverstartcode/1326750341579/Put/vlen=8}

--
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] [Updated] (HBASE-5486) Warn message in HTable: Stringify the byte[]

Posted by "Himanshu Vashishtha (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Himanshu Vashishtha updated HBASE-5486:
---------------------------------------

    Attachment: 5486.patch
    
> Warn message in HTable: Stringify the byte[]
> --------------------------------------------
>
>                 Key: HBASE-5486
>                 URL: https://issues.apache.org/jira/browse/HBASE-5486
>             Project: HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.92.0
>            Reporter: Himanshu Vashishtha
>            Assignee: Himanshu Vashishtha
>            Priority: Trivial
>              Labels: noob
>         Attachments: 5486.patch
>
>
> The warn message in the method getStartEndKeys() in HTable can be improved by stringifying the byte array for Regions.Qualifier
> Currently, a sample message is like :
> 12/01/17 16:36:34 WARN client.HTable: Null [B@552c8fa8 cell in keyvalues={test5,\xC9\xA2\x00\x00\x00\x00\x00\x00/000000_0,1326642537734.dbc62b2765529a9ad2ddcf8eb58cb2dc./info:server/1326750341579/Put/vlen=28, test5,\xC9\xA2\x00\x00\x00\x00\x00\x00/000000_0,1326642537734.dbc62b2765529a9ad2ddcf8eb58cb2dc./info:serverstartcode/1326750341579/Put/vlen=8}

--
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] [Updated] (HBASE-5486) Warn message in HTable: Stringify the byte[]

Posted by "Himanshu Vashishtha (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Himanshu Vashishtha updated HBASE-5486:
---------------------------------------

    Status: Open  (was: Patch Available)

attaching a new version
                
> Warn message in HTable: Stringify the byte[]
> --------------------------------------------
>
>                 Key: HBASE-5486
>                 URL: https://issues.apache.org/jira/browse/HBASE-5486
>             Project: HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.92.0
>            Reporter: Himanshu Vashishtha
>            Assignee: Himanshu Vashishtha
>            Priority: Trivial
>              Labels: noob
>         Attachments: 5486.patch
>
>
> The warn message in the method getStartEndKeys() in HTable can be improved by stringifying the byte array for Regions.Qualifier
> Currently, a sample message is like :
> 12/01/17 16:36:34 WARN client.HTable: Null [B@552c8fa8 cell in keyvalues={test5,\xC9\xA2\x00\x00\x00\x00\x00\x00/000000_0,1326642537734.dbc62b2765529a9ad2ddcf8eb58cb2dc./info:server/1326750341579/Put/vlen=28, test5,\xC9\xA2\x00\x00\x00\x00\x00\x00/000000_0,1326642537734.dbc62b2765529a9ad2ddcf8eb58cb2dc./info:serverstartcode/1326750341579/Put/vlen=8}

--
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] (HBASE-5486) Warn message in HTable: Stringify the byte[]

Posted by "stack (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218484#comment-13218484 ] 

stack commented on HBASE-5486:
------------------------------

Himanshu The patch build failed because you need to use --no-prefix on the git patches you attach here.  Do that the next time.  Let me commit this.
                
> Warn message in HTable: Stringify the byte[]
> --------------------------------------------
>
>                 Key: HBASE-5486
>                 URL: https://issues.apache.org/jira/browse/HBASE-5486
>             Project: HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.92.0
>            Reporter: Himanshu Vashishtha
>            Assignee: Himanshu Vashishtha
>            Priority: Trivial
>              Labels: noob
>         Attachments: 5486.patch
>
>
> The warn message in the method getStartEndKeys() in HTable can be improved by stringifying the byte array for Regions.Qualifier
> Currently, a sample message is like :
> 12/01/17 16:36:34 WARN client.HTable: Null [B@552c8fa8 cell in keyvalues={test5,\xC9\xA2\x00\x00\x00\x00\x00\x00/000000_0,1326642537734.dbc62b2765529a9ad2ddcf8eb58cb2dc./info:server/1326750341579/Put/vlen=28, test5,\xC9\xA2\x00\x00\x00\x00\x00\x00/000000_0,1326642537734.dbc62b2765529a9ad2ddcf8eb58cb2dc./info:serverstartcode/1326750341579/Put/vlen=8}

--
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] (HBASE-5486) Warn message in HTable: Stringify the byte[]

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13222868#comment-13222868 ] 

Hudson commented on HBASE-5486:
-------------------------------

Integrated in HBase-TRUNK #2672 (See [https://builds.apache.org/job/HBase-TRUNK/2672/])
    HBASE-5486 Warn message in HTable: Stringify the byte[] (Revision 1296478)

     Result = SUCCESS
stack : 
Files : 
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/HConstants.java
* /hbase/trunk/src/main/java/org/apache/hadoop/hbase/client/HTable.java

                
> Warn message in HTable: Stringify the byte[]
> --------------------------------------------
>
>                 Key: HBASE-5486
>                 URL: https://issues.apache.org/jira/browse/HBASE-5486
>             Project: HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.92.0
>            Reporter: Himanshu Vashishtha
>            Assignee: Himanshu Vashishtha
>            Priority: Trivial
>              Labels: noob
>             Fix For: 0.96.0
>
>         Attachments: 5486-v2.patch, 5486.patch
>
>
> The warn message in the method getStartEndKeys() in HTable can be improved by stringifying the byte array for Regions.Qualifier
> Currently, a sample message is like :
> 12/01/17 16:36:34 WARN client.HTable: Null [B@552c8fa8 cell in keyvalues={test5,\xC9\xA2\x00\x00\x00\x00\x00\x00/000000_0,1326642537734.dbc62b2765529a9ad2ddcf8eb58cb2dc./info:server/1326750341579/Put/vlen=28, test5,\xC9\xA2\x00\x00\x00\x00\x00\x00/000000_0,1326642537734.dbc62b2765529a9ad2ddcf8eb58cb2dc./info:serverstartcode/1326750341579/Put/vlen=8}

--
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] (HBASE-5486) Warn message in HTable: Stringify the byte[]

Posted by "Hadoop QA (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218358#comment-13218358 ] 

Hadoop QA commented on HBASE-5486:
----------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12516355/5486.patch
  against trunk revision .

    +1 @author.  The patch does not contain any @author tags.

    -1 tests included.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-HBASE-Build/1058//console

This message is automatically generated.
                
> Warn message in HTable: Stringify the byte[]
> --------------------------------------------
>
>                 Key: HBASE-5486
>                 URL: https://issues.apache.org/jira/browse/HBASE-5486
>             Project: HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.92.0
>            Reporter: Himanshu Vashishtha
>            Assignee: Himanshu Vashishtha
>            Priority: Trivial
>              Labels: noob
>         Attachments: 5486.patch
>
>
> The warn message in the method getStartEndKeys() in HTable can be improved by stringifying the byte array for Regions.Qualifier
> Currently, a sample message is like :
> 12/01/17 16:36:34 WARN client.HTable: Null [B@552c8fa8 cell in keyvalues={test5,\xC9\xA2\x00\x00\x00\x00\x00\x00/000000_0,1326642537734.dbc62b2765529a9ad2ddcf8eb58cb2dc./info:server/1326750341579/Put/vlen=28, test5,\xC9\xA2\x00\x00\x00\x00\x00\x00/000000_0,1326642537734.dbc62b2765529a9ad2ddcf8eb58cb2dc./info:serverstartcode/1326750341579/Put/vlen=8}

--
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] [Updated] (HBASE-5486) Warn message in HTable: Stringify the byte[]

Posted by "Himanshu Vashishtha (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Himanshu Vashishtha updated HBASE-5486:
---------------------------------------

             Assignee: Himanshu Vashishtha
    Affects Version/s: 0.92.0
               Status: Patch Available  (was: Open)
    
> Warn message in HTable: Stringify the byte[]
> --------------------------------------------
>
>                 Key: HBASE-5486
>                 URL: https://issues.apache.org/jira/browse/HBASE-5486
>             Project: HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.92.0
>            Reporter: Himanshu Vashishtha
>            Assignee: Himanshu Vashishtha
>            Priority: Trivial
>              Labels: noob
>         Attachments: 5486.patch
>
>
> The warn message in the method getStartEndKeys() in HTable can be improved by stringifying the byte array for Regions.Qualifier
> Currently, a sample message is like :
> 12/01/17 16:36:34 WARN client.HTable: Null [B@552c8fa8 cell in keyvalues={test5,\xC9\xA2\x00\x00\x00\x00\x00\x00/000000_0,1326642537734.dbc62b2765529a9ad2ddcf8eb58cb2dc./info:server/1326750341579/Put/vlen=28, test5,\xC9\xA2\x00\x00\x00\x00\x00\x00/000000_0,1326642537734.dbc62b2765529a9ad2ddcf8eb58cb2dc./info:serverstartcode/1326750341579/Put/vlen=8}

--
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] (HBASE-5486) Warn message in HTable: Stringify the byte[]

Posted by "stack (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HBASE-5486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-5486.
--------------------------

       Resolution: Fixed
    Fix Version/s: 0.96.0
     Hadoop Flags: Reviewed

Committed to trunk.  Thanks for the patch Himanshu.
                
> Warn message in HTable: Stringify the byte[]
> --------------------------------------------
>
>                 Key: HBASE-5486
>                 URL: https://issues.apache.org/jira/browse/HBASE-5486
>             Project: HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.92.0
>            Reporter: Himanshu Vashishtha
>            Assignee: Himanshu Vashishtha
>            Priority: Trivial
>              Labels: noob
>             Fix For: 0.96.0
>
>         Attachments: 5486-v2.patch, 5486.patch
>
>
> The warn message in the method getStartEndKeys() in HTable can be improved by stringifying the byte array for Regions.Qualifier
> Currently, a sample message is like :
> 12/01/17 16:36:34 WARN client.HTable: Null [B@552c8fa8 cell in keyvalues={test5,\xC9\xA2\x00\x00\x00\x00\x00\x00/000000_0,1326642537734.dbc62b2765529a9ad2ddcf8eb58cb2dc./info:server/1326750341579/Put/vlen=28, test5,\xC9\xA2\x00\x00\x00\x00\x00\x00/000000_0,1326642537734.dbc62b2765529a9ad2ddcf8eb58cb2dc./info:serverstartcode/1326750341579/Put/vlen=8}

--
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] (HBASE-5486) Warn message in HTable: Stringify the byte[]

Posted by "Himanshu Vashishtha (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HBASE-5486?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13218361#comment-13218361 ] 

Himanshu Vashishtha commented on HBASE-5486:
--------------------------------------------

This is converting a static byte array into a String, I don't think testing will add anything. Please let me know if you have other thoughts.

                
> Warn message in HTable: Stringify the byte[]
> --------------------------------------------
>
>                 Key: HBASE-5486
>                 URL: https://issues.apache.org/jira/browse/HBASE-5486
>             Project: HBase
>          Issue Type: Bug
>          Components: client
>    Affects Versions: 0.92.0
>            Reporter: Himanshu Vashishtha
>            Assignee: Himanshu Vashishtha
>            Priority: Trivial
>              Labels: noob
>         Attachments: 5486.patch
>
>
> The warn message in the method getStartEndKeys() in HTable can be improved by stringifying the byte array for Regions.Qualifier
> Currently, a sample message is like :
> 12/01/17 16:36:34 WARN client.HTable: Null [B@552c8fa8 cell in keyvalues={test5,\xC9\xA2\x00\x00\x00\x00\x00\x00/000000_0,1326642537734.dbc62b2765529a9ad2ddcf8eb58cb2dc./info:server/1326750341579/Put/vlen=28, test5,\xC9\xA2\x00\x00\x00\x00\x00\x00/000000_0,1326642537734.dbc62b2765529a9ad2ddcf8eb58cb2dc./info:serverstartcode/1326750341579/Put/vlen=8}

--
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