Support Questions
Find answers, ask questions, and share your expertise

Save data to HIVE using pyspark

Save data to HIVE using pyspark


Hello guys hope you doin well

I'm trying to save data in HIVE using pyspark But I keep getting this error :

Caused by: Mkdirs failed to create file:/user/hive/warehouse/global_2g/_temporary/0/_temporary/attempt_20210311073102_0002_m_000000_2 (exists=false, cwd=file:/home/cloudera/Desktop/notebooks/sparkStreaming)

Here's my code :