Thanks for your. We have 4 Fedora boxes running this Hadoop 0.19.0 and
HBase, they are all EC2 boxes.

We tried to do this on them:

append "- - nofile 32768"to /etc/security/limits.conf
append "fs.file-max=200000" to /etc/sysctl.conf

run "sysctl -p" to apply changes. We restarted HBase and Hadoop after
applying this.

But it again ran to the same error after 4 hours or so.

Regards,
Yan

2009/2/23 Amandeep Khurana <[email protected]>

> I've been dealing with this myself over the last few days. Its got to do
> with the number of open files that hdfs can take. What is your cluster
> config?
>
>
>
>
> Amandeep Khurana
> Computer Science Graduate Student
> University of California, Santa Cruz
>
>
> On Sun, Feb 22, 2009 at 10:31 PM, Liu Yan <[email protected]> wrote:
>
> > hi,
> > When we run the java client to add data to hbase,
> > from the beginnng we can add the data to hbase. But running for some
> times,
> > when the client tries to add a record to hbase, it shows the exception:
> >
> > org.apache.hadoop.hbase.client.RetriesExhaustedException: Trying to
> contact
> > re
> > gion server Some server for region , row '176207513941646000', but failed
> > after
> > 11 attempts.
> > Exceptions:
> > java.io.IOException: HRegionInfo was null or empty in .META.
> > java.io.IOException: HRegionInfo was null or empty in .META.
> > java.io.IOException: HRegionInfo was null or empty in .META.
> > java.io.IOException: HRegionInfo was null or empty in .META.
> > java.io.IOException: HRegionInfo was null or empty in .META.
> > java.io.IOException: HRegionInfo was null or empty in .META.
> > java.io.IOException: HRegionInfo was null or empty in .META.
> > java.io.IOException: HRegionInfo was null or empty in .META.
> > java.io.IOException: HRegionInfo was null or empty in .META.
> > java.io.IOException: HRegionInfo was null or empty in .META.
> >
> >        at
> > org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getReg
> > ionLocationForRowWithRetries(HConnectionManager.java:900)
> >        at
> > org.apache.hadoop.hbase.client.HConnectionManager$TableServers.proces
> > sBatchOfRows(HConnectionManager.java:915)
> >        at
> > org.apache.hadoop.hbase.client.HTable.flushCommits(HTable.java:1372)
> >        at org.apache.hadoop.hbase.client.HTable.commit(HTable.java:1316)
> >        at org.apache.hadoop.hbase.client.HTable.commit(HTable.java:1296)
> >
> > Could anybody help me out of this?
> >
> > Regards,
> > Yan
> >
>

Reply via email to