ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitaly Brodetskyi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-13140) Ambari QE Deploy Test: ambari-server failed to start with SQLA due to invalid credentials
Date Fri, 18 Sep 2015 09:30:04 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-13140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Vitaly Brodetskyi updated AMBARI-13140:
---------------------------------------
    Attachment: AMBARI-13140.patch

> Ambari QE Deploy Test: ambari-server failed to start with SQLA due to invalid credentials
> -----------------------------------------------------------------------------------------
>
>                 Key: AMBARI-13140
>                 URL: https://issues.apache.org/jira/browse/AMBARI-13140
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.2
>            Reporter: Vitaly Brodetskyi
>            Assignee: Vitaly Brodetskyi
>            Priority: Blocker
>             Fix For: 2.1.2
>
>         Attachments: AMBARI-13140.patch
>
>
> 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}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message