Member since
05-12-2016
2
Posts
0
Kudos Received
0
Solutions
05-27-2016
04:40 PM
I'm having similar issues. Which parameter did you change in Ambari? For me it seems to fail part way through, often at the last stage.
... View more
05-12-2016
06:13 AM
The solution doesn't work for HDP 2.4.0, running this I get this error when running df.show: 16/05/12 00:53:21 WARN TaskSetManager: Lost task 0.0 in stage 2.0 (TID 8, usfit-hdpdev-n02.global.internal): java.lang.ClassCastException: org.apache.spark.sql.catalyst.expressions.GenericMutableRow cannot be cast to org.apache.spark.sql.Row If I use pyspark it also dies with a different stack trace. I attempt to follow the directions at http://phoenix.apache.org/phoenix_spark.html and update the spark-config to include the spark-client.jar for both ‘spark.executor.extraClassPath’ and ‘spark.driver.extraClassPath’ spark-shell then dies with a pretty long stack trace when attempting to setup the SQLContext. Same thing for pyspark. It appears there are some incompatibilities with the Phoenix jars and with the Spark jars as built in HDP. Does anyone have a work around? thanks!
... View more