@Internal public abstract class HadoopInputFormatCommonBase<T,SPITTYPE extends InputSplit> extends RichInputFormat<T,SPITTYPE>
Modifier and Type | Field and Description |
---|---|
protected org.apache.hadoop.security.Credentials |
credentials |
Modifier | Constructor and Description |
---|---|
protected |
HadoopInputFormatCommonBase(org.apache.hadoop.security.Credentials creds) |
Modifier and Type | Method and Description |
---|---|
static org.apache.hadoop.security.Credentials |
getCredentialsFromUGI(org.apache.hadoop.security.UserGroupInformation ugi) |
void |
read(ObjectInputStream in) |
protected void |
write(ObjectOutputStream out) |
closeInputFormat, getRuntimeContext, openInputFormat, setRuntimeContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close, configure, createInputSplits, getInputSplitAssigner, getStatistics, nextRecord, open, reachedEnd
protected HadoopInputFormatCommonBase(org.apache.hadoop.security.Credentials creds)
protected void write(ObjectOutputStream out) throws IOException
IOException
public void read(ObjectInputStream in) throws IOException
IOException
public static org.apache.hadoop.security.Credentials getCredentialsFromUGI(org.apache.hadoop.security.UserGroupInformation ugi)
ugi
- The user informationCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.