> On Июнь 23, 2015, 12:44 п.п., Andrew Onischuk wrote:
> > # 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.

Fixed in new patch


- Dmytro


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


On Июнь 23, 2015, 12:52 п.п., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35784/
> -----------------------------------------------------------
> 
> (Updated Июнь 23, 2015, 12:52 п.п.)
> 
> 
> 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/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py
>  0039398 
>   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
> 
>

Reply via email to