Hi,
I am trying to write dataframe to vertica table. Hdfs scheme isn't configured correctly in the cluster hence I am using web_hdfs_url.
I am getting this error
java.lang.Exception: S2V: FATAL ERROR for job S2V_job3219263099001614116. Job status information is available in the Vertica table test.S2V_JOB_STATUS_USER_NGOYAL. Unable to create/insert into target table test.ngoyal-tst with SaveMode: Overwrite. ERROR MESSAGE: ERROR: java.sql.SQLException: [Vertica]VJDBC ERROR: Failed to glob [webhdfs://hadoop-dw2-nn.smf1.com:50070/user/ngoyal/tempx/S2V_job3219263099001614116/*.parquet] because of error: Seen WebHDFS exception:
URL: [http://hadoop-dw2-nn.smf1.com:50070/webhdfs/v1/user/ngoyal/tempx/S2V_job3219263099001614116/?user.name=ngoyal&op=LISTSTATUS]
HTTP response code: 404
Exception type: FileNotFoundException
Exception message: File /user/ngoyal/tempx/S2V_job3219263099001614116/ does not exist.
This is how I am writing dataframe
dataFrame
.write
.format("com.vertica.spark.datasource.DefaultSource")
.options(connectionProperties)
.mode(saveMode)
.save()