Hive
  1. Hive
  2. HIVE-1820 Make Hive database data center aware
  3. HIVE-1823

upgrade the database thrift interface to allow parameters key-value pairs

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7.0
    • Component/s: Metastore
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In order to store data center specify parameters to Hive database, it is desirable to extend Hive database thrift interface with a parameters map similar to Table and Partitions.

      1. HIVE-1823.2.patch
        226 kB
        Ning Zhang
      2. HIVE-1823.patch
        226 kB
        Ning Zhang

        Issue Links

          Activity

          Hide
          Ning Zhang added a comment -

          Uploading a patch for adding a parameter map field for database.

          Show
          Ning Zhang added a comment - Uploading a patch for adding a parameter map field for database.
          Hide
          Namit Jain added a comment -

          +1

          running tests

          Show
          Namit Jain added a comment - +1 running tests
          Hide
          Ning Zhang added a comment -

          Fixed a simple bug in the previous patch: the new DATABSE_PARAMS table should use both DB_ID and KEY_COLUMN as the primary key. Since the index key max length is 767 in mysql, the key column's length is reduced to 180 from 256 in case of the db character set is utf-8.

          Show
          Ning Zhang added a comment - Fixed a simple bug in the previous patch: the new DATABSE_PARAMS table should use both DB_ID and KEY_COLUMN as the primary key. Since the index key max length is 767 in mysql, the key column's length is reduced to 180 from 256 in case of the db character set is utf-8.
          Hide
          Namit Jain added a comment -

          Committed. Thanks Ning

          Show
          Namit Jain added a comment - Committed. Thanks Ning

            People

            • Assignee:
              Ning Zhang
              Reporter:
              Ning Zhang
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development