Any exceptions before the NPE Daniel?
Testing here, it seems that unlike HashMap, you can't pass a null key to
ConcurrentHashMap, which is what onlineRegions is. Must mean that the
line above must have returned a null:
Integer mapKey = Bytes.mapKey(regionInfo.getRegionName());
Your region name all look good?
Maybe paste more of the log? Doesn't it print out the regioninfo of the
region that its trying to open?
Maybe the migration messed things up?
St.Ack
Daniel Leffel wrote:
I can't get any remote regions to start up (local ones work fine). I get
this exception:
Exception in thread "regionserver/0.0.0.0:60020"
java.lang.NullPointerException
at org.apache.hadoop.hbase.HRegionServer.run(HRegionServer.java:874)
at java.lang.Thread.run(Thread.java:619)
This is line 874:
HRegion region = this.onlineRegions.get(mapKey);
Not sure what I'm supposed to do to fix. Am I missing a property that wasn't
required by 0.1.3?
Otherwise, migration has gone very smoothly.
Danny