[ 
https://issues.apache.org/jira/browse/HIVE-10227?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14504117#comment-14504117
 ] 

Alan Gates commented on HIVE-10227:
-----------------------------------

bq.  If we cannot instantiate a factory, that is a fatal error for 
ReplicationTask, and we must not allow it to continue until it's fixed. Thus, 
it is appropriate for this to error out on each call. That said, the behaviour 
of erroring out on each call will hold only in the case of it being set through 
HiveConf
I agree this should be fatal to replication.  In the ACID compactor stuff we 
have a few places where it does a similar thing; the result is that you quickly 
fill the logs with gigabytes of error messages.  I don't think this would do 
that as quickly, but there is still a scenario where it would generate error 
messages ad infinitum.  It seems better to change the conf value to be the Noop 
factory or some value that indicates don't try rather than resetting it to null 
which will tell it to try again, given that there's no hope of success.

> 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.4.patch, HIVE-10227.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to