Unable to download avro package


I’m unable to download avro package with the following command. Where am I going wrong?

spark-shell --master yarn \
--packages com.databricks:spark-avro_2.10:2.0.1

import com.databricks.spark.avro._


What is the error you are getting?


Sir, surprisingly it’s working now and I am able to save it in that format. Will this package be given to us? “packages com.databricks:spark-avro_2.10:2.0.1”?

However, On a different note, Sir, I am struggling a lot with reading with different file formats, saving and writing it back in various formats. I was attempting to download cloudera’s quickstart vm in windows 10 for the purpose of playing with file formats, testing it and getting familiar with the environment in order to strengthen my understanding, but I am unable to download it. So I am left with testing out the formats in the editor without seeing it in actuality. Do you have any suggestions for this?