Tracing Errors In EsSpark


I'm getting a NumberFormatException[For input string: "null"] from a call to EsSpark.saveToEs. Is there a simple way for me get more detail from this error message? The RDD its trying to save from is very large and I can't find the particular mapping that this is failing on easily.

(Costin Leau) #2

Unfortunately there's not much information to pass around especially in case of an RDD since the connector does not know whether of if there's any information before or after the field causing the error.
Further more, in case of an RDD there's no field name to point at - however we could look at the backing partition (not sure how much helps though).

That being said, anything in particular that you are looking for? Anything that would help out tracking down the error?

(system) #3