-
Notifications
You must be signed in to change notification settings - Fork 4.8k
HIVE-29086: Fix ClassNotFoundException: org.apache.tez.dag.DAG when engine is mr #5968
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
base: master
Are you sure you want to change the base?
Conversation
…ngine is mr Fix ClassNotFoundException: org.apache.tez.dag.DAG when engine is mr
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you put the trace in the ticket & a sample query to reproduce this
@@ -396,7 +396,10 @@ public void handle(Signal signal) { | |||
|
|||
// First, kill any running MR jobs | |||
HadoopJobExecHelper.killRunningJobs(); | |||
TezJobExecHelper.killRunningJobs(); | |||
//when engine is not tez,it will throw ClassNotFoundException: org.apache.tez.dag.DAG |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this comment isn't required
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix
@@ -396,7 +396,10 @@ public void handle(Signal signal) { | |||
|
|||
// First, kill any running MR jobs | |||
HadoopJobExecHelper.killRunningJobs(); | |||
TezJobExecHelper.killRunningJobs(); | |||
//when engine is not tez,it will throw ClassNotFoundException: org.apache.tez.dag.DAG | |||
if ("tez".equalsIgnoreCase(conf.get("hive.execution.engine"))) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Change it to
"tez".equalsIgnoreCase(HiveConf.getVar(conf, HiveConf.ConfVars.HIVE_EXECUTION_ENGINE))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix
I currently don’t have access to the trace — it’s on my work laptop. I’ll retrieve it first thing Monday and share both the trace and a sample query to help reproduce the issue. Thanks for your patience! |
|
What changes were proposed in this pull request?
Fix ClassNotFoundException: org.apache.tez.dag.DAG when engine is mr
Why are the changes needed?
fix: HIVE-29086
Does this PR introduce any user-facing change?
no
How was this patch tested?
local test.