Re: Question about memory chunk and waiting for memory to become free

2017-09-05 Thread lars hofhansl
Thanks James. I'll file a jira. From: James Taylor To: dev@phoenix.apache.org; lars hofhansl Sent: Monday, September 4, 2017 9:11 AM Subject: Re: Question about memory chunk and waiting for memory to become free Sure, Lars. As long as we

Re: Question about memory chunk and waiting for memory to become free

2017-09-04 Thread James Taylor
Sure, Lars. As long as we throw an exception that'll cause a retry, it seems fine to just fail it. We'll need some kind of synchronization around the read/write of available memory member variable (or we can just use an atomic long). Please update the docs here and indicate that

Question about memory chunk and waiting for memory to become free

2017-09-03 Thread lars hofhansl
Hi, just looking at MemoryChunk for various reasons. What I did not realize is that when no memory is currently available the implementation waits for memory to become available.The default wait time is 10s. This seems very dangerous to me. This can hang HBase handler threads at various