hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal V (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-4104) Hive localtask does not buffer disk-writes or reads
Date Fri, 01 Mar 2013 22:21:14 GMT

     [ 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

Mime
View raw message