Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OOZIE-3622] No mapreduce jars in the classpath for hadoop3 mapreduce job #58

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zjffdu
Copy link

@zjffdu zjffdu commented May 13, 2021

The mapreduce job example in oozie doesn't work due to mapreduce jars won't be included in the classpath, This PR is to add HADOOP_MAPRED_HOME to mapreduce action's launcher jvm's environment.

@zuston
Copy link
Member

zuston commented May 17, 2021

Thanks for your work.
Left comments. Besides please upload PR into Oozie jira.

@@ -474,6 +474,13 @@ protected String findYarnApplicationId(final Context context, final WorkflowActi
}
}

@Override
protected void addActionSpecificEnvVars(Map<String, String> env) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It will be compatible with previous Hadoop version? Like hadoop 2.6?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that's right

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants