ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srimanth Gunturi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-6460) NPEs loading stack definition service config-types
Date Thu, 10 Jul 2014 19:51:05 GMT

    [ https://issues.apache.org/jira/browse/AMBARI-6460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14057855#comment-14057855
] 

Srimanth Gunturi commented on AMBARI-6460:
------------------------------------------

Review at https://reviews.apache.org/r/23400/

> NPEs loading stack definition service config-types
> --------------------------------------------------
>
>                 Key: AMBARI-6460
>                 URL: https://issues.apache.org/jira/browse/AMBARI-6460
>             Project: Ambari
>          Issue Type: Bug
>          Components: controller
>    Affects Versions: 1.7.0
>            Reporter: Srimanth Gunturi
>            Assignee: Srimanth Gunturi
>             Fix For: 1.7.0
>
>
> Ambari-server log is full of exceptions
> {code}
> 13:16:03,551 ERROR [main] StackExtensionHelper:680 - Could not load configuration for
/var/lib/ambari-server/resources/stacks/HDP/2.1/services/PIG/configuration/pig-properties.xml
> java.lang.NullPointerException
>         at org.apache.ambari.server.api.util.StackExtensionHelper.addConfigTypeProperty(StackExtensionHelper.java:652)
>         at org.apache.ambari.server.api.util.StackExtensionHelper.populateServiceProperties(StackExtensionHelper.java:617)
>         at org.apache.ambari.server.api.util.StackExtensionHelper.setPropertiesFromConfigs(StackExtensionHelper.java:678)
>         at org.apache.ambari.server.api.util.StackExtensionHelper.populateServicesForStack(StackExtensionHelper.java:424)
>         at org.apache.ambari.server.api.util.StackExtensionHelper.getStackInfo(StackExtensionHelper.java:585)
>         at org.apache.ambari.server.api.util.StackExtensionHelper.fillInfo(StackExtensionHelper.java:120)
>         at org.apache.ambari.server.api.services.AmbariMetaInfo.getConfigurationInformation(AmbariMetaInfo.java:783)
>         at org.apache.ambari.server.api.services.AmbariMetaInfo.init(AmbariMetaInfo.java:163)
>         at org.apache.ambari.server.api.services.AmbariMetaInfo$$FastClassByGuice$$202844bc.invoke(<generated>)
>         at com.google.inject.internal.cglib.reflect.$FastMethod.invoke(FastMethod.java:53)
>         at com.google.inject.internal.SingleMethodInjector$1.invoke(SingleMethodInjector.java:56)
>         at com.google.inject.internal.SingleMethodInjector.inject(SingleMethodInjector.java:90)
>         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.InjectorImpl$4$1.call(InjectorImpl.java:978)
>         at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
>         at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
>         at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
>         at org.apache.ambari.server.controller.AmbariServer.main(AmbariServer.java:568)
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message