Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-2115

Change the size of the VALUE_ column in OPTIONS table

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • Catalog
    • None

    Description

      There is no limit on number of column families in HBase, in theory. Actually, many users of HBase create from several dozen of column families to a single HBase table. But when create external table to Tajo with HBase and 120 column families, the DDL failed as following:

      2016-04-04 15:21:05,809 ERROR org.apache.tajo.catalog.CatalogServer:
      Stack Trace:
      org.apache.tajo.exception.TajoInternalError: internal error: Data truncation: Data too long for column 'VALUE_' at row 1
              at org.apache.tajo.catalog.store.AbstractDBStore.createTable(AbstractDBStore.java:962)
              at org.apache.tajo.catalog.CatalogServer$CatalogProtocolHandler.createTable(CatalogServer.java:693)
              at org.apache.tajo.catalog.AbstractCatalogClient.createTable(AbstractCatalogClient.java:542)
              at org.apache.tajo.master.exec.CreateTableExecutor.create(CreateTableExecutor.java:113)
              at org.apache.tajo.master.exec.CreateTableExecutor.create(CreateTableExecutor.java:69)
              at org.apache.tajo.master.exec.DDLExecutor.execute(DDLExecutor.java:106)
      

      Above error made by the column size of OPTIONS table on catalog. We need to update its size.

      Attachments

        Issue Links

          Activity

            People

              blrunner JaeHwa Jung
              blrunner JaeHwa Jung
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: