[
https://issues.apache.org/jira/browse/AMBARI-7420?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Scaffidi updated AMBARI-7420:
-----------------------------------
Description:
This is a bug that was introduced by the patch applied for AMBARI-6709.
When more than one database exists in Hive, the code that checks and adjusts
the FS URLs for Hive tables always fails the check, and consequently attempts
to use the metatool command to "fix" the "problem"
Unfortunately, when there are multiple databases, performing this action
corrupts the metastore because it causes *all* database paths to be changed to
the default DBs path.
was:
This is a bug that was introduced by the patch applied for AMBARI-6709.
When more than one database exists in Hive, the code that checks and adjusts
the FS URLs for Hive tables always fails the check, and consequently attempts
to use the metatool command to "fix" the "problem"
Unfortunately, when there are multiple databases, performing this action
corrupts the megastore because it causes *all* database paths to be changed to
the default DBs path.
> Hive warehouse root check breaks with multiple DBs
> --------------------------------------------------
>
> Key: AMBARI-7420
> URL: https://issues.apache.org/jira/browse/AMBARI-7420
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 1.7.0
> Reporter: Steve Scaffidi
>
> This is a bug that was introduced by the patch applied for AMBARI-6709.
> When more than one database exists in Hive, the code that checks and adjusts
> the FS URLs for Hive tables always fails the check, and consequently attempts
> to use the metatool command to "fix" the "problem"
> Unfortunately, when there are multiple databases, performing this action
> corrupts the metastore because it causes *all* database paths to be changed
> to the default DBs path.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)