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/10/05 19:03:41 UTC
Review Request 39001: Class not found exception while running step
"ambari-server upgradestack HDP-2.3" for upgrade path 2.2 -> 2.3.2 Amabri
DB is Oracle
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39001/
-----------------------------------------------------------
Review request for Ambari, Dmitro Lisnichenko and Vitalyi Brodetskyi.
Bugs: AMBARI-13283
https://issues.apache.org/jira/browse/AMBARI-13283
Repository: ambari
Description
-------
As part of upgrade the step "ambari-server upgradestack HDP-2.3" Failed with the exception
29 Sep 2015 10:51:23,202 INFO main ControllerModule:187 - Detected ORACLE as the database type from the JDBC URL
29 Sep 2015 10:51:26,129 INFO main ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.SNMPDispatcher
29 Sep 2015 10:51:26,132 INFO main ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.AlertScriptDispatcher
29 Sep 2015 10:51:26,143 INFO main ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.EmailDispatcher
29 Sep 2015 10:51:29,225 ERROR main DBAccessorImpl:102 - Error while creating database accessor
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
Diffs
-----
ambari-server/src/main/python/ambari_server/serverClassPath.py PRE-CREATION
ambari-server/src/main/python/ambari_server/serverConfiguration.py bc9823c
ambari-server/src/main/python/ambari_server/serverSetup.py b3e6e21
ambari-server/src/main/python/ambari_server/serverUpgrade.py 3545b65
ambari-server/src/main/python/ambari_server/setupSecurity.py 9b88bef
ambari-server/src/main/python/ambari_server_main.py 4f532f3
ambari-server/src/test/python/TestAmbariServer.py 056dac8
ambari-server/src/test/python/TestServerClassPath.py PRE-CREATION
Diff: https://reviews.apache.org/r/39001/diff/
Testing
-------
Unit tests passed
Thanks,
Dmytro Sen
Re: Review Request 39001: Class not found exception while running step
"ambari-server upgradestack HDP-2.3" for upgrade path 2.2 -> 2.3.2 Amabri
DB is Oracle
Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39001/#review101891
-----------------------------------------------------------
ambari-server/src/main/python/ambari_server/serverClassPath.py (line 102)
<https://reviews.apache.org/r/39001/#comment159394>
It's not obvious that get_full_ambari_classpath method can return quoted classpath. Can return it here unquoted and then simply decorate with quote_bash_args(..) which will also catch other espace symbols like !'"$ in path.
- Andrew Onischuk
On Oct. 8, 2015, 9:30 a.m., Dmytro Sen wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39001/
> -----------------------------------------------------------
>
> (Updated Oct. 8, 2015, 9:30 a.m.)
>
>
> Review request for Ambari, Dmitro Lisnichenko and Vitalyi Brodetskyi.
>
>
> Bugs: AMBARI-13283
> https://issues.apache.org/jira/browse/AMBARI-13283
>
>
> Repository: ambari
>
>
> Description
> -------
>
> As part of upgrade the step "ambari-server upgradestack HDP-2.3" Failed with the exception
> 29 Sep 2015 10:51:23,202 INFO main ControllerModule:187 - Detected ORACLE as the database type from the JDBC URL
> 29 Sep 2015 10:51:26,129 INFO main ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.SNMPDispatcher
> 29 Sep 2015 10:51:26,132 INFO main ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.AlertScriptDispatcher
> 29 Sep 2015 10:51:26,143 INFO main ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.EmailDispatcher
> 29 Sep 2015 10:51:29,225 ERROR main DBAccessorImpl:102 - Error while creating database accessor
> java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
>
>
> Diffs
> -----
>
> ambari-server/src/main/python/ambari-server.py 7d46f69
> ambari-server/src/main/python/ambari_server/serverClassPath.py PRE-CREATION
> ambari-server/src/main/python/ambari_server/serverConfiguration.py bc9823c
> ambari-server/src/main/python/ambari_server/serverSetup.py b3e6e21
> ambari-server/src/main/python/ambari_server/serverUpgrade.py 3545b65
> ambari-server/src/main/python/ambari_server/setupSecurity.py 9b88bef
> ambari-server/src/main/python/ambari_server_main.py 4f532f3
> ambari-server/src/test/python/TestAmbariServer.py 056dac8
> ambari-server/src/test/python/TestServerClassPath.py PRE-CREATION
>
> Diff: https://reviews.apache.org/r/39001/diff/
>
>
> Testing
> -------
>
> Unit tests passed
>
>
> Thanks,
>
> Dmytro Sen
>
>
Re: Review Request 39001: Class not found exception while running step
"ambari-server upgradestack HDP-2.3" for upgrade path 2.2 -> 2.3.2 Amabri
DB is Oracle
Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39001/#review101887
-----------------------------------------------------------
Ship it!
ambari-server/src/main/python/ambari_server/serverClassPath.py (line 102)
<https://reviews.apache.org/r/39001/#comment159389>
could just use ' ' in class_path
- Dmitro Lisnichenko
On Oct. 8, 2015, 9:30 a.m., Dmytro Sen wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39001/
> -----------------------------------------------------------
>
> (Updated Oct. 8, 2015, 9:30 a.m.)
>
>
> Review request for Ambari, Dmitro Lisnichenko and Vitalyi Brodetskyi.
>
>
> Bugs: AMBARI-13283
> https://issues.apache.org/jira/browse/AMBARI-13283
>
>
> Repository: ambari
>
>
> Description
> -------
>
> As part of upgrade the step "ambari-server upgradestack HDP-2.3" Failed with the exception
> 29 Sep 2015 10:51:23,202 INFO main ControllerModule:187 - Detected ORACLE as the database type from the JDBC URL
> 29 Sep 2015 10:51:26,129 INFO main ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.SNMPDispatcher
> 29 Sep 2015 10:51:26,132 INFO main ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.AlertScriptDispatcher
> 29 Sep 2015 10:51:26,143 INFO main ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.EmailDispatcher
> 29 Sep 2015 10:51:29,225 ERROR main DBAccessorImpl:102 - Error while creating database accessor
> java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
>
>
> Diffs
> -----
>
> ambari-server/src/main/python/ambari-server.py 7d46f69
> ambari-server/src/main/python/ambari_server/serverClassPath.py PRE-CREATION
> ambari-server/src/main/python/ambari_server/serverConfiguration.py bc9823c
> ambari-server/src/main/python/ambari_server/serverSetup.py b3e6e21
> ambari-server/src/main/python/ambari_server/serverUpgrade.py 3545b65
> ambari-server/src/main/python/ambari_server/setupSecurity.py 9b88bef
> ambari-server/src/main/python/ambari_server_main.py 4f532f3
> ambari-server/src/test/python/TestAmbariServer.py 056dac8
> ambari-server/src/test/python/TestServerClassPath.py PRE-CREATION
>
> Diff: https://reviews.apache.org/r/39001/diff/
>
>
> Testing
> -------
>
> Unit tests passed
>
>
> Thanks,
>
> Dmytro Sen
>
>
Re: Review Request 39001: Class not found exception while running step
"ambari-server upgradestack HDP-2.3" for upgrade path 2.2 -> 2.3.2 Amabri
DB is Oracle
Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39001/#review101926
-----------------------------------------------------------
Ship it!
Ship It!
- Dmitro Lisnichenko
On Oct. 8, 2015, 3:26 p.m., Dmytro Sen wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39001/
> -----------------------------------------------------------
>
> (Updated Oct. 8, 2015, 3:26 p.m.)
>
>
> Review request for Ambari, Dmitro Lisnichenko and Vitalyi Brodetskyi.
>
>
> Bugs: AMBARI-13283
> https://issues.apache.org/jira/browse/AMBARI-13283
>
>
> Repository: ambari
>
>
> Description
> -------
>
> As part of upgrade the step "ambari-server upgradestack HDP-2.3" Failed with the exception
> 29 Sep 2015 10:51:23,202 INFO main ControllerModule:187 - Detected ORACLE as the database type from the JDBC URL
> 29 Sep 2015 10:51:26,129 INFO main ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.SNMPDispatcher
> 29 Sep 2015 10:51:26,132 INFO main ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.AlertScriptDispatcher
> 29 Sep 2015 10:51:26,143 INFO main ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.EmailDispatcher
> 29 Sep 2015 10:51:29,225 ERROR main DBAccessorImpl:102 - Error while creating database accessor
> java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
>
>
> Diffs
> -----
>
> ambari-server/src/main/python/ambari-server.py 7d46f69
> ambari-server/src/main/python/ambari_server/serverClassPath.py PRE-CREATION
> ambari-server/src/main/python/ambari_server/serverConfiguration.py bc9823c
> ambari-server/src/main/python/ambari_server/serverSetup.py b3e6e21
> ambari-server/src/main/python/ambari_server/serverUpgrade.py 3545b65
> ambari-server/src/main/python/ambari_server/setupSecurity.py 9b88bef
> ambari-server/src/main/python/ambari_server_main.py 4f532f3
> ambari-server/src/test/python/TestAmbariServer.py 056dac8
> ambari-server/src/test/python/TestServerClassPath.py PRE-CREATION
>
> Diff: https://reviews.apache.org/r/39001/diff/
>
>
> Testing
> -------
>
> Unit tests passed
>
>
> Thanks,
>
> Dmytro Sen
>
>
Re: Review Request 39001: Class not found exception while running step
"ambari-server upgradestack HDP-2.3" for upgrade path 2.2 -> 2.3.2 Amabri
DB is Oracle
Posted by Andrew Onischuk <ao...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39001/#review101922
-----------------------------------------------------------
Ship it!
Ship It!
- Andrew Onischuk
On Oct. 8, 2015, 3:26 p.m., Dmytro Sen wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39001/
> -----------------------------------------------------------
>
> (Updated Oct. 8, 2015, 3:26 p.m.)
>
>
> Review request for Ambari, Dmitro Lisnichenko and Vitalyi Brodetskyi.
>
>
> Bugs: AMBARI-13283
> https://issues.apache.org/jira/browse/AMBARI-13283
>
>
> Repository: ambari
>
>
> Description
> -------
>
> As part of upgrade the step "ambari-server upgradestack HDP-2.3" Failed with the exception
> 29 Sep 2015 10:51:23,202 INFO main ControllerModule:187 - Detected ORACLE as the database type from the JDBC URL
> 29 Sep 2015 10:51:26,129 INFO main ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.SNMPDispatcher
> 29 Sep 2015 10:51:26,132 INFO main ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.AlertScriptDispatcher
> 29 Sep 2015 10:51:26,143 INFO main ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.EmailDispatcher
> 29 Sep 2015 10:51:29,225 ERROR main DBAccessorImpl:102 - Error while creating database accessor
> java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
>
>
> Diffs
> -----
>
> ambari-server/src/main/python/ambari-server.py 7d46f69
> ambari-server/src/main/python/ambari_server/serverClassPath.py PRE-CREATION
> ambari-server/src/main/python/ambari_server/serverConfiguration.py bc9823c
> ambari-server/src/main/python/ambari_server/serverSetup.py b3e6e21
> ambari-server/src/main/python/ambari_server/serverUpgrade.py 3545b65
> ambari-server/src/main/python/ambari_server/setupSecurity.py 9b88bef
> ambari-server/src/main/python/ambari_server_main.py 4f532f3
> ambari-server/src/test/python/TestAmbariServer.py 056dac8
> ambari-server/src/test/python/TestServerClassPath.py PRE-CREATION
>
> Diff: https://reviews.apache.org/r/39001/diff/
>
>
> Testing
> -------
>
> Unit tests passed
>
>
> Thanks,
>
> Dmytro Sen
>
>
Re: Review Request 39001: Class not found exception while running step
"ambari-server upgradestack HDP-2.3" for upgrade path 2.2 -> 2.3.2 Amabri
DB is Oracle
Posted by Dmytro Sen <ds...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39001/
-----------------------------------------------------------
(Updated Окт. 8, 2015, 3:26 п.п.)
Review request for Ambari, Dmitro Lisnichenko and Vitalyi Brodetskyi.
Bugs: AMBARI-13283
https://issues.apache.org/jira/browse/AMBARI-13283
Repository: ambari
Description
-------
As part of upgrade the step "ambari-server upgradestack HDP-2.3" Failed with the exception
29 Sep 2015 10:51:23,202 INFO main ControllerModule:187 - Detected ORACLE as the database type from the JDBC URL
29 Sep 2015 10:51:26,129 INFO main ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.SNMPDispatcher
29 Sep 2015 10:51:26,132 INFO main ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.AlertScriptDispatcher
29 Sep 2015 10:51:26,143 INFO main ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.EmailDispatcher
29 Sep 2015 10:51:29,225 ERROR main DBAccessorImpl:102 - Error while creating database accessor
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
Diffs (updated)
-----
ambari-server/src/main/python/ambari-server.py 7d46f69
ambari-server/src/main/python/ambari_server/serverClassPath.py PRE-CREATION
ambari-server/src/main/python/ambari_server/serverConfiguration.py bc9823c
ambari-server/src/main/python/ambari_server/serverSetup.py b3e6e21
ambari-server/src/main/python/ambari_server/serverUpgrade.py 3545b65
ambari-server/src/main/python/ambari_server/setupSecurity.py 9b88bef
ambari-server/src/main/python/ambari_server_main.py 4f532f3
ambari-server/src/test/python/TestAmbariServer.py 056dac8
ambari-server/src/test/python/TestServerClassPath.py PRE-CREATION
Diff: https://reviews.apache.org/r/39001/diff/
Testing
-------
Unit tests passed
Thanks,
Dmytro Sen
Re: Review Request 39001: Class not found exception while running step
"ambari-server upgradestack HDP-2.3" for upgrade path 2.2 -> 2.3.2 Amabri
DB is Oracle
Posted by Dmytro Sen <ds...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39001/
-----------------------------------------------------------
(Updated Окт. 8, 2015, 9:30 д.п.)
Review request for Ambari, Dmitro Lisnichenko and Vitalyi Brodetskyi.
Bugs: AMBARI-13283
https://issues.apache.org/jira/browse/AMBARI-13283
Repository: ambari
Description
-------
As part of upgrade the step "ambari-server upgradestack HDP-2.3" Failed with the exception
29 Sep 2015 10:51:23,202 INFO main ControllerModule:187 - Detected ORACLE as the database type from the JDBC URL
29 Sep 2015 10:51:26,129 INFO main ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.SNMPDispatcher
29 Sep 2015 10:51:26,132 INFO main ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.AlertScriptDispatcher
29 Sep 2015 10:51:26,143 INFO main ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.EmailDispatcher
29 Sep 2015 10:51:29,225 ERROR main DBAccessorImpl:102 - Error while creating database accessor
java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
Diffs (updated)
-----
ambari-server/src/main/python/ambari-server.py 7d46f69
ambari-server/src/main/python/ambari_server/serverClassPath.py PRE-CREATION
ambari-server/src/main/python/ambari_server/serverConfiguration.py bc9823c
ambari-server/src/main/python/ambari_server/serverSetup.py b3e6e21
ambari-server/src/main/python/ambari_server/serverUpgrade.py 3545b65
ambari-server/src/main/python/ambari_server/setupSecurity.py 9b88bef
ambari-server/src/main/python/ambari_server_main.py 4f532f3
ambari-server/src/test/python/TestAmbariServer.py 056dac8
ambari-server/src/test/python/TestServerClassPath.py PRE-CREATION
Diff: https://reviews.apache.org/r/39001/diff/
Testing
-------
Unit tests passed
Thanks,
Dmytro Sen
Re: Review Request 39001: Class not found exception while running step
"ambari-server upgradestack HDP-2.3" for upgrade path 2.2 -> 2.3.2 Amabri
DB is Oracle
Posted by Dmitro Lisnichenko <dl...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/39001/#review101494
-----------------------------------------------------------
Ship it!
Ship It!
- Dmitro Lisnichenko
On Oct. 5, 2015, 5:03 p.m., Dmytro Sen wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39001/
> -----------------------------------------------------------
>
> (Updated Oct. 5, 2015, 5:03 p.m.)
>
>
> Review request for Ambari, Dmitro Lisnichenko and Vitalyi Brodetskyi.
>
>
> Bugs: AMBARI-13283
> https://issues.apache.org/jira/browse/AMBARI-13283
>
>
> Repository: ambari
>
>
> Description
> -------
>
> As part of upgrade the step "ambari-server upgradestack HDP-2.3" Failed with the exception
> 29 Sep 2015 10:51:23,202 INFO main ControllerModule:187 - Detected ORACLE as the database type from the JDBC URL
> 29 Sep 2015 10:51:26,129 INFO main ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.SNMPDispatcher
> 29 Sep 2015 10:51:26,132 INFO main ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.AlertScriptDispatcher
> 29 Sep 2015 10:51:26,143 INFO main ControllerModule:564 - Binding and registering notification dispatcher class org.apache.ambari.server.notifications.dispatchers.EmailDispatcher
> 29 Sep 2015 10:51:29,225 ERROR main DBAccessorImpl:102 - Error while creating database accessor
> java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver
>
>
> Diffs
> -----
>
> ambari-server/src/main/python/ambari_server/serverClassPath.py PRE-CREATION
> ambari-server/src/main/python/ambari_server/serverConfiguration.py bc9823c
> ambari-server/src/main/python/ambari_server/serverSetup.py b3e6e21
> ambari-server/src/main/python/ambari_server/serverUpgrade.py 3545b65
> ambari-server/src/main/python/ambari_server/setupSecurity.py 9b88bef
> ambari-server/src/main/python/ambari_server_main.py 4f532f3
> ambari-server/src/test/python/TestAmbariServer.py 056dac8
> ambari-server/src/test/python/TestServerClassPath.py PRE-CREATION
>
> Diff: https://reviews.apache.org/r/39001/diff/
>
>
> Testing
> -------
>
> Unit tests passed
>
>
> Thanks,
>
> Dmytro Sen
>
>