attempt++;
}
//Only write this if no other error. Don't want to overwrite
//an error from the error thread.
if (outerrThreadsError == null) {
outerrThreadsError = new StreamingUDFException(
language, "Error deserializing output. Please check that the declared outputSchema for function " +
funcName + " matches the data type being returned.", e);
}
outputQueue.put(ERROR_OUTPUT); //Need to wake main thread.
} catch(InterruptedException ie) {