YUBI LEE created AMBARI-26598:
---------------------------------
Summary: Don't execute dangerous metatool command when starting
hiveserver2
Key: AMBARI-26598
URL: https://issues.apache.org/jira/browse/AMBARI-26598
Project: Ambari
Issue Type: Bug
Components: stacks
Reporter: YUBI LEE
Assignee: YUBI LEE
On our private Hadoop cluster, database locations were changed unexpectedly.
I found that the {{metatool -updateLocation}} command is executed when
hiveserver2 starts on the ambari-stack.
This code originates from:
- https://issues.apache.org/jira/browse/AMBARI-6709
-
https://github.com/apache/ambari/commit/334583cdd8dcc3e6d454d626a2734c5e85560396
I assume it was originally written for convenience when migrating the
NameNode to another server. However, given that HDFS NameNode HA and HDFS
Federation are now common, this code has become dangerous and can corrupt
metadata.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]