Re: NullPointerException when opening a region on new table creation

2013-06-26 Thread Viral Bajaria
To close the loop here, I wasn't able to repro it again and it seems the issue was due to a race condition in create table commands. Eventually the tableinfo file was missing on HDFS and hence there was an exception storm. I fixed it by manually creating the file with the right definition and then

NullPointerException when opening a region on new table creation

2013-06-25 Thread Viral Bajaria
Hi, I created a new table on my cluster today and hit a weird issue which I have not come across before. I wanted to run it by the list and see if anyone has seen this issue before and if not should I open a JIRA for it. it's still unclear of why it would happen. I create the table

Re: NullPointerException when opening a region on new table creation

2013-06-25 Thread Jean-Marc Spaggiari
Hi Viral, This exception is when you tries to read/open the able, right? Any exception when you have created it? Your table has not been fully created. So it's just normal for HBase to not open it. The issue is on the creation time. Do you sill have the logs? Thanks, JM 2013/6/25 Viral Bajaria

Re: NullPointerException when opening a region on new table creation

2013-06-25 Thread Viral Bajaria
Hi JM, Yeah you are right about when the exception happens. I just went through all the logs of table creation and don't see an exception. Though there was a LONG pause when doing the create table. I cannot find any kind of logs on the hbase side as to why the long pause happened around that