hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (HBASE-680) config parameter hbase.io.index.interval should be hbase.index.interval, accroding to HBaseMapFile.HbaseWriter
Date Thu, 12 Jun 2008 17:00:45 GMT

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

stack resolved HBASE-680.
-------------------------

       Resolution: Fixed
    Fix Version/s: 0.2.0

Committed below:

{code}
Index: src/java/org/apache/hadoop/hbase/regionserver/HStoreFile.java
===================================================================
--- src/java/org/apache/hadoop/hbase/regionserver/HStoreFile.java       (revision 667158)
+++ src/java/org/apache/hadoop/hbase/regionserver/HStoreFile.java       (working copy)
@@ -707,7 +707,7 @@
         // Default for mapfiles is 128.  Makes random reads faster if we
         // have more keys indexed and we're not 'next'-ing around in the
         // mapfile.
-        setIndexInterval(conf.getInt("hbase.index.interval", 128));
+        setIndexInterval(conf.getInt("hbase.io.index.interval", 128));
       }
     } 
   } 
{code}

Thanks for reporting issue LN

> config parameter hbase.io.index.interval  should be hbase.index.interval, accroding to
HBaseMapFile.HbaseWriter
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-680
>                 URL: https://issues.apache.org/jira/browse/HBASE-680
>             Project: Hadoop HBase
>          Issue Type: Bug
>          Components: regionserver
>    Affects Versions: 0.1.2
>         Environment: it's a mistack in source code or default configuration fail.
>            Reporter: LN
>            Priority: Minor
>             Fix For: 0.2.0
>
>
> in conf/hbase-default.xml and FAQ, there has a  performance tuning parameter "hbase.io.index.interval",
but can't find any usage in sources. instead, HStoreFile.java #585 using "hbase.index.interval"
to set mapfile index interval (setIndexInterval). so i think  HStoreFile.java mistyped the
parameter name.
> this mistake will make users thinkgs "hbase.io.index.interval" useless. 

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