[jira] [Commented] (ORC-52) Add support for mapreduce InputFormat and OutputFormat

2016-05-26 Thread yuan ding (JIRA)

[ 
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)


[jira] [Commented] (ORC-52) Add support for mapreduce InputFormat and OutputFormat

2016-05-26 Thread yuan ding (JIRA)

[ 
https://issues.apache.org/jira/browse/ORC-52?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15302518#comment-15302518
 ] 

yuan ding commented on ORC-52:
--

A typo happens in OrcMapReduceRecordReader class name:
/Users/bdcoe/orc/java/mapreduce/src/java/org/apache/orc/mapred/OrcMapReduceRecordReader.java:[38,8]
 class OrcMapreduceRecordReader is public, should be declared in a file named 
OrcMapreduceRecordReader.java

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