* @throws IOException
* @throws InterruptedException
*/
public static Map<String, String> getActionData(final FileSystem fs, final Path actionDir, final Configuration conf)
throws IOException, InterruptedException {
UserGroupInformationService ugiService = Services.get().get(UserGroupInformationService.class);
UserGroupInformation ugi = ugiService.getProxyUser(conf.get(OozieClient.USER_NAME));
return ugi.doAs(new PrivilegedExceptionAction<Map<String, String>>() {
@Override
public Map<String, String> run() throws IOException {
Map<String, String> ret = new HashMap<String, String>();