[
https://issues.apache.org/jira/browse/HIVE-520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714451#action_12714451
]
Johan Oskarsson commented on HIVE-520:
--------------------------------------
Would the best alternative to DynamicSerde and TCLSeperatedProtocol be to
implement a custom Apache weblog serde? I assume it is a reasonably common use
case to parse weblogs.
If the internalInitialize() call is left in both the constructor and the
initialize method it breaks the tests. The first call will consume the data
from the transport and by the time the second call comes there won't be any
data left to initialize with, resulting in a NullPointerException. Perhaps all
the initializing can be moved to the constructor?
> TestTCTLSeparatedProtocol is broken
> -----------------------------------
>
> Key: HIVE-520
> URL: https://issues.apache.org/jira/browse/HIVE-520
> Project: Hadoop Hive
> Issue Type: Bug
> Affects Versions: 0.4.0
> Reporter: Johan Oskarsson
> Assignee: Johan Oskarsson
> Priority: Critical
> Fix For: 0.4.0
>
> Attachments: HIVE-520.patch
>
>
> Some of the tests in TestTCTLSeparatedProtocol throws a NullPointedException
> that is catched, logged and not rethrown. This means the tests don't fail
> even though an unexpected exception is thrown.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.