hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-6853) IllegalArgument Exception is thrown when an empty region is spliitted.
Date Sat, 29 Sep 2012 11:20:11 GMT

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

Hudson commented on HBASE-6853:
-------------------------------

Integrated in HBase-TRUNK-on-Hadoop-2.0.0 #199 (See [https://builds.apache.org/job/HBase-TRUNK-on-Hadoop-2.0.0/199/])
    HBASE-6853 IllegalArgument Exception is thrown when an empty region is spliitted(Priya)
(Revision 1391759)

     Result = FAILURE
ramkrishna : 
Files : 
* /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/SplitTransaction.java
* /hbase/trunk/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestSplitTransactionOnCluster.java

                
> IllegalArgument Exception is thrown when an empty region is spliitted.
> ----------------------------------------------------------------------
>
>                 Key: HBASE-6853
>                 URL: https://issues.apache.org/jira/browse/HBASE-6853
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.1, 0.94.1
>            Reporter: ramkrishna.s.vasudevan
>            Assignee: Priyadarshini
>         Attachments: HBASE-6853_2_splitsuccess.patch, HBASE-6853.patch, HBASE-6853_splitfailure.patch
>
>
> This is w.r.t a mail sent in the dev mail list.
> Empty region split should be handled gracefully.  Either we should not allow the split
to happen if we know that the region is empty or we should allow the split to happen by setting
the no of threads to the thread pool executor as 1.
> {code}
> int nbFiles = hstoreFilesToSplit.size();
> ThreadFactoryBuilder builder = new ThreadFactoryBuilder();
>     builder.setNameFormat("StoreFileSplitter-%1$d");
>     ThreadFactory factory = builder.build();
>     ThreadPoolExecutor threadPool =
>       (ThreadPoolExecutor) Executors.newFixedThreadPool(nbFiles, factory);
>     List<Future<Void>> futures = new ArrayList<Future<Void>>(nbFiles);
> {code}
> Here the nbFiles needs to be a non zero positive value.
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message