ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitalyi Brodetskyi" <vbrodets...@hortonworks.com>
Subject Re: Review Request 38482: Ambari QE Deploy Test: ambari-server failed to start with SQLA due to invalid credentials
Date Fri, 18 Sep 2015 15:22:23 GMT

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

Ship it!


Ship It!

- Vitalyi Brodetskyi


On Вер. 18, 2015, 9:31 до полудня, Vitalyi Brodetskyi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/38482/
> -----------------------------------------------------------
> 
> (Updated Вер. 18, 2015, 9:31 до полудня)
> 
> 
> Review request for Ambari, Jayush Luniya and Sumit Mohanty.
> 
> 
> Bugs: AMBARI-13140
>     https://issues.apache.org/jira/browse/AMBARI-13140
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> ambari server setup command: 
> ambari-server setup --database=sqlanywhere --databasehost=amb-devdeploy-restart-sqla-2-3.novalocal
--databaseport=2638 --databasename=ambaricustom --databaseusername=ambaricustomuser --sqla-server-name=hwxsrv
--databasepassword=bigdatacustom --java-home=/usr/jdk64/jdk1.8.0_45 -s
> 
> {code}
> 1) Error injecting constructor, java.lang.RuntimeException: java.sql.SQLException: [SAP][JDBC
Driver][SQL Anywhere]Invalid user ID or password
>   at org.apache.ambari.server.orm.DBAccessorImpl.<init>(DBAccessorImpl.java:77)
>   while locating org.apache.ambari.server.orm.DBAccessorImpl
>   while locating org.apache.ambari.server.orm.DBAccessor
>     for field at org.apache.ambari.server.orm.dao.DaoUtils.dbAccessor(DaoUtils.java:36)
>   at org.apache.ambari.server.orm.dao.DaoUtils.class(DaoUtils.java:36)
>   while locating org.apache.ambari.server.orm.dao.DaoUtils
>     for field at org.apache.ambari.server.orm.dao.TopologyRequestDAO.daoUtils(TopologyRequestDAO.java:31)
>   at org.apache.ambari.server.orm.dao.TopologyRequestDAO.class(TopologyRequestDAO.java:31)
>   while locating org.apache.ambari.server.orm.dao.TopologyRequestDAO
>     for field at org.apache.ambari.server.topology.PersistedStateImpl.topologyRequestDAO(PersistedStateImpl.java:56)
> Caused by: java.lang.RuntimeException: java.sql.SQLException: [SAP][JDBC Driver][SQL
Anywhere]Invalid user ID or password
> 	at org.apache.ambari.server.orm.DBAccessorImpl.<init>(DBAccessorImpl.java:103)
> 	at org.apache.ambari.server.orm.DBAccessorImpl$$FastClassByGuice$$86dbc63e.newInstance(<generated>)
> 	at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
> 	at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60)
> 	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
> 	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
> 	at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
> 	at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:53)
> 	at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110)
> 	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:94)
> 	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
> 	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
> 	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
> 	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
> 	at com.google.inject.Scopes$1$1.get(Scopes.java:65)
> 	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
> 	at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:53)
> 	at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:110)
> 	at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:94)
> 	at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
> 	at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
> 	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
> 	at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
> 	at com.google.inject.Scopes$1$1.get(Scopes.java:65)
> 	at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
> 	at com.google.inject.internal.SingleFieldInjector.inject(SingleFieldInjector.java:53)
> 	at com.google.inject.internal.InjectionRequestProcessor$StaticInjection$1.call(InjectionRequestProcessor.java:116)
> 	at com.google.inject.internal.InjectionRequestProcessor$StaticInjection$1.call(InjectionRequestProcessor.java:110)
> 	at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
> 	at com.google.inject.internal.InjectionRequestProcessor$StaticInjection.injectMembers(InjectionRequestProcessor.java:110)
> 	at com.google.inject.internal.InjectionRequestProcessor.injectMembers(InjectionRequestProcessor.java:78)
> 	at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:170)
> 	at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:109)
> 	at com.google.inject.Guice.createInjector(Guice.java:95)
> 	at com.google.inject.Guice.createInjector(Guice.java:72)
> 	at com.google.inject.Guice.createInjector(Guice.java:62)
> 	at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:706)
> Caused by: java.sql.SQLException: [SAP][JDBC Driver][SQL Anywhere]Invalid user ID or
password
> 	at sap.jdbc4.sqlanywhere.IDriver.makeODBCConnection(Native Method)
> 	at sap.jdbc4.sqlanywhere.IDriver.connect(IDriver.java:809)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:664)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:247)
> 	at org.apache.ambari.server.orm.DBAccessorImpl.<init>(DBAccessorImpl.java:83)
> 	... 36 more
> {code}
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/python/ambari_server/dbConfiguration_linux.py 53dba23 
>   ambari-server/src/test/python/TestAmbariServer.py addfce3 
> 
> Diff: https://reviews.apache.org/r/38482/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Vitalyi Brodetskyi
> 
>


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