Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-8004

Creating an existing table from Shell does not throw TableExistsException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.95.0
    • 0.98.0, 0.95.0
    • None
    • None
    • Reviewed

    Description

      When i try to create a same table from shell i don't get TableExistsException instead i get

      ERROR: cannot load Java class org.apache.hadoop.hbase.TableNotFoundException
      
      Here is some help for this command:
      Creates a table. Pass a table name, and a set of column family
      specifications (at least one), and, optionally, table configuration.
      Column specification can be a simple string (name), or a dictionary
      (dictionaries are described below in main help output), necessarily
      including NAME attribute.
      Examples:
      
        hbase> create 't1', {NAME => 'f1', VERSIONS => 5}
        hbase> create 't1', {NAME => 'f1'}, {NAME => 'f2'}, {NAME => 'f3'}
        hbase> # The above in shorthand would be the following:
      
      

      Attachments

        1. hbase-8004.patch
          1.0 kB
          Jeffrey Zhong
        2. hbase-8004_1.patch
          2 kB
          Jeffrey Zhong

        Activity

          People

            jeffreyz Jeffrey Zhong
            ram_krish ramkrishna.s.vasudevan
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: