Last time I heard about this issue, it was because of a DNS problem. Look at your master and region server logs.
J-D On Thu, Apr 28, 2011 at 7:49 PM, bijieshan <[email protected]> wrote: > Hi, > > When I execute command of 'list' in hbase shell, it told me that the > HRegioninfo was null or empty in -ROOT-. > Did the -ROOT- table value got corrupted or any other reasons cause this > problem? > > Here's the info from the 'list' and 'hbck' tool: > -------------------------------------------------------------------------------------------------------------------- > hbase(main):001:0> list > TABLE > 11/04/29 10:46:23 INFO jute.BinaryInputArchive: Expecting maxBufferString as > an integer but got as null.Hence setting to default value 1048575 > > ERROR: org.apache.hadoop.hbase.client.RetriesExhaustedException: Trying to > contact region server null for region , row '', but failed after 7 attempts. > Exceptions: > java.io.IOException: HRegionInfo was null or empty in -ROOT-, > row=keyvalues={.META.,,1/info:server/1304015789456/Put/vlen=13, > .META.,,1/info:serverstartcode/1304015789456/Put/vlen=8} > java.io.IOException: HRegionInfo was null or empty in -ROOT-, > row=keyvalues={.META.,,1/info:server/1304015789456/Put/vlen=13, > .META.,,1/info:serverstartcode/1304015789456/Put/vlen=8} > java.io.IOException: HRegionInfo was null or empty in -ROOT-, > row=keyvalues={.META.,,1/info:server/1304015789456/Put/vlen=13, > .META.,,1/info:serverstartcode/1304015789456/Put/vlen=8} > java.io.IOException: HRegionInfo was null or empty in -ROOT-, > row=keyvalues={.META.,,1/info:server/1304015789456/Put/vlen=13, > .META.,,1/info:serverstartcode/1304015789456/Put/vlen=8} > java.io.IOException: HRegionInfo was null or empty in -ROOT-, > row=keyvalues={.META.,,1/info:server/1304015789456/Put/vlen=13, > .META.,,1/info:serverstartcode/1304015789456/Put/vlen=8} > java.io.IOException: HRegionInfo was null or empty in -ROOT-, > row=keyvalues={.META.,,1/info:server/1304015789456/Put/vlen=13, > .META.,,1/info:serverstartcode/1304015789456/Put/vlen=8} > java.io.IOException: HRegionInfo was null or empty in -ROOT-, > row=keyvalues={.META.,,1/info:server/1304015789456/Put/vlen=13, > .META.,,1/info:serverstartcode/1304015789456/Put/vlen=8} > -------------------------------------------------------------------------------------------------------------------- > HBase hbck tool: > -------------------------------------------------------------------------------------------------------------------- > 11/04/29 10:45:42 DEBUG client.HConnectionManager$HConnectionImplementation: > locateRegionInMeta parentTable=-ROOT-, metaLocation=address: Linux-1:60020, > regioninfo: -ROOT-,,0.70236052, attempt=4 of 10 failed; retrying after sleep > of 2000 because: HRegionInfo was null or empty in -ROOT-, > row=keyvalues={.META.,,1/info:server/1304015789456/Put/vlen=13, > .META.,,1/info:serverstartcode/1304015789456/Put/vlen=8} > 11/04/29 10:45:42 DEBUG client.HConnectionManager$HConnectionImplementation: > Lookedup root region location, > connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@42787d6a; > hsa=Linux-1:60020 > 11/04/29 10:45:44 DEBUG client.HConnectionManager$HConnectionImplementation: > Lookedup root region location, > connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@42787d6a; > hsa=Linux-1:60020 > 11/04/29 10:45:44 DEBUG client.HConnectionManager$HConnectionImplementation: > locateRegionInMeta parentTable=-ROOT-, metaLocation=address: Linux-1:60020, > regioninfo: -ROOT-,,0.70236052, attempt=5 of 10 failed; retrying after sleep > of 4000 because: HRegionInfo was null or empty in -ROOT-, > row=keyvalues={.META.,,1/info:server/1304015789456/Put/vlen=13, > .META.,,1/info:serverstartcode/1304015789456/Put/vlen=8} > 11/04/29 10:45:44 DEBUG client.HConnectionManager$HConnectionImplementation: > Lookedup root region location, > connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@42787d6a; > hsa=Linux-1:60020 > 11/04/29 10:45:48 DEBUG client.HConnectionManager$HConnectionImplementation: > Lookedup root region location, > connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@42787d6a; > hsa=Linux-1:60020 > 11/04/29 10:45:48 DEBUG client.HConnectionManager$HConnectionImplementation: > locateRegionInMeta parentTable=-ROOT-, metaLocation=address: Linux-1:60020, > regioninfo: -ROOT-,,0.70236052, attempt=6 of 10 failed; retrying after sleep > of 4000 because: HRegionInfo was null or empty in -ROOT-, > row=keyvalues={.META.,,1/info:server/1304015789456/Put/vlen=13, > .META.,,1/info:serverstartcode/1304015789456/Put/vlen=8} > 11/04/29 10:45:48 DEBUG client.HConnectionManager$HConnectionImplementation: > Lookedup root region location, > connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@42787d6a; > hsa=Linux-1:60020 > 11/04/29 10:45:52 DEBUG client.HConnectionManager$HConnectionImplementation: > Lookedup root region location, > connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@42787d6a; > hsa=Linux-1:60020 > 11/04/29 10:45:52 DEBUG client.HConnectionManager$HConnectionImplementation: > locateRegionInMeta parentTable=-ROOT-, metaLocation=address: Linux-1:60020, > regioninfo: -ROOT-,,0.70236052, attempt=7 of 10 failed; retrying after sleep > of 8000 because: HRegionInfo was null or empty in -ROOT-, > row=keyvalues={.META.,,1/info:server/1304015789456/Put/vlen=13, > .META.,,1/info:serverstartcode/1304015789456/Put/vlen=8} > 11/04/29 10:45:52 DEBUG client.HConnectionManager$HConnectionImplementation: > Lookedup root region location, > connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@42787d6a; > hsa=Linux-1:60020 > 11/04/29 10:46:00 DEBUG client.HConnectionManager$HConnectionImplementation: > Lookedup root region location, > connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@42787d6a; > hsa=Linux-1:60020 > 11/04/29 10:46:00 DEBUG client.HConnectionManager$HConnectionImplementation: > locateRegionInMeta parentTable=-ROOT-, metaLocation=address: Linux-1:60020, > regioninfo: -ROOT-,,0.70236052, attempt=8 of 10 failed; retrying after sleep > of 16000 because: HRegionInfo was null or empty in -ROOT-, > row=keyvalues={.META.,,1/info:server/1304015789456/Put/vlen=13, > .META.,,1/info:serverstartcode/1304015789456/Put/vlen=8} > 11/04/29 10:46:00 DEBUG client.HConnectionManager$HConnectionImplementation: > Lookedup root region location, > connection=org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@42787d6a; > hsa=Linux-1:60020 > -------------------------------------------------------------------------------------------------------------------- > > Thanks, > > Regards, > Jieshan bean > >
