You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Lars Francke (JIRA)" <ji...@apache.org> on 2014/08/30 03:19:53 UTC

[jira] [Created] (HIVE-7920) Fix issues with NotificationListener (finalize, overwriting of table properties, Checkstyle)

Lars Francke created HIVE-7920:
----------------------------------

             Summary: Fix issues with NotificationListener (finalize, overwriting of table properties, Checkstyle)
                 Key: HIVE-7920
                 URL: https://issues.apache.org/jira/browse/HIVE-7920
             Project: Hive
          Issue Type: Improvement
            Reporter: Lars Francke
            Assignee: Lars Francke
            Priority: Minor


This cleans up {{NotificationListener}}.

* It was using a finalize method which is generally a bad idea and doesn't help here as the class will be collected by GC anyway when the Metastore shuts down.
* In {{onCreateTable}} it would unconditionally overwrite the property for the topic name which could have been specified as part of the table creation
* Adds detailed documentation to almost each method
* Fixes Checkstyle issues like long lines and unnecessary protected access



--
This message was sent by Atlassian JIRA
(v6.2#6252)