[
https://issues.apache.org/jira/browse/TEZ-3981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Eagles updated TEZ-3981:
---------------------------------
Comment: was deleted
(was: GitHub user jteagles opened a pull request:
https://github.com/apache/tez/pull/31
[TEZ-3981] Test yetus github PR integration
Testing github pr integration for tez
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jteagles/tez TEST-YETUS-PR-JEAGLES
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/tez/pull/31.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #31
----
commit 464c3f5b0fd743a569ce7c3030e3444e758ef665
Author: Jonathan Eagles <jeagles@...>
Date: 2018-09-28T19:06:07Z
[TEZ-3981] Test yetus github PR integration
----
)
> UnorderedPartitionedKVWriter.getInitialMemoryRequirement may return negative
> memory
> -----------------------------------------------------------------------------------
>
> Key: TEZ-3981
> URL: https://issues.apache.org/jira/browse/TEZ-3981
> Project: Apache Tez
> Issue Type: Bug
> Affects Versions: 0.9.1
> Reporter: Jaume M
> Assignee: Jaume M
> Priority: Major
> Fix For: 0.9.2, 0.10.0
>
> Attachments: TEZ-3981.1.patch
>
>
> The reason for this is because
> [here|https://github.com/apache/tez/blob/4b9a7be1b98cff00c44e7d3ffb2486bb59ca6804/tez-runtime-library/src/main/java/org/apache/tez/runtime/library/common/writers/UnorderedPartitionedKVWriter.java#L678]
> first we shift the int, and then we assign it to the long, therefore if the
> int is bigger than {{2^12}} when shifting {{20}} it becomes a negative value.
> We should cast to long and then do the shift.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)