- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Oozie workflow example failing despite running oozie-setup.sh sharelib with EJ001
- Labels:
-
Apache Hadoop
-
Apache Oozie
-
MapReduce
Created ‎08-05-2021 01:19 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using Open Source Apache Oozie and I was wondering if perhaps somebody could provide insights into what I'm missing to run the Apache Oozie examples.
I posted all the problem details in
Thank you.
Created ‎08-05-2021 02:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I looked at the source code and looks like this is where the Exception is thrown:
core/src/main/java/org/apache/oozie/action/hadoop/JavaActionExecutor.java
protected void addSystemShareLibForAction(Configuration conf) throws ActionExecutorException {
ShareLibService shareLibService = Services.get().get(ShareLibService.class);
// ShareLibService is null for test cases
if (shareLibService != null) {
try {
List<Path> listOfPaths = shareLibService.getSystemLibJars(JavaActionExecutor.OOZIE_COMMON_LIBDIR);
if (listOfPaths.isEmpty()) {
throw new ActionExecutorException(ActionExecutorException.ErrorType.FAILED, "EJ001",
"Could not locate Oozie sharelib");
}
addLibPathsToClassPath(conf, listOfPaths);
addLibPathsToClassPath(conf, shareLibService.getSystemLibJars(getType()));
}
catch (IOException ex) {
throw new ActionExecutorException(ActionExecutorException.ErrorType.FAILED,
"Failed to add action specific sharelib", ex.getMessage());
}
}
}
