I have a scenario where I have some set of avro files in HDFS.And I need generate Avro Schema files for those AVRO data files in HDFS.I tried researching using Spark (https://github.com/databricks/spark-avro/blob/master/src/main/scala/com/databricks/spark/avro/SchemaConverters.scala).
Is there any other than bringing the AVRO data file to local and doing HDFS PUT .
Any Suggestions are welcomed.Thanks !