Getting a TreeNode Exception while saving into Hadoop

2016-08-08 Thread max square
Hey guys, I'm trying to save Dataframe in CSV format after performing unionAll operations on it. But I get this exception - Exception in thread "main" org.apache.spark.sql.catalyst.errors.package$TreeNodeException: execute, tree: TungstenExchange hashpartitioning(mId#430,200) I'm saving it by d

Re: Getting a TreeNode Exception while saving into Hadoop

2016-08-08 Thread max square
onAll( placesUpdatedFromRestaurantsWithMerchantId).unionAll(placesChanged) I'm using Spark 1.6.2. On Mon, Aug 8, 2016 at 3:11 PM, Ted Yu wrote: > Can you show the code snippet for unionAll operation ? > > Which Spark release do you use ? > > BTW please use user@spark.apache.org in the future. > > On Mo

Re: Getting a TreeNode Exception while saving into Hadoop

2016-08-08 Thread max square
Aug 8, 2016 at 3:41 PM, Ted Yu wrote: > Mind showing the complete stack trace ? > > Thanks > > On Mon, Aug 8, 2016 at 12:30 PM, max square > wrote: > >> Thanks Ted for the prompt reply. >> >> There are three or four DFs that are coming from various

Re: Getting a TreeNode Exception while saving into Hadoop

2016-08-17 Thread max square
/bump It'd be great if someone can point me to the correct direction. On Mon, Aug 8, 2016 at 5:07 PM, max square wrote: > Here's the complete stacktrace - https://gist.github.com/rohann/ > 649b0fcc9d5062ef792eddebf5a315c1 > > For reference, here's the complete functi

Re: Getting a TreeNode Exception while saving into Hadoop

2016-08-17 Thread max square
check where in > your code you are using this path > > Caused by: org.apache.hadoop.mapred.InvalidInputException: Input path > does not exist: hdfs://testcluster:8020/experiments/vol/spark_chomp_ > data/bak/restaurants-bak/latest > > On Wed, 17 Aug 2016, 10:57 p.m. max square