Root dir varies between different spark master and deploy mode, it also varies between relative and absolute path.
Get specific plugin dir
Get files dir of specific plugin
Get lib dir of specific plugin
Plugin Root Dir
Set mode.
Set mode. return false in case of failure