Hi Umesh,
>From your email, it looks like you are using hoodie-spark jar. Please use
>hoodie-spark-bundle jar instead of hoodie-spark jar. Here is an example from
>quickstart:
Quickstart | Hudi
|
|
| |
Quickstart | Hudi
|
|
|
Balaji.V
On Thursday, March 7, 2019, 7:00:17 AM PST, Vinoth Chandar
<[email protected]> wrote:
Hi Umesh,
Normally spark users build a fat/uber jar with all depedencies. This is the
same process to be followed for hoodie-spark as well, which will pull all
the dependencies like hoodie-common as well.
Are you doing something similar?
Thanks
Vinoth
On Thu, Mar 7, 2019 at 2:11 AM Umesh Kacha <[email protected]> wrote:
> Hi I am trying to use Hoodie 0.4.4 jar in spark-shell and when I try to
> save spark DataFrame as hoodi table I get the exception saying
>
> NoClassDefFoundError: com/uber/hoodie/exception/HoodiException
>
> Similar error occurs for HoodieWriteConfig values and
> DataSourceWriteOptions classes.
>
> Do I need to include others jars I can see hoodie-spark-0.4.4.jar is uber
> fat jar which contains all transitive depenendices? No?
>
> Please advise. Thank you.
>