[jira] [Commented] (AMBARI-21882) Throw an error if unsupported database JDBC driver is configured for HDP services
[ https://issues.apache.org/jira/browse/AMBARI-21882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16158428#comment-16158428 ] Hudson commented on AMBARI-21882: - FAILURE: Integrated in Jenkins build Ambari-branch-2.6 #179 (See [https://builds.apache.org/job/Ambari-branch-2.6/179/]) AMBARI-21882. Throw an error if unsupported database JDBC driver is (stoader: [http://git-wip-us.apache.org/repos/asf?p=ambari.git=commit=f8d30d85f84aa509694107f86077331d99fc4ce8]) * (edit) ambari-server/src/test/python/common-services/HIVE/test_jdbc_driver_config.py * (edit) ambari-server/src/test/python/common-services/configs/sqoop_default.json * (edit) ambari-server/src/test/python/common-services/configs/sqoop_unsupported_jdbc_driver.json * (edit) ambari-server/src/test/python/common-services/SQOOP/test_jdbc_driver_config.py * (edit) ambari-server/src/test/python/common-services/RANGER_KMS/test_db_flavor_config.py * (edit) ambari-server/src/test/python/common-services/RANGER/test_db_flavor_config.py > Throw an error if unsupported database JDBC driver is configured for HDP > services > - > > Key: AMBARI-21882 > URL: https://issues.apache.org/jira/browse/AMBARI-21882 > Project: Ambari > Issue Type: Task > Components: ambari-server >Reporter: Sebastian Toader >Assignee: Sebastian Toader > Fix For: 2.6.0 > > Attachments: AMBARI-21882.v1.patch > > > Ambari supports a couple of RDBMSes which can be set up via {{ambari-server > setup}} in order to have JDBC drivers available for agents. Agent will > download the JDBC driver from the server for HDP services that needs access > to a RDBMS. > The start scripts of these HDP service component checks the service > configuration for the type of JDBC driver and will use the appropriate JDBC > driver. > In case the service configuration refers to a JDBC driver type that is not > supported by Ambari the start script should fail with an error that > explicitly informs the user that an unsupported JDBC driver type has been > specified. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (AMBARI-21882) Throw an error if unsupported database JDBC driver is configured for HDP services
[ https://issues.apache.org/jira/browse/AMBARI-21882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16158007#comment-16158007 ] Jonathan Hurley commented on AMBARI-21882: -- [~stoader] Can you please check this commit ... I think it's causing Python test failures on {{branch-2.6}}: {code} -- Failed tests: ERROR: test_jdbc_type_2_1_0_3_0 (test_jdbc_driver_config.TestJdbcDriverConfig) -- Traceback (most recent call last): File "/Users/jhurley/src/apache/ambari/ambari-server/src/test/python/common-services/HIVE/test_jdbc_driver_config.py", line 53, in test_jdbc_type_2_1_0_3_0 config_file=os.path.join(self.CONFIG_DIR, "hive_default.json")) File "/Users/jhurley/src/apache/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 126, in executeScript raise RuntimeError("Cannot load class %s from %s: %s" % (classname, norm_path, err.message)) RuntimeError: Cannot load class HiveServer from HIVE/2.1.0.3.0/package/scripts/hive_server.py: ERROR: test_unsupported_jdbc_type_throws_error_2_1_0_3_0 (test_jdbc_driver_config.TestJdbcDriverConfig) -- Traceback (most recent call last): File "/Users/jhurley/src/apache/ambari/ambari-server/src/test/python/common-services/HIVE/test_jdbc_driver_config.py", line 62, in test_unsupported_jdbc_type_throws_error_2_1_0_3_0 config_file=os.path.join(self.CONFIG_DIR, "hive_unsupported_jdbc_type.json")) File "/Users/jhurley/src/apache/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 126, in executeScript raise RuntimeError("Cannot load class %s from %s: %s" % (classname, norm_path, err.message)) RuntimeError: Cannot load class HiveServer from HIVE/2.1.0.3.0/package/scripts/hive_server.py: ERROR: test_db_flavor_1_0_0_3_0 (test_db_flavor_config.TestDbFlavorConfig) -- Traceback (most recent call last): File "/Users/jhurley/src/apache/ambari/ambari-server/src/test/python/common-services/RANGER/test_db_flavor_config.py", line 54, in test_db_flavor_1_0_0_3_0 config_file=os.path.join(self.CONFIG_DIR, "ranger_admin_default.json")) File "/Users/jhurley/src/apache/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 126, in executeScript raise RuntimeError("Cannot load class %s from %s: %s" % (classname, norm_path, err.message)) RuntimeError: Cannot load class RangerAdmin from RANGER/1.0.0.3.0/package/scripts/ranger_admin.py: ERROR: test_unsupported_db_flavor_1_0_0_3_0 (test_db_flavor_config.TestDbFlavorConfig) -- Traceback (most recent call last): File "/Users/jhurley/src/apache/ambari/ambari-server/src/test/python/common-services/RANGER/test_db_flavor_config.py", line 63, in test_unsupported_db_flavor_1_0_0_3_0 config_file=os.path.join(self.CONFIG_DIR, "ranger_admin_unsupported_db_flavor.json")) File "/Users/jhurley/src/apache/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 126, in executeScript raise RuntimeError("Cannot load class %s from %s: %s" % (classname, norm_path, err.message)) RuntimeError: Cannot load class RangerAdmin from RANGER/1.0.0.3.0/package/scripts/ranger_admin.py: ERROR: test_db_flavor_1_0_0_3_0 (test_db_flavor_config.TestDbFlavorConfig) -- Traceback (most recent call last): File "/Users/jhurley/src/apache/ambari/ambari-server/src/test/python/common-services/RANGER_KMS/test_db_flavor_config.py", line 54, in test_db_flavor_1_0_0_3_0 config_file=os.path.join(self.CONFIG_DIR, "ranger_kms_default.json")) File "/Users/jhurley/src/apache/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 126, in executeScript raise RuntimeError("Cannot load class %s from %s: %s" % (classname, norm_path, err.message)) RuntimeError: Cannot load class KmsServer from RANGER_KMS/1.0.0.3.0/package/scripts/kms_server.py: ERROR: test_unsupported_db_flavor_1_0_0_3_0 (test_db_flavor_config.TestDbFlavorConfig) -- Traceback (most recent call last): File "/Users/jhurley/src/apache/ambari/ambari-server/src/test/python/common-services/RANGER_KMS/test_db_flavor_config.py", line 63, in test_unsupported_db_flavor_1_0_0_3_0 config_file=os.path.join(self.CONFIG_DIR, "ranger_kms_unsupported_db_flavor.json")) File "/Users/jhurley/src/apache/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py", line 126, in executeScript raise RuntimeError("Cannot load class %s from %s: %s" % (classname, norm_path, err.message)) RuntimeError: Cannot load class
[jira] [Commented] (AMBARI-21882) Throw an error if unsupported database JDBC driver is configured for HDP services
[ https://issues.apache.org/jira/browse/AMBARI-21882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16155412#comment-16155412 ] Hudson commented on AMBARI-21882: - FAILURE: Integrated in Jenkins build Ambari-branch-2.6 #135 (See [https://builds.apache.org/job/Ambari-branch-2.6/135/]) AMBARI-21882. Throw an error if unsupported database JDBC driver is (stoader: [http://git-wip-us.apache.org/repos/asf?p=ambari.git=commit=a86e16185c012b3929532527aed286c1a5050276]) * (edit) ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/params.py * (edit) ambari-server/src/main/resources/common-services/SQOOP/1.4.4.2.0/package/scripts/params_linux.py * (add) ambari-server/src/test/python/common-services/RANGER/test_db_flavor_config.py * (add) ambari-server/src/test/python/common-services/configs/ranger_admin_unsupported_db_flavor.json * (edit) ambari-common/src/main/python/resource_management/libraries/functions/setup_ranger_plugin_xml.py * (edit) ambari-server/src/main/resources/custom_actions/scripts/check_host.py * (edit) ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/params.py * (add) ambari-server/src/test/python/common-services/configs/sqoop_default.json * (add) ambari-server/src/test/python/common-services/SQOOP/test_jdbc_driver_config.py * (add) ambari-server/src/test/python/common-services/HIVE/test_jdbc_driver_config.py * (add) ambari-server/src/test/python/common-services/configs/sqoop_unsupported_jdbc_driver.json * (edit) ambari-server/src/test/python/custom_actions/TestCheckHost.py * (edit) ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py * (add) ambari-server/src/test/python/common-services/configs/ranger_kms_unsupported_db_flavor.json * (add) ambari-server/src/test/python/common-services/RANGER_KMS/test_db_flavor_config.py * (add) ambari-server/src/test/python/common-services/configs/hive_default.json * (add) ambari-server/src/test/python/common-services/configs/ranger_kms_default.json * (add) ambari-server/src/test/python/common-services/configs/hive_unsupported_jdbc_type.json * (add) ambari-server/src/test/python/common-services/configs/ranger_admin_default.json > Throw an error if unsupported database JDBC driver is configured for HDP > services > - > > Key: AMBARI-21882 > URL: https://issues.apache.org/jira/browse/AMBARI-21882 > Project: Ambari > Issue Type: Task > Components: ambari-server >Reporter: Sebastian Toader >Assignee: Sebastian Toader > Fix For: 2.6.0 > > Attachments: AMBARI-21882.v1.patch > > > Ambari supports a couple of RDBMSes which can be set up via {{ambari-server > setup}} in order to have JDBC drivers available for agents. Agent will > download the JDBC driver from the server for HDP services that needs access > to a RDBMS. > The start scripts of these HDP service component checks the service > configuration for the type of JDBC driver and will use the appropriate JDBC > driver. > In case the service configuration refers to a JDBC driver type that is not > supported by Ambari the start script should fail with an error that > explicitly informs the user that an unsupported JDBC driver type has been > specified. -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Commented] (AMBARI-21882) Throw an error if unsupported database JDBC driver is configured for HDP services
[ https://issues.apache.org/jira/browse/AMBARI-21882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16155347#comment-16155347 ] Hudson commented on AMBARI-21882: - FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #8002 (See [https://builds.apache.org/job/Ambari-trunk-Commit/8002/]) AMBARI-21882. Throw an error if unsupported database JDBC driver is (stoader: [http://git-wip-us.apache.org/repos/asf?p=ambari.git=commit=680f1148e8e0dac064b7b77f9fba77d7d5a3c448]) * (edit) ambari-server/src/main/resources/common-services/SQOOP/1.4.4.2.0/package/scripts/params_linux.py * (edit) ambari-server/src/main/resources/custom_actions/scripts/check_host.py * (add) ambari-server/src/test/python/common-services/RANGER_KMS/test_db_flavor_config.py * (edit) ambari-server/src/main/resources/common-services/RANGER/0.4.0/package/scripts/params.py * (add) ambari-server/src/test/python/common-services/configs/ranger_kms_default.json * (edit) ambari-server/src/main/resources/common-services/HIVE/2.1.0.3.0/package/scripts/params_linux.py * (edit) ambari-server/src/main/resources/common-services/HIVE/0.12.0.2.0/package/scripts/params_linux.py * (add) ambari-server/src/test/python/common-services/SQOOP/test_jdbc_driver_config.py * (add) ambari-server/src/test/python/common-services/configs/ranger_kms_unsupported_db_flavor.json * (add) ambari-server/src/test/python/common-services/RANGER/test_db_flavor_config.py * (add) ambari-server/src/test/python/common-services/configs/sqoop_unsupported_jdbc_driver.json * (edit) ambari-server/src/test/python/custom_actions/TestCheckHost.py * (edit) ambari-server/src/main/resources/common-services/RANGER/1.0.0.3.0/package/scripts/params.py * (add) ambari-server/src/test/python/common-services/HIVE/test_jdbc_driver_config.py * (edit) ambari-common/src/main/python/resource_management/libraries/functions/setup_ranger_plugin_xml.py * (add) ambari-server/src/test/python/common-services/configs/hive_default.json * (add) ambari-server/src/test/python/common-services/configs/hive_unsupported_jdbc_type.json * (add) ambari-server/src/test/python/common-services/configs/ranger_admin_default.json * (edit) ambari-server/src/main/resources/common-services/RANGER_KMS/0.5.0.2.3/package/scripts/params.py * (add) ambari-server/src/test/python/common-services/configs/ranger_admin_unsupported_db_flavor.json * (edit) ambari-server/src/main/resources/common-services/SQOOP/1.4.4.3.0/package/scripts/params_linux.py * (add) ambari-server/src/test/python/common-services/configs/sqoop_default.json * (edit) ambari-server/src/main/resources/common-services/RANGER_KMS/1.0.0.3.0/package/scripts/params.py > Throw an error if unsupported database JDBC driver is configured for HDP > services > - > > Key: AMBARI-21882 > URL: https://issues.apache.org/jira/browse/AMBARI-21882 > Project: Ambari > Issue Type: Task > Components: ambari-server >Reporter: Sebastian Toader >Assignee: Sebastian Toader > Fix For: 2.6.0 > > Attachments: AMBARI-21882.v1.patch > > > Ambari supports a couple of RDBMSes which can be set up via {{ambari-server > setup}} in order to have JDBC drivers available for agents. Agent will > download the JDBC driver from the server for HDP services that needs access > to a RDBMS. > The start scripts of these HDP service component checks the service > configuration for the type of JDBC driver and will use the appropriate JDBC > driver. > In case the service configuration refers to a JDBC driver type that is not > supported by Ambari the start script should fail with an error that > explicitly informs the user that an unsupported JDBC driver type has been > specified. -- This message was sent by Atlassian JIRA (v6.4.14#64029)