Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-703

No entity notification updates are sent for hive table protection feature. Seems like table protection changes are not yet modelled.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Abandoned
    • 0.7-incubating
    • None
    • None
    • None

    Description

      No entity notification updates are sent for hive table protection feature. Seems like table protection changes are not yet modelled.

      CREATE TABLE after_changes_11(name string, age int) PARTITIONED BY (ds string);
      ALTER TABLE after_changes_11 ENABLE NO_DROP;
      ALTER TABLE after_changes_11 ENABLE NO_DROP CASCADE;
      ALTER TABLE after_changes_11 DISABLE NO_DROP;
      ALTER TABLE after_changes_11 ENABLE OFFLINE;

      0: jdbc:hive2://localhost:10000/default> DESCRIBE formatted after_changes_11;
      +-------------------------------+-------------------------------------------------------------+----------------------------------+--+
      |           col_name            |                          data_type                          |             comment              |
      +-------------------------------+-------------------------------------------------------------+----------------------------------+--+
      | # col_name                    | data_type                                                   | comment                          |
      |                               | NULL                                                        | NULL                             |
      | name                          | string                                                      |                                  |
      | age                           | int                                                         |                                  |
      |                               | NULL                                                        | NULL                             |
      | # Partition Information       | NULL                                                        | NULL                             |
      | # col_name                    | data_type                                                   | comment                          |
      |                               | NULL                                                        | NULL                             |
      | ds                            | string                                                      |                                  |
      |                               | NULL                                                        | NULL                             |
      | # Detailed Table Information  | NULL                                                        | NULL                             |
      | Database:                     | default                                                     | NULL                             |
      | Owner:                        | apathan                                                     | NULL                             |
      | CreateTime:                   | Mon Apr 25 17:34:58 IST 2016                                | NULL                             |
      | LastAccessTime:               | UNKNOWN                                                     | NULL                             |
      | Protect Mode:                 | OFFLINE,NO_DROP,NO_DROP_CASCADE                             | NULL                             |
      | Retention:                    | 0                                                           | NULL                             |
      | Location:                     | hdfs://localhost:9000/user/hive/warehouse/after_changes_11  | NULL                             |
      | Table Type:                   | MANAGED_TABLE                                               | NULL                             |
      | Table Parameters:             | NULL                                                        | NULL                             |
      |                               | PROTECT_MODE                                                | OFFLINE,NO_DROP,NO_DROP_CASCADE  |
      |                               | last_modified_by                                            | apathan                          |
      |                               | last_modified_time                                          | 1461586186                       |
      |                               | transient_lastDdlTime                                       | 1461586186                       |
      |                               | NULL                                                        | NULL                             |
      | # Storage Information         | NULL                                                        | NULL                             |
      | SerDe Library:                | org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe          | NULL                             |
      | InputFormat:                  | org.apache.hadoop.mapred.TextInputFormat                    | NULL                             |
      | OutputFormat:                 | org.apache.hadoop.hive.ql.io.HiveIgnoreKeyTextOutputFormat  | NULL                             |
      | Compressed:                   | No                                                          | NULL                             |
      | Num Buckets:                  | -1                                                          | NULL                             |
      | Bucket Columns:               | []                                                          | NULL                             |
      | Sort Columns:                 | []                                                          | NULL                             |
      | Storage Desc Params:          | NULL                                                        | NULL                             |
      |                               | serialization.format                                        | 1                                |
      +-------------------------------+-------------------------------------------------------------+----------------------------------+--+
      35 rows selected (0.105 seconds)
      0: jdbc:hive2://localhost:10000/default>
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ayubpathan Ayub Pathan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: