[
https://issues.apache.org/jira/browse/ORC-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15302530#comment-15302530
]
yuan ding commented on ORC-52:
--
Would you please add a method like setAllFileds(List) to the
OrcStruct, thanks.
It could be nice if we have orcSerde in this new package. It could be use for
tell Hive how to explore the table.
And I tried, hope I did not do it wrong : >, I want to set my mapper/reducer
like:
public static class ResultsMapper extends Mapper {}
public static class TeamCounter extends Reducer {
Then it fail because “No such method exception Hadoop ”, I am not sure
but feels like it needs the empty constructor in OrcStruct so that Hadoop
reflection could works. So …what do you think about it?
Sry but I have a little advice for the folder structure, like in hadoop lib,
things under mapred package is the old code, under mapreduce package is the new
2.* code, I won’t mix them, but in this new orc package, I have to call
something from orc.mapreduce like outpurformat, and call something from
orc.mapred like OrcStruct.
> Add support for mapreduce InputFormat and OutputFormat
> --
>
> Key: ORC-52
> URL: https://issues.apache.org/jira/browse/ORC-52
> Project: Orc
> Issue Type: Improvement
> Components: Java, MapReduce
>Reporter: Owen O'Malley
>Assignee: Owen O'Malley
> Fix For: 1.2.0
>
>
> We have the mapred InputFormat and OutputFormat, but we need one for the
> newer API.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)