Repository navigation
ORC-1251:Support Vectored IO in ORC [Draft] - #1276
HarshitGupta11 wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Thank you for making a PR, @HarshitGupta11 .
Apache ORC community is not aiming to claim for any un-released Apache Hive configuration. Please remove the following from this PR.
"hive.exec.orc.vectored.read",
AFAIK, it's not a part of Apache Hive master branch.
hive:master $ git grep hive.exec.orc.vectored.read
In addition, we cannot depend on unreleased Apache Hadoop too. Please revert the following change.
- <min.hadoop.version>2.7.3</min.hadoop.version>
- <hadoop.version>2.7.3</hadoop.version>
+ <min.hadoop.version>3.3.9-SNAPSHOT</min.hadoop.version>
+ <hadoop.version>3.3.9-SNAPSHOT</hadoop.version>
|
Hi @dongjoon-hyun Hi @omalley , |
|
Got it. According to the request, I'll leave this PR to @omalley . |
|
FYI, Apache ORC 2.0 Milestone is created and aims to use Hadoop 3 dependency to access all Hadoop 2 and 3 clusters. |
|
@HarshitGupta11 can you rebase this to orc main and against release hadoop 3.3.5. |
| int index = 0; | ||
| range = rootRange; | ||
| BufferChunk current = range.get(); | ||
| while (current != null) { |
There was a problem hiding this comment.
because FileRange has a reference field, you can put a reference back to the specific BufferChunk instances for each range. Then waiting for results becomes a matter of
- waiting for the ranged reads to complete
- resolving the references for each range
- set their Chunk bytebuffers to the ranges read.
| } catch (InterruptedException e) { | ||
| Thread.currentThread().interrupt(); | ||
| throw new IOException(e); | ||
| } catch (ExecutionException e) { |
There was a problem hiding this comment.
org.apache.hadoop.util.functional.FutureIO has some methods to help extract useful IOEs from ExecutionExceptions -see unwrapInnerException()
|
|
||
| <min.hadoop.version>2.7.3</min.hadoop.version> | ||
| <hadoop.version>2.7.3</hadoop.version> | ||
| <min.hadoop.version>3.3.9-SNAPSHOT</min.hadoop.version> |
| <dependency> | ||
| <groupId>org.apache.hadoop</groupId> | ||
| <artifactId>hadoop-hdfs-client</artifactId> | ||
| <version>3.3.9-SNAPSHOT</version> |
There was a problem hiding this comment.
is this really needed? If it is it's a failure in the api.
There was a problem hiding this comment.
FYI, main branch moved to Apache Hadoop 3.3.5 shaded clients via #1509 ORC-1430: Use Hadoop 3.3.5 shaded clients
Could you share some performance benchmark tests? |
|
slides from berlin buzzword last week |
|
Gentle ping. |
|
As of today, this item is removed from Apache ORC 2.0.0 milestone. |
|
@mukund-thakur @HarshitGupta11 Do you have any plan to revive this work? |
|
Let me take over this for ORC 2.0.0. |
|
I made a PR, please take a look. |
|
Thank you, @williamhyun ! |

Support the new fast Vectored Read API in ORC for parallel reads.
The patch was tested internally along with S3