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

CCA-175 Environment avro libraries

Explorer

Hi Team

 

Can you please advise if i need to read avro files on the CCA-175 exam environment,will the below work

 

import com.databricks.spark.avro._
val avroDF = sqlContext.read.avro("/user/test/emp-avro")
 

 

4 REPLIES 4

Expert Contributor

Hi there,

 

You are welcome to watch the updated exam preparation video, as well as read through the required skills on the related exam webpage here:  https://www.cloudera.com/about/training/certification/cca-spark.html

 

 

Thank you.

 

 

New Contributor

Hi, The video posted on certification site does not mention any information related to avro files.

Let me rephrase the question.

Do we need to explicitly include avro packages when we launch pyspark (or spark-shell, in case of scala) using "--packages org.apache.spark:spark-avro_2. ... " option ?

Appreciate your response as we are unable to find an answer for this anywhere.

Thanks

 

Expert Contributor

Hi there,

 

All information is mentioned in the video and in the related exam webpage in order to successfully pass this certification exam. You are welcome to check out the required skills section again.

 

Thank you for your understanding.

Explorer

Simple & valid question but no chance of a simple answer. Just copy and paste the FAQ. Great job Cloudera bots!