Your code (at
com.ctrip.ml.toolimpl.MetadataImpl$$anonfun$1.apply(MetadataImpl.scala:22))
needs to check isNullAt before calling getInt. This is because you cannot
return null for a primitive value (Int).
On Mon, Dec 14, 2015 at 3:40 AM, zml张明磊 wrote:
> Hi,
>
>
>
> My spark version is
Hi,
My spark version is spark-1.4.1-bin-hadoop2.6. When I submit a spark
job and read data from hive table. Getting the following error. Although it’s
just a WARN. But it’s leading to the job failure.
Maybe the following jira has solved. So, I am confusing.
https://issues.apache.org/j