Re: failing unit test in Phoenix source (master branch)

2015-09-14 Thread James Heather
Reported as https://issues.apache.org/jira/browse/PHOENIX-2256 James On 14/09/15 11:56, James Heather wrote: Table "b" should get evicted first, which creates enough space for "d". But in fact "c" gets evicted first, and then "b" needs to be evicted as well to make enough room. I don't

Re: failing unit test in Phoenix source (master branch)

2015-09-14 Thread James Heather
This looks like a bug in PMetaDataImpl to me. The test looks correct. Table "b" should get evicted first, which creates enough space for "d". But in fact "c" gets evicted first, and then "b" needs to be evicted as well to make enough room. I don't know if there's a race condition in here

Re: failing unit test in Phoenix source (master branch)

2015-09-14 Thread James Taylor
Thanks for filing these issues. I believe these failures occur on Java 8, but not on 7. Not sure why, though. James On Monday, September 14, 2015, James Heather wrote: > Reported as > > https://issues.apache.org/jira/browse/PHOENIX-2256 > > James > > On 14/09/15

Re: failing unit test in Phoenix source (master branch)

2015-09-14 Thread James Heather
Thanks! That sounds a bit fragile. It might mean that the implementation will be incorrect if the code is compiled under Java 8, which wouldn't be ideal (especially now that Java 7 has been EOL'd). Is anyone likely to be looking into the cause? James On 14/09/15 16:24, James Taylor wrote:

Re: failing unit test in Phoenix source (master branch)

2015-09-14 Thread James Taylor
Yes, I'll look into it. Thanks, James On Monday, September 14, 2015, James Heather wrote: > Thanks! > > That sounds a bit fragile. It might mean that the implementation will be > incorrect if the code is compiled under Java 8, which wouldn't be ideal > (especially

failing unit test in Phoenix source (master branch)

2015-09-14 Thread James Heather
Does anyone else get a test failure when they build Phoenix? If I make a fresh clone of the repo, and then run mvn package, I get a test failure: --- Test set: org.apache.phoenix.schema.PMetaDataImplTest