You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Harish Jaiprakash (JIRA)" <ji...@apache.org> on 2018/06/27 12:40:00 UTC

[jira] [Comment Edited] (HIVE-20011) Move away from append mode in proto logging hook

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

Harish Jaiprakash edited comment on HIVE-20011 at 6/27/18 12:39 PM:
--------------------------------------------------------------------

Fixing append mode in history logger, [~anishek], Please review. 

https://reviews.apache.org/r/67754/


was (Author: harishjp):
Fixing append mode in history logger, [~anishek], Please review.

> Move away from append mode in proto logging hook
> ------------------------------------------------
>
>                 Key: HIVE-20011
>                 URL: https://issues.apache.org/jira/browse/HIVE-20011
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>            Reporter: Harish Jaiprakash
>            Assignee: Harish Jaiprakash
>            Priority: Critical
>         Attachments: HIVE-20011.01.patch
>
>
> Proto logging hook uses append mode with SequenceFile which does not work on filesystems which does not support append. Move away to using sequence file with flush. And use the reader with Long.MAX_VALUE to ensure it reads beyond the length in NameNode.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)