Spark inherits its security from the underlying mechanisms in either YARN or MESOS (whichever environment you are launching your cluster/jobs) 

That said… there is limited support from Ranger.  There are three parts to this… 

1) Ranger being called when the job is launched… 

2) Ranger being called when data is being read from disk (HDFS) or HBase, however… once the application has the data… its fair game. 

Now if Ranger were woven in to a thrift server (which would be a one off ) then you would have more security if you were planning on providing the data to multiple users and applications… 


Does that help? 

On Nov 7, 2016, at 3:41 AM, Mudit Kumar <mkumar128@sapient.com> wrote:

Hi,
 
Do ranger provide security to spark?If yes,then in what capacity.
 
Thanks,
Mudit