public class ScriptTransformationWriterThread
extends Thread
| Constructor and Description |
|---|
ScriptTransformationWriterThread(scala.collection.Iterator<org.apache.spark.sql.catalyst.InternalRow> iter,
scala.collection.Seq<DataType> inputSchema,
org.apache.spark.sql.catalyst.expressions.Projection outputProjection,
org.apache.hadoop.hive.serde2.AbstractSerDe inputSerde,
org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector inputSoi,
org.apache.spark.sql.hive.execution.HiveScriptIOSchema ioschema,
java.io.OutputStream outputStream,
Process proc,
org.apache.spark.util.CircularBuffer stderrBuffer,
TaskContext taskContext,
org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
scala.Option<Throwable> |
exception()
Contains the exception thrown while writing the parent iterator to the external process.
|
void |
run() |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic ScriptTransformationWriterThread(scala.collection.Iterator<org.apache.spark.sql.catalyst.InternalRow> iter,
scala.collection.Seq<DataType> inputSchema,
org.apache.spark.sql.catalyst.expressions.Projection outputProjection,
org.apache.hadoop.hive.serde2.AbstractSerDe inputSerde,
org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector inputSoi,
org.apache.spark.sql.hive.execution.HiveScriptIOSchema ioschema,
java.io.OutputStream outputStream,
Process proc,
org.apache.spark.util.CircularBuffer stderrBuffer,
TaskContext taskContext,
org.apache.hadoop.conf.Configuration conf)