hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Daniel Cryans <jdcry...@apache.org>
Subject Re: Error while running several MapReduce jobs
Date Mon, 17 Oct 2011 17:54:11 GMT
It says the connection was already closed, anything else before those lines
in the log?

J-D

On Mon, Oct 17, 2011 at 10:21 AM, JohnJohnGa <JohnJohnGa@gmail.com> wrote:

> I run HBase standalone mode (hbase-0.90.4 (stable)).
> When I launch in a loop several MapReduce Job and then I try to put
> something in
> another table, I have this exception:
>
> java.lang.RuntimeException: java.io.IOException:
> org.apache.hadoop.hbase.client.
> HConnectionManager$HConnectionImpleme
> ntation@1fe1feb
> closed
>        at
> org.apache.hadoop.hbase.client.
> HTableFactory.createHTableInterface(
> HTableFactory.java:38)
>        at org.apache.hadoop.hbase.client.
>
> HTablePool.createHTable(HTablePool.java:133)
>        at org.apache.hadoop.hbase.client.
> HTablePool.getTable(HTablePool.java:89)
>        at temapred.jobs.
> wordcountperhour.Starter.runMe(Starter.java:103)
>        at temapred.jobs.
> starter.Starter.main(Starter.java:42)
> Caused by: java.io.IOException:
> org.apache.hadoop.hbase.client.
> HConnectionManager$HConnectionImplementa
> tion@1fe1feb
> closed
>        at
> org.apache.hadoop.hbase.client.
> HConnectionManager$HConnectionImplementation.
> locateRegion(HConnectionManager.java:571)
>        at
> org.apache.hadoop.hbase.client.
> HConnectionManager$HConnectionImplementation.
> locateRegion(HConnectionManager.java:559)
>        at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:173)
>        at
> org.apache.hadoop.hbase.client.HTableFactory
> .createHTableInterface
> (HTableFactory.java:36)
>        ... 4 more
>
> I think I need to close the table, BUT as I use:
> TableMapReduceUtil.initTableMapperJob(
>                                        tableName,
>                                        tableScanner,
>                                        mapperClassName,
>                                        outputKey,
>                                        outputValue,
>                                        thisJob);
>
>                        TableMapReduceUtil.initTableReducerJob(
>                                        tableReducer,
>                                        reducerClassName,
>                                        thisJob);
>
> I don't have any 'Table' Object...
> Any Idea?
> Thanks,
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message