You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmytro Sen <ds...@hortonworks.com> on 2015/06/23 14:42:56 UTC
Review Request 35784: MySQL package is not available on CentOS7
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35784/
-----------------------------------------------------------
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
Re: Review Request 35784: MySQL package is not available on CentOS7
Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35784/#review88963
-----------------------------------------------------------
Ship it!
Ship It!
- Andrew Onischuk
On June 23, 2015, 12:52 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:52 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/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
>
>
Re: Review Request 35784: MySQL package is not available on CentOS7
Posted by Dmytro Sen <ds...@hortonworks.com>.
-----------------------------------------------------------
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 (updated)
-----
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
Re: Review Request 35784: MySQL package is not available on CentOS7
Posted by Dmytro Sen <ds...@hortonworks.com>.
> 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
>
>
Re: Review Request 35784: MySQL package is not available on CentOS7
Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
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
>
>