public class SparkHiveDynamicPartitionWriterContainer extends SparkHiveWriterContainer
Constructor and Description |
---|
SparkHiveDynamicPartitionWriterContainer(org.apache.hadoop.mapred.JobConf jobConf,
ShimFileSinkDesc fileSinkConf,
String[] dynamicPartColNames) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
commitJob() |
org.apache.hadoop.hive.ql.exec.FileSinkOperator.RecordWriter |
getLocalFileWriter(org.apache.spark.sql.catalyst.expressions.Row row) |
static String |
SUCCESSFUL_JOB_OUTPUT_DIR_MARKER() |
createPathFromString, driverSideSetup, executorSideSetup
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeIfNecessary, initializeLogging, isTraceEnabled, log_, log, logDebug, logDebug, logError, logError, logInfo, logInfo, logName, logTrace, logTrace, logWarning, logWarning
firstAvailableClass, newJobContext, newTaskAttemptContext, newTaskAttemptID
public SparkHiveDynamicPartitionWriterContainer(org.apache.hadoop.mapred.JobConf jobConf, ShimFileSinkDesc fileSinkConf, String[] dynamicPartColNames)
public static String SUCCESSFUL_JOB_OUTPUT_DIR_MARKER()
public void close()
close
in class SparkHiveWriterContainer
public void commitJob()
commitJob
in class SparkHiveWriterContainer
public org.apache.hadoop.hive.ql.exec.FileSinkOperator.RecordWriter getLocalFileWriter(org.apache.spark.sql.catalyst.expressions.Row row)
getLocalFileWriter
in class SparkHiveWriterContainer