[ https://issues.apache.org/jira/browse/HIVE-4104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13591628#comment-13591628 ]
Ashutosh Chauhan commented on HIVE-4104: ---------------------------------------- +1 Nice catch Gopal. Any guidance on size of buffer. Wondering higher value (8K?, 64K?) will result in higher saving. > 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