Job is fails with java.lang.NoClassDefFoundError: Could not initialize class error
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-27-2023 12:50 AM
hi,
It is scala code where we are connecting Redis to store (sparkcontext.toRedisKV) and i am also using scala udf . ihave excuted the same code in notebook without scala object and it works fine but everytime it fails when i am using same code in jar and excute it through job with java.lang.NoClassDefFoundError: Could not initialize class error.
Labels:
- Labels:
-
Job
-
Scala Code