They all crash with the same callstack.  We're running 0.20.3.  Here's the
shell transcript:

hbase(main):007:0> list
SOME_INTERESTING_HGRAM                                                          
                              
1 row(s) in 0.0320 seconds
hbase(main):008:0> major_compact 'SOME_INTERESTING_HGRAM'
NativeException: java.io.IOException: java.io.IOException:
java.lang.NullPointerException
        at org.apache.hadoop.hbase.util.Writables.getWritable(Writables.java:76)
        at
org.apache.hadoop.hbase.util.Writables.getHRegionInfo(Writables.java:120)
        at 
org.apache.hadoop.hbase.master.HMaster.getTableRegions(HMaster.java:860)
        at org.apache.hadoop.hbase.master.HMaster.modifyTable(HMaster.java:1005)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.hbase.ipc.HBaseRPC$Server.call(HBaseRPC.java:657)
        at
org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:915)

Looking at the source, it appears that the meta-query is returning no
regions for my table.  There is frequent mention of my table in
hbase-<usr>-regionserver-hadoop-<node>.log and things appear to be running
normally  I'm seeing no ERRORs, though I am seeing periodic "WARNs to in
this flavor:  WARN org.apache.hadoop.hbase.regionserver.Store: Skipping
hdfs://<node>:9000/hbase/SOME_INTERESTING_HGRAM/1474063074/mainFamily/6976902540167344925
because its empty. HBASE-646 DATA LOSS?"  I assume that this has nothing to
do with it, but perhaps it does.

Is there some misconfiguration that could lead to me not having any regions
for my table even though I'm successfully inserting into it?

Thanks,
David Swift


-- 
View this message in context: 
http://old.nabble.com/Can%27t-Major-Compact%2C-Compact%2C-or-Flush-HBase-Table---No-Regions-For-My-Table--tp28169673p28169673.html
Sent from the HBase User mailing list archive at Nabble.com.

Reply via email to