|
|
-
Out of memory error in Hbase
Prakrati Agrawal 2012-06-28, 08:10
Hi,
I am getting heap space error while running Hbase on certain nodes of my cluster. I can't increase the Heapspace allocated to Hbase, is there some way in which I can prevent this from happening?
The following is the log:
serverName=server1,60020,1340693606454, load=(requests=4, regions=18, usedHeap=1972, maxHeap=1993): OutOfMemoryError, aborting
java.lang.OutOfMemoryError: Java heap space
at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:57)
at java.nio.ByteBuffer.allocate(ByteBuffer.java:329)
at org.apache.hadoop.hbase.ipc.ByteBufferOutputStream.<init>(ByteBufferOutputStream.java:44)
at org.apache.hadoop.hbase.ipc.ByteBufferOutputStream.<init>(ByteBufferOutputStream.java:37)
at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1064)
Please help me
Thanks and Regards Prakrati Agrawal | Developer - Big Data(I&D)| 9731648376 | www.mu-sigma.com ________________________________ This email message may contain proprietary, private and confidential information. The information transmitted is intended only for the person(s) or entities to which it is addressed. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited and may be illegal. If you received this in error, please contact the sender and delete the message from your system.
Mu Sigma takes all reasonable steps to ensure that its electronic communications are free from viruses. However, given Internet accessibility, the Company cannot accept liability for any virus introduced by this e-mail or any attachment and you are advised to use up-to-date virus checking software.
-
Re: Out of memory error in Hbase
Asaf Mesika 2012-06-28, 16:55
How Manu puts object are sending to the server? Maybe you should decrease this amount?
Sent from my iPad
On 28 ביונ 2012, at 11:13, Prakrati Agrawal <[EMAIL PROTECTED]> wrote:
> Hi, > > > > I am getting heap space error while running Hbase on certain nodes of my cluster. I can't increase the Heapspace allocated to Hbase, is there some way in which I can prevent this from happening? > > > > The following is the log: > > > > serverName=server1,60020,1340693606454, load=(requests=4, regions=18, usedHeap=1972, maxHeap=1993): OutOfMemoryError, aborting > > java.lang.OutOfMemoryError: Java heap space > > at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:57) > > at java.nio.ByteBuffer.allocate(ByteBuffer.java:329) > > at org.apache.hadoop.hbase.ipc.ByteBufferOutputStream.<init>(ByteBufferOutputStream.java:44) > > at org.apache.hadoop.hbase.ipc.ByteBufferOutputStream.<init>(ByteBufferOutputStream.java:37) > > at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1064) > > > > Please help me > > Thanks and Regards > Prakrati Agrawal | Developer - Big Data(I&D)| 9731648376 | www.mu-sigma.com > > > ________________________________ > This email message may contain proprietary, private and confidential information. The information transmitted is intended only for the person(s) or entities to which it is addressed. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited and may be illegal. If you received this in error, please contact the sender and delete the message from your system. > > Mu Sigma takes all reasonable steps to ensure that its electronic communications are free from viruses. However, given Internet accessibility, the Company cannot accept liability for any virus introduced by this e-mail or any attachment and you are advised to use up-to-date virus checking software.
-
Re: Out of memory error in Hbase
Stack 2012-06-28, 21:53
On Thu, Jun 28, 2012 at 1:10 AM, Prakrati Agrawal <[EMAIL PROTECTED]> wrote: > serverName=server1,60020,1340693606454, load=(requests=4, regions=18, usedHeap=1972, maxHeap=1993): OutOfMemoryError, aborting >
You've given it 2Gs of heap and you only have 18 regions? It should work. What kind of a loading are you putting on it? Big objects? You have HBase configured to use lots of handlers?
St.Ack
-
Re: Out of memory error in Hbase
Stack 2012-06-28, 21:55
On Thu, Jun 28, 2012 at 1:10 AM, Prakrati Agrawal <[EMAIL PROTECTED]> wrote: > Please help me >
Please help us by telling us what version of hbase? St.Ack
-
RE: Out of memory error in Hbase
Prakrati Agrawal 2012-07-03, 10:03
Hi
I am using HBase 0.90.6 - cdh3u4. I am inserting data into the HBase table almost every second using my Java code. After running the program for 3-4 days, I am getting heap space error while running Hbase on certain nodes of my cluster. I have allocated 2G as the heapspace of Hbase. I can't increase the Heapspace allocated to Hbase, is there some way in which I can prevent this from happening programmatically or through any particular configuration?
The following is the log:
serverName=server1,60020,1340693606454, load=(requests=4, regions=18, usedHeap=1972, maxHeap=1993): OutOfMemoryError, aborting java.lang.OutOfMemoryError: Java heap space at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:57) at java.nio.ByteBuffer.allocate(ByteBuffer.java:329) at org.apache.hadoop.hbase.ipc.ByteBufferOutputStream.<init>(ByteBufferOutputStream.java:44) at org.apache.hadoop.hbase.ipc.ByteBufferOutputStream.<init>(ByteBufferOutputStream.java:37) at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1064)
Thanks Prakrati
-----Original Message----- From: Asaf Mesika [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 28, 2012 10:26 PM To: [EMAIL PROTECTED] Subject: Re: Out of memory error in Hbase
How Manu puts object are sending to the server? Maybe you should decrease this amount?
Sent from my iPad
On 28 ביונ 2012, at 11:13, Prakrati Agrawal <[EMAIL PROTECTED]> wrote:
> Hi, > > > > I am getting heap space error while running Hbase on certain nodes of my cluster. I can't increase the Heapspace allocated to Hbase, is there some way in which I can prevent this from happening? > > > > The following is the log: > > > > serverName=server1,60020,1340693606454, load=(requests=4, regions=18, > usedHeap=1972, maxHeap=1993): OutOfMemoryError, aborting > > java.lang.OutOfMemoryError: Java heap space > > at java.nio.HeapByteBuffer.<init>(HeapByteBuffer.java:57) > > at java.nio.ByteBuffer.allocate(ByteBuffer.java:329) > > at > org.apache.hadoop.hbase.ipc.ByteBufferOutputStream.<init>(ByteBufferOu > tputStream.java:44) > > at > org.apache.hadoop.hbase.ipc.ByteBufferOutputStream.<init>(ByteBufferOu > tputStream.java:37) > > at > org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1 > 064) > > > > Please help me > > > > ________________________________ > This email message may contain proprietary, private and confidential information. The information transmitted is intended only for the person(s) or entities to which it is addressed. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited and may be illegal. If you received this in error, please contact the sender and delete the message from your system. > > Mu Sigma takes all reasonable steps to ensure that its electronic communications are free from viruses. However, given Internet accessibility, the Company cannot accept liability for any virus introduced by this e-mail or any attachment and you are advised to use up-to-date virus checking software.
This email message may contain proprietary, private and confidential information. The information transmitted is intended only for the person(s) or entities to which it is addressed. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited and may be illegal. If you received this in error, please contact the sender and delete the message from your system.
Mu Sigma takes all reasonable steps to ensure that its electronic communications are free from viruses. However, given Internet accessibility, the Company cannot accept liability for any virus introduced by this e-mail or any attachment and you are advised to use up-to-date virus checking software.
|
|