You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2011/03/04 00:08:37 UTC

[jira] Created: (HBASE-3598) Broken formatting in LRU stats output

Broken formatting in LRU stats output
-------------------------------------

                 Key: HBASE-3598
                 URL: https://issues.apache.org/jira/browse/HBASE-3598
             Project: HBase
          Issue Type: Bug
    Affects Versions: 0.90.1
            Reporter: Todd Lipcon


I've seen this a few times - the output for LRU stats ends up with some invalid characters in it:

11/03/03 14:36:06 DEBUG hfile.LruBlockCache: LRU Stats: total=1.49 MB, free=180.56 MB, max=182.05 MB, blocks=0, accesses=0, hits=0, hitRatio=�%, cachingAccesses=0, cachingHits=0, cachingHitsRatio=�%, evictions=0, evicted=0, evictedPerRun=NaN

Note the messed up "hitRatio" and "cachingHitsRatio". I can't figure out how to reproduce, though.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (HBASE-3598) Broken formatting in LRU stats output

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

Erik Onnen updated HBASE-3598:
------------------------------

    Fix Version/s: 0.92.0
           Status: Patch Available  (was: Open)

Should fix the logging output but I wonder if other consumers of getHitRatio and getHitCachingRatio won't have the same issue and if those shouldn't also return 0 instead of NaN.

> Broken formatting in LRU stats output
> -------------------------------------
>
>                 Key: HBASE-3598
>                 URL: https://issues.apache.org/jira/browse/HBASE-3598
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.90.1
>            Reporter: Todd Lipcon
>             Fix For: 0.92.0
>
>         Attachments: HBASE-3598.patch
>
>
> I've seen this a few times - the output for LRU stats ends up with some invalid characters in it:
> 11/03/03 14:36:06 DEBUG hfile.LruBlockCache: LRU Stats: total=1.49 MB, free=180.56 MB, max=182.05 MB, blocks=0, accesses=0, hits=0, hitRatio=�%, cachingAccesses=0, cachingHits=0, cachingHitsRatio=�%, evictions=0, evicted=0, evictedPerRun=NaN
> Note the messed up "hitRatio" and "cachingHitsRatio". I can't figure out how to reproduce, though.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HBASE-3598) Broken formatting in LRU stats output

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

Erik Onnen updated HBASE-3598:
------------------------------

    Attachment: HBASE-3598.patch

> Broken formatting in LRU stats output
> -------------------------------------
>
>                 Key: HBASE-3598
>                 URL: https://issues.apache.org/jira/browse/HBASE-3598
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.90.1
>            Reporter: Todd Lipcon
>         Attachments: HBASE-3598.patch
>
>
> I've seen this a few times - the output for LRU stats ends up with some invalid characters in it:
> 11/03/03 14:36:06 DEBUG hfile.LruBlockCache: LRU Stats: total=1.49 MB, free=180.56 MB, max=182.05 MB, blocks=0, accesses=0, hits=0, hitRatio=�%, cachingAccesses=0, cachingHits=0, cachingHitsRatio=�%, evictions=0, evicted=0, evictedPerRun=NaN
> Note the messed up "hitRatio" and "cachingHitsRatio". I can't figure out how to reproduce, though.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (HBASE-3598) Broken formatting in LRU stats output

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

Todd Lipcon commented on HBASE-3598:
------------------------------------

Oh, appears to be when trying to format NaN as a percentage.

> Broken formatting in LRU stats output
> -------------------------------------
>
>                 Key: HBASE-3598
>                 URL: https://issues.apache.org/jira/browse/HBASE-3598
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.90.1
>            Reporter: Todd Lipcon
>
> I've seen this a few times - the output for LRU stats ends up with some invalid characters in it:
> 11/03/03 14:36:06 DEBUG hfile.LruBlockCache: LRU Stats: total=1.49 MB, free=180.56 MB, max=182.05 MB, blocks=0, accesses=0, hits=0, hitRatio=�%, cachingAccesses=0, cachingHits=0, cachingHitsRatio=�%, evictions=0, evicted=0, evictedPerRun=NaN
> Note the messed up "hitRatio" and "cachingHitsRatio". I can't figure out how to reproduce, though.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (HBASE-3598) Broken formatting in LRU stats output

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

Hudson commented on HBASE-3598:
-------------------------------

Integrated in HBase-TRUNK #1858 (See [https://hudson.apache.org/hudson/job/HBase-TRUNK/1858/])
    

> Broken formatting in LRU stats output
> -------------------------------------
>
>                 Key: HBASE-3598
>                 URL: https://issues.apache.org/jira/browse/HBASE-3598
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.90.1
>            Reporter: Todd Lipcon
>            Assignee: Erik Onnen
>             Fix For: 0.92.0
>
>         Attachments: HBASE-3598.patch
>
>
> I've seen this a few times - the output for LRU stats ends up with some invalid characters in it:
> 11/03/03 14:36:06 DEBUG hfile.LruBlockCache: LRU Stats: total=1.49 MB, free=180.56 MB, max=182.05 MB, blocks=0, accesses=0, hits=0, hitRatio=�%, cachingAccesses=0, cachingHits=0, cachingHitsRatio=�%, evictions=0, evicted=0, evictedPerRun=NaN
> Note the messed up "hitRatio" and "cachingHitsRatio". I can't figure out how to reproduce, though.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (HBASE-3598) Broken formatting in LRU stats output

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

stack updated HBASE-3598:
-------------------------

      Resolution: Fixed
        Assignee: Erik Onnen
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

Applied to TRUNK. Thanks for patch Erik.  For other consumers of NaN in the system, lets open new issues for them as we turn the up.

> Broken formatting in LRU stats output
> -------------------------------------
>
>                 Key: HBASE-3598
>                 URL: https://issues.apache.org/jira/browse/HBASE-3598
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.90.1
>            Reporter: Todd Lipcon
>            Assignee: Erik Onnen
>             Fix For: 0.92.0
>
>         Attachments: HBASE-3598.patch
>
>
> I've seen this a few times - the output for LRU stats ends up with some invalid characters in it:
> 11/03/03 14:36:06 DEBUG hfile.LruBlockCache: LRU Stats: total=1.49 MB, free=180.56 MB, max=182.05 MB, blocks=0, accesses=0, hits=0, hitRatio=�%, cachingAccesses=0, cachingHits=0, cachingHitsRatio=�%, evictions=0, evicted=0, evictedPerRun=NaN
> Note the messed up "hitRatio" and "cachingHitsRatio". I can't figure out how to reproduce, though.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira