Jump to content

help: teradata spark write


AleAle

Recommended Posts

attention seeking ani savagottaddu

stackover flow, teradata forums anni chusesi work out kaka ikda post chestunna , may be solution dorkutadani

genuine doubt stuck since a day

opened shell with the below command:

spark-shell --jars "terajdbc4.jar,tdgssconfig.jar" --conf spark.debug.maxToStringFields=100 --verbose --master yarn  --driver-memory 2g --driver-cores 1 --executor-memory 3g --num-executors 4 --executor-cores 3  -- --output-method internal.fastload

 

data frame is 

df.write.
format("jdbc").
option("url", "jdbc:teradata://abcd.com").
option("dbtable", "dbname.tablename").
option("user", "userid").
option("password", "pwd").
mode("overwrite").
option("driver","com.teradata.jdbc.TeraDriver").
save()
                   

trying to write data frame from spark to teradata, its working with less volume of data (10,000 records)

but when i try to load huge volumes like more than million records its failing:  


 

 

evaraina work chesara dini mida? 

chesunte help me out
 

Issue fixed topic close ,thread closed

Link to comment
Share on other sites

Just now, No_body_friends said:

Google,stack overflow lantivi thelusa? 

+_(

11 minutes ago, AleAle said:

stackover flow, teradata forums anni chusesi work out kaka ikda post chestunna , may be solution dorkutadani

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...