Can't truncate/disable table that has rows in .META. that have empty 
info:regioninfo column
-------------------------------------------------------------------------------------------

                 Key: HBASE-3347
                 URL: https://issues.apache.org/jira/browse/HBASE-3347
             Project: HBase
          Issue Type: Bug
            Reporter: stack
             Fix For: 0.90.0


I somehow manufactured empty info:regioninfo cells in .META. -- still trying to 
figure how -- but trying to drop the table I get NPE

{code}
ERROR: java.lang.NullPointerException: null
Backtrace: org/apache/hadoop/hbase/util/Writables.java:75:in `getWritable'
           org/apache/hadoop/hbase/util/Writables.java:119:in `getHRegionInfo'
           org/apache/hadoop/hbase/client/HConnectionManager.java:505:in 
`processRow'
           org/apache/hadoop/hbase/client/MetaScanner.java:190:in `metaScan'
           org/apache/hadoop/hbase/client/MetaScanner.java:95:in `metaScan'
           org/apache/hadoop/hbase/client/MetaScanner.java:73:in `metaScan'
           org/apache/hadoop/hbase/client/HConnectionManager.java:530:in 
`getHTableDescriptor'
           org/apache/hadoop/hbase/client/HTable.java:320:in 
`getTableDescriptor'
           /home/stack/hbase/bin/../bin/../src/main/ruby/hbase/admin.rb:205:in 
`truncate'
           
/home/stack/hbase/bin/../bin/../src/main/ruby/shell/commands/truncate.rb:33:in 
`command'
           
/home/stack/hbase/bin/../bin/../src/main/ruby/shell/commands.rb:64:in 
`format_simple_command'
           
/home/stack/hbase/bin/../bin/../src/main/ruby/shell/commands/truncate.rb:31:in 
`command'
           
/home/stack/hbase/bin/../bin/../src/main/ruby/shell/commands.rb:31:in 
`command_safe'
           
/home/stack/hbase/bin/../bin/../src/main/ruby/shell/commands.rb:70:in 
`translate_hbase_exceptions'
           
/home/stack/hbase/bin/../bin/../src/main/ruby/shell/commands.rb:31:in 
`command_safe'
           /home/stack/hbase/bin/../bin/../src/main/ruby/shell.rb:106:in 
`command'
           (eval):2:in `truncate'
           (hbase):4:in `irb_binding'
{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to