You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2013/03/01 23:21:14 UTC

[jira] [Updated] (HIVE-4104) Hive localtask does not buffer disk-writes or reads

     [ https://issues.apache.org/jira/browse/HIVE-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gopal V updated HIVE-4104:
--------------------------

    Attachment: HIVE-4104.patch

Buffer I/O for HashMapWrapper
                
> Hive localtask does not buffer disk-writes or reads
> ---------------------------------------------------
>
>                 Key: HIVE-4104
>                 URL: https://issues.apache.org/jira/browse/HIVE-4104
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Gopal V
>            Assignee: Gopal V
>            Priority: Minor
>         Attachments: HIVE-4104.patch
>
>
> Hive's HashMapWrapper does not use any buffering in its File I/O, but operates sequentially for writes & reads.
> The strace logs show clearly that
> {code}
> 9495  write(222, "x", 1)                = 1
> 9495  write(222, "sq\0~\0\5", 6)        = 6
> 9495  write(222, "w\25", 2)             = 2
> 9495  write(222, "\0\0\0\1\0\0\0\1\0\0\0\2\0\0\0\5\3\1M\1S", 21) = 21
> 9495  write(222, "x", 1)                = 1
> 9495  write(222, "sq\0~\0\2", 6)        = 6
> 9495  write(222, "w\t", 2)              = 2
> 9495  write(222, "\0\0\0\5\1\215\r\325v", 9) = 9
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira