public void addUserArtifact ( String name , DistributedCache . DistributedCacheEntry file ) { if ( file == null ) { throw new IllegalArgumentException ( ) ; } userArtifacts . putIfAbsent ( name , file ) ; }
Adds the path of a custom file required to run the job on a task manager .