Description
When a HiveAction is launched form Oozie with Hive On Spark enabled, we're getting errors:
Caused by: java.io.IOException: Exception reading file:/yarn/nm/usercache/yshi/appcache/application_1485271416004_0022/container_1485271416004_0022_01_000002/container_tokens at org.apache.hadoop.security.Credentials.readTokenStorageFile(Credentials.java:188) at org.apache.hadoop.mapreduce.security.TokenCache.mergeBinaryTokens(TokenCache.java:155)
This is caused by passing the mapreduce.job.credentials.binary property to the Spark configuration in RemoteHiveSparkClient.