Hi,

On trying something like this:
From.formattedFile(inputPath, (Class<? extends FileInputFormat<?, ?>>)
FourMcTextInputFormat.class, Writables.strings(), Writables.strings());
where com.hadoop.mapreduce.FourMcTextInputFormat extends
com.hadoop.mapreduce.FourMcInputFormat (which
extends org.apache.hadoop.mapreduce.lib.input.FileInputFormat),
I get the compile time error:
java: incompatible types:
java.lang.Class<com.hadoop.mapreduce.FourMcTextInputFormat> cannot be
converted to java.lang.Class<? extends
org.apache.hadoop.mapreduce.lib.input.FileInputFormat<?,?>>
On Mon, May 21, 2018 at 10:25 PM, Josh Wills <[EMAIL PROTECTED]> wrote: