Open robbie70 opened 6 years ago
I have the same problem.
were you able to resolve this error?
Hi all,
You've probably found solution already but for future reference: I fixed it with converting activityByProduct
DataFrame to RDD before calling .map
:
activityByProduct.rdd.map { r =>
((r.getString(0), r.getLong(1)),
ActivityByProduct(r.getString(0), r.getLong(1), r.getLong(2), r.getLong(3), r.getLong(4)))
}
Hi there, I am trying to run the example shown in Chapter 5 - "state management using...." and have pasted the code I am running below. When I try to execute the paragraph in Zeppelin I get the following error,
I cant see the issue and have spent some time looking at it and double checking that I copied the example from the lesson correctly. Any points/help would be appreciated.
Code entered into the Paragraph