hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10255) Remove dependency on LimitInputStream
Date Thu, 02 Jan 2014 18:35:57 GMT

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

Ted Yu commented on HBASE-10255:

Should have provided more background on the perf test:
This was done on a 5-RS cluster where hadoop 2.2 was deployed.

Here was the command line used for both tests:

bin/hbase org.apache.hadoop.hbase.regionserver.wal.HLogPerformanceEvaluation -path hdfs://hor12n22.gq1.ygridcore.net:8020/tmp
-threads 10 -roll 1000 -verify

I obtained the first stat using 0.96
Then I switched jars recompiled with patch v2 and obtained the second set of numbers.

> Remove dependency on LimitInputStream
> -------------------------------------
>                 Key: HBASE-10255
>                 URL: https://issues.apache.org/jira/browse/HBASE-10255
>             Project: HBase
>          Issue Type: Task
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>             Fix For: 0.98.0, 0.99.0
>         Attachments: 10255-v1.txt, 10255-v2.txt, alternate_lis.txt
> LimitInputStream has always been a @Beta API and beta apis aren't guaranteed to remain
stable over such a long period (v12 to v15).
> LimitInputStream was copied from Guava v12
> The recommended replacement is to use ByteStreams#limit(java.io.InputStream, long) instead.

This message was sent by Atlassian JIRA

View raw message