phoenix-dev mailing list archives

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


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:
>             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

View raw message