ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Re: Review Request 35784: MySQL package is not available on CentOS7
Date Tue, 23 Jun 2015 12:44:24 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35784/#review88959
-----------------------------------------------------------


# There are other packages that contain /usr/share/java/mysql-connector-java.jar (like libmysql-java),
# trying to install mysql-connector-java upon them can cause packages to conflict.
if hive_use_existing_db:
  hive_exclude_packages = ['mysql-connector-java', 'mysql', 'mysql-server']
else:
  if 'role' in config and config['role'] != "MYSQL_SERVER":
    hive_exclude_packages = ['mysql', 'mysql-server']
  if os.path.exists(mysql_jdbc_driver_jar):
    hive_exclude_packages.append('mysql-connector-java')
    
    
please consider editting this code as well.

- Andrew Onischuk


On June 23, 2015, 12:42 p.m., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35784/
> -----------------------------------------------------------
> 
> (Updated June 23, 2015, 12:42 p.m.)
> 
> 
> Review request for Ambari and Andrew Onischuk.
> 
> 
> Bugs: AMBARI-12088
>     https://issues.apache.org/jira/browse/AMBARI-12088
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> CentOS 7 doesn't ship mysql. It's been replaced with Mariadb. It causes HIVE with managed
mysql to fail.
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/metainfo.xml dc15741

>   ambari-server/src/main/resources/stacks/HDP/2.1/services/HIVE/metainfo.xml db5c0bc

>   ambari-server/src/main/resources/stacks/HDP/2.2/services/HIVE/metainfo.xml ea41b9a

>   ambari-server/src/main/resources/stacks/HDP/2.3/services/HIVE/metainfo.xml 9eb5efe

> 
> Diff: https://reviews.apache.org/r/35784/diff/
> 
> 
> Testing
> -------
> 
> ----------------------------------------------------------------------
> Ran 266 tests in 8.586s
> 
> OK
> ----------------------------------------------------------------------
> Total run:793
> Total errors:0
> Total failures:0
> OK
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message