You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Koji Noguchi (JIRA)" <ji...@apache.org> on 2016/04/22 23:03:13 UTC
[jira] [Commented] (PIG-4878) Compilation failure with hadoop 1.x
after PIG-4847
[ https://issues.apache.org/jira/browse/PIG-4878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15254679#comment-15254679 ]
Koji Noguchi commented on PIG-4878:
-----------------------------------
{quote}
- toFree = info.getUsage().getUsed() - collectionThresholdSize + (long)(collectionThresholdSize * 0.5);
+ toFree = info.getUsage().getUsed() - memoryThresholdSize + (long)(memoryThresholdSize * 0.5);
{quote}
Are you fixing another bug in this patch? Probably better to have a separate jira for that.
> Compilation failure with hadoop 1.x after PIG-4847
> --------------------------------------------------
>
> Key: PIG-4878
> URL: https://issues.apache.org/jira/browse/PIG-4878
> Project: Pig
> Issue Type: Bug
> Reporter: Rohini Palaniswamy
> Assignee: Rohini Palaniswamy
> Fix For: 0.16.0
>
> Attachments: PIG-4878-1.patch
>
>
> https://builds.apache.org/job/Pig-trunk-commit/2316/console
> {code}
> [javac] double memoryThresholdFraction = conf.getDouble(PigConfiguration.PIG_SPILL_MEMORY_USAGE_THRESHOLD_FRACTION, MEMORY_THRESHOLD_FRACTION_DEFAULT);
> [javac] ^
> [javac] symbol: method getDouble(String,double)
> [javac] location: variable conf of type Configuration
> {code}
> conf.getDouble() is not present in Hadoop 1.x
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)