Support distributed cache files and archives on spark on yarn