hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Long, Andrew" <>
Subject Implementing a custom StorageHandler
Date Mon, 27 Jun 2016 22:59:19 GMT
Hello everyone,

I’m in the process of implementing a custom StorageHandler and I had some questions.

1)       What is the difference between org.apache.Hadoop.mapred.InputFormat and org.apache.hadoop.mapreduce.InputFormat?

2)       How is numSpits calculated in org.apache.Hadoop.mapred.InputFormat.getSplits(JobConf
job, int numSplits)?

3)       Is there a way to enforce a maximum number of splits?  What would happen if I ignore
numSplits and just returned an array of splits that was the actual maximum number of splits?

4)       How is InputSplit.getLocations() used?  If I’m accessing non hfds resources should
what should I return?  Currently I’m just returning an empty array.

Thanks for your time,
Andrew Long
View raw message