How to merge multiple json files in sub folders and write into one single file using scala

79 views
Skip to first unread message

PAG

unread,
Sep 28, 2016, 10:57:29 AM9/28/16
to scala-user
For eg :

We have /data/employee in HDFS having 5 sub folders for five different days and each sub folders have json files . I need to merge all files under sub folders into one single file and save it in another directory.

All json files have the same schema .

Thanks
PAG
Reply all
Reply to author
Forward
0 new messages