[
https://issues.apache.org/jira/browse/HIVE-10227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14503096#comment-14503096
]
Alan Gates commented on HIVE-10227:
-----------------------------------
* ReplicationTask.java
** line 100: Instantiating new HiveConf objects is expensive. It also runs
the risk of ignoring conf values set elsewhere in the code. Is there not an
existing version of the conf that can be used here?
** line 107: Why do you want to set factory class name to null? If someone
configures a bad class name this will result in an error message every time
this method is invoked, which appears to be everytime a caller attempt to read
the next replication task.
* DropDatabaseCommand.java and other <? extends HiveCommand> methods
** line 43: These comments would be better in javadoc
* HiveCommand
** comments about methods should be in javadoc
** Is there any reason this should be separate from the Command interface. It
says in the comments the point of this interface is to indicate that the get
command returns SQL to be executed. What else could get return?
> Concrete implementation of Export/Import based ReplicationTaskFactory
> ---------------------------------------------------------------------
>
> Key: HIVE-10227
> URL: https://issues.apache.org/jira/browse/HIVE-10227
> Project: Hive
> Issue Type: Sub-task
> Components: Import/Export
> Affects Versions: 1.2.0
> Reporter: Sushanth Sowmyan
> Assignee: Sushanth Sowmyan
> Attachments: HIVE-10227.2.patch, HIVE-10227.3.patch, HIVE-10227.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)