phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Mahonin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PHOENIX-3600) Core MapReduce classes don't provide location info
Date Sun, 05 Feb 2017 16:51:41 GMT

    [ https://issues.apache.org/jira/browse/PHOENIX-3600?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15853274#comment-15853274
] 

Josh Mahonin commented on PHOENIX-3600:
---------------------------------------

Updated patch to address review comments. I haven't had a chance to re-run a sanity test on
this version, but plan to this week. Assuming no issues arise there, any objections to getting
this in? Also, if anyone else has a Phoenix + {MR / Pig / Spark} environment, it'd be great
to get confirmation on a perf. boost and no breaking changes.

> Core MapReduce classes don't provide location info
> --------------------------------------------------
>
>                 Key: PHOENIX-3600
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-3600
>             Project: Phoenix
>          Issue Type: Improvement
>    Affects Versions: 4.8.0
>            Reporter: Josh Mahonin
>            Assignee: Josh Mahonin
>         Attachments: PHOENIX-3600.patch, PHOENIX-3600_v2.patch
>
>
> The core MapReduce classes {{org.apache.phoenix.mapreduce.PhoenixInputSplit}} and {{org.apache.phoenix.mapreduce.PhoenixInputFormat}}
don't provide region size or location information, leaving the execution engine (MR, Spark,
etc.) to randomly assign splits to nodes.
> Interestingly, the phoenix-hive module has reimplemented these classes, including the
node-aware functionality. We should port a subset of those changes back to the core code so
that other engines can make use of them.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message