concept data source in category spark
appears as: data sources, data source, A data source, data sources, A data source

This is an excerpt from Manning's book Spark in Action, Second Edition.
First, you will have a look at Spark Packages, which is a site where you can find additional packages to extend Spark. In the second part of this chapter, you will build your own interface to a data source. The supporting example is about ingesting photo metadata. As you may know, all digital photos contain a block of metadata describing the photo in a format called EXIF. You will read EXIF data from all your photos and be ready to perform some analytics!
Figure 9.7 Location of the register file, which tells Spark where the data sources’ advertisers are. The advertiser will tell Spark the short name of the data source (in this lab,
exif).Figure 9.6 The journey to your business logic follows a bit of plumbing code, which involves writing a simple class to advertise your data source short name, the data source, and the relation.
![]()
![]()