hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Purtell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HBASE-1192) LRU-style map for the block cache
Date Thu, 26 Mar 2009 02:10:51 GMT

    [ https://issues.apache.org/jira/browse/HBASE-1192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12689333#action_12689333
] 

Andrew Purtell commented on HBASE-1192:
---------------------------------------

This is what I get when I try to apply and compile the v3 patch:
\\
\\
{code}
    [javac] /usr/src/Hadoop/hbase-trunk/src/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java:210:
cannot find symbol
    [javac] symbol  : variable blockNum
    [javac] location: class org.apache.hadoop.hbase.io.hfile.LruBlockCache
    [javac]     put(blockNum,buf);
    [javac]         ^
    [javac] /usr/src/Hadoop/hbase-trunk/src/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java:1140:
cannot find symbol
    [javac] symbol  : variable STRING
    [javac] location: interface org.apache.hadoop.hbase.io.HeapSize
    [javac]       return HeapSize.STRING + alignSize(s.length()*2);
    [javac]                      ^
    [javac] /usr/src/Hadoop/hbase-trunk/src/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java:1140:
incompatible types
    [javac] found   : <nulltype>
    [javac] required: long
    [javac]       return HeapSize.STRING + alignSize(s.length()*2);
    [javac]                              ^
    [javac] /usr/src/Hadoop/hbase-trunk/src/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java:1148:
cannot find symbol
    [javac] symbol  : variable BYTEBUFFER
    [javac] location: interface org.apache.hadoop.hbase.io.HeapSize
    [javac]       return HeapSize.BYTEBUFFER + alignSize(b.capacity());
    [javac]                      ^
    [javac] /usr/src/Hadoop/hbase-trunk/src/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java:1148:
incompatible types
    [javac] found   : <nulltype>
    [javac] required: long
    [javac]       return HeapSize.BYTEBUFFER + alignSize(b.capacity());
    [javac]                                  ^
    [javac] 5 errors
{code}

> LRU-style map for the block cache
> ---------------------------------
>
>                 Key: HBASE-1192
>                 URL: https://issues.apache.org/jira/browse/HBASE-1192
>             Project: Hadoop HBase
>          Issue Type: New Feature
>          Components: regionserver
>            Reporter: Jonathan Gray
>            Assignee: Jonathan Gray
>            Priority: Blocker
>             Fix For: 0.20.0
>
>         Attachments: hbase-1192-v1.patch, hbase-1192-v2.patch, hbase-1192-v3.patch
>
>
> We need to decide what structure to use to back the block cache.  The primary decision
is whether to continue using SoftReferences or to build our own structure.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message