-
Notifications
You must be signed in to change notification settings - Fork 405
ALS app: java.lang.ClassCastException: java.lang.Object cannot be cast to java.lang.String #304
Comments
@cimox and @flyingandrunning -- you say you have this same error? @cimox you commented that it only happens if data is in a wrong format, could you elaborate? Nicholas also has this error but I can't figure out how to reproduce it otherwise. We've looked at loads of theories. |
Sure @srowen, I will try to reproduce it on our dev environment. I'll keep in touch. |
Hi @srowen so I've talked with my colleague and he told me that we can share created model from HDFS with you, if it will help you. Basically we can share whole HDFS dir from project where this issue occurred. If you still need me to try reproduce it, I will give a try. |
This may be related to #312 in that I believe Nicolas is no longer seeing the problem after this change. If you're able to try a build from branch, you can check it out. It'll be in the next release. Let's reopen if anyone still sees it though. |
Hi @srowen, any news related to this issue? Can I help you somehow to fix this? |
We've had a workaround, at least, for a long while. I think that's the resolution for the foreseeable future. |
This is still an issue as seen in #353 The two issues occur in different places, but have some clear similarities:
A value is checked against a marker object The issue is that neither of these checks for the other marker, I don't see an obvious workaround. We can remove Koloboke for now or see if it can be fixed upstream. |
Small update: I see that the code intends to never leave |
Yes, the intention was not to have REMOVED elements, but something went wrong :) |
Yes, that's for sure. That's unfortunate. I was hoping to find there's another way around it. While we can hack the lambda functions we pass to methods like It might be possible to do things like copy collections at key points instead of updating them. That doesn't sound great, but might still be better than foregoing Koloboke entirely. The memory impact of using regular collections is, IIRC, quite significant. There are other primitive collection libraries but none more maintained or better than Koloboke. We can fork some code from Koloboke if needed, temporarily, to get a fix in. Do we know what the fix even is? It's easy to check for |
Well, koloboke is dead, author ignores this critical bug since March. You can use eclipse collections, based on Goldman Sachs implementation of collections, their benefit from memory/perfomance footprint seems to be comparable: https://github.com/eclipse/eclipse-collections |
Reports of a strange ClassCastException in ALS in
master
/2.3
:The text was updated successfully, but these errors were encountered: