-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/25853/
-----------------------------------------------------------
Review request for Ambari, Alejandro Fernandez and Sid Wagle.
Bugs: AMBARI-7418
https://issues.apache.org/jira/browse/AMBARI-7418
Repository: ambari
Description
-------
After putting a new view in place and restarting ambari server, the view starts
to deploy. Admin View properly shows deploying and then when the view is
deployed, create instance is available. I confirmed the views API is already
saying the view is deployed. So all that seems right.
When I go to create the view instance, it fails. This is what I see in firebug.
{code}
{
"status": 500,
"message": "CAPACITY-SCHEDULER{0.2.0}/resources is not an internal type."
}
{code}
And this is what is shown in the ambari-server.log.
To solve this issue, I have to perform ambari-server restart and then all is
fine.
{code}
16:34:31,406 ERROR [qtp1006855222-20] ReadHandler:91 - Caught a runtime
exception executing a query
java.lang.UnsupportedOperationException: CAPACITY-SCHEDULER{0.2.0}/resources is
not an internal type.
at
org.apache.ambari.server.controller.spi.Resource$Type.getInternalType(Resource.java:286)
at
org.apache.ambari.server.controller.utilities.PropertyHelper.getPropertyIds(PropertyHelper.java:91)
at
org.apache.ambari.server.controller.internal.DefaultProviderModule.createResourceProvider(DefaultProviderModule.java:54)
at
org.apache.ambari.server.controller.internal.AbstractProviderModule.registerResourceProvider(AbstractProviderModule.java:384)
at
org.apache.ambari.server.controller.internal.AbstractProviderModule.getResourceProvider(AbstractProviderModule.java:178)
at
org.apache.ambari.server.view.ViewProviderModule.getResourceProvider(ViewProviderModule.java:71)
at
org.apache.ambari.server.controller.internal.ClusterControllerImpl.ensureResourceProvider(ClusterControllerImpl.java:324)
at
org.apache.ambari.server.controller.internal.ClusterControllerImpl.getSchema(ClusterControllerImpl.java:253)
at
org.apache.ambari.server.api.query.render.BaseRenderer.getSchema(BaseRenderer.java:57)
at
org.apache.ambari.server.api.query.render.BaseRenderer.addKeys(BaseRenderer.java:93)
at
org.apache.ambari.server.api.query.render.BaseRenderer.ensureRequiredProperties(BaseRenderer.java:165)
at
org.apache.ambari.server.api.query.render.BaseRenderer.ensureRequiredProperties(BaseRenderer.java:169)
at
org.apache.ambari.server.api.query.render.DefaultRenderer.finalizeProperties(DefaultRenderer.java:53)
at
org.apache.ambari.server.api.query.QueryImpl.finalizeProperties(QueryImpl.java:578)
at
org.apache.ambari.server.api.query.QueryImpl.queryForResources(QueryImpl.java:351)
at
org.apache.ambari.server.api.query.QueryImpl.execute(QueryImpl.java:196)
at
org.apache.ambari.server.api.handlers.ReadHandler.handleRequest(ReadHandler.java:68)
at
org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:135)
at
org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:103)
at
org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:72)
at
org.apache.ambari.server.api.services.ViewInstanceService.getService(ViewInstanceService.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at
com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
at
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
at
com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at
com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at
com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at
com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
at
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1329)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.apache.ambari.server.security.authorization.AmbariAuthorizationFilter.doFilter(AmbariAuthorizationFilter.java:130)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
at
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)
at
org.apache.ambari.server.api.MethodOverrideFilter.doFilter(MethodOverrideFilter.java:72)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)
at
org.apache.ambari.server.api.AmbariPersistFilter.doFilter(AmbariPersistFilter.java:47)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:559)
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1038)
at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:374)
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189)
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:972)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at
org.apache.ambari.server.controller.FailsafeHandlerList.handle(FailsafeHandlerList.java:132)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:363)
at
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483)
at
org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:920)
at
org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:982)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
at
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:627)
at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:51)
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:744)
16:34:31,417 WARN [qtp1006855222-20] ServletHandler:514 -
/api/v1/views/CAPACITY-SCHEDULER/versions/0.2.0/instances/asd
java.lang.UnsupportedOperationException: CAPACITY-SCHEDULER{0.2.0}/resources is
not an internal type.
at
org.apache.ambari.server.controller.spi.Resource$Type.getInternalType(Resource.java:286)
at
org.apache.ambari.server.controller.utilities.PropertyHelper.getPropertyIds(PropertyHelper.java:91)
at
org.apache.ambari.server.controller.internal.DefaultProviderModule.createResourceProvider(DefaultProviderModule.java:54)
at
org.apache.ambari.server.controller.internal.AbstractProviderModule.registerResourceProvider(AbstractProviderModule.java:384)
at
org.apache.ambari.server.controller.internal.AbstractProviderModule.getResourceProvider(AbstractProviderModule.java:178)
at
org.apache.ambari.server.view.ViewProviderModule.getResourceProvider(ViewProviderModule.java:71)
at
org.apache.ambari.server.controller.internal.ClusterControllerImpl.ensureResourceProvider(ClusterControllerImpl.java:324)
at
org.apache.ambari.server.controller.internal.ClusterControllerImpl.getSchema(ClusterControllerImpl.java:253)
at
org.apache.ambari.server.api.query.render.BaseRenderer.getSchema(BaseRenderer.java:57)
at
org.apache.ambari.server.api.query.render.BaseRenderer.addKeys(BaseRenderer.java:93)
at
org.apache.ambari.server.api.query.render.BaseRenderer.ensureRequiredProperties(BaseRenderer.java:165)
at
org.apache.ambari.server.api.query.render.BaseRenderer.ensureRequiredProperties(BaseRenderer.java:169)
at
org.apache.ambari.server.api.query.render.DefaultRenderer.finalizeProperties(DefaultRenderer.java:53)
at
org.apache.ambari.server.api.query.QueryImpl.finalizeProperties(QueryImpl.java:578)
at
org.apache.ambari.server.api.query.QueryImpl.queryForResources(QueryImpl.java:351)
at
org.apache.ambari.server.api.query.QueryImpl.execute(QueryImpl.java:196)
at
org.apache.ambari.server.api.handlers.ReadHandler.handleRequest(ReadHandler.java:68)
at
org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:135)
at
org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:103)
at
org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:72)
at
org.apache.ambari.server.api.services.ViewInstanceService.getService(ViewInstanceService.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at
com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
at
com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
at
com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:288)
at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at
com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at
com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:134)
at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at
com.sun.jersey.server.impl.uri.rules.ResourceClassRule.accept(ResourceClassRule.java:108)
at
com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at
com.sun.jersey.server.impl.uri.rules.RootResourceClassesRule.accept(RootResourceClassesRule.java:84)
at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1469)
at
com.sun.jersey.server.impl.application.WebApplicationImpl._handleRequest(WebApplicationImpl.java:1400)
at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1349)
at
com.sun.jersey.server.impl.application.WebApplicationImpl.handleRequest(WebApplicationImpl.java:1339)
at
com.sun.jersey.spi.container.servlet.WebComponent.service(WebComponent.java:416)
at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:537)
at
com.sun.jersey.spi.container.servlet.ServletContainer.service(ServletContainer.java:708)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:652)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1329)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:330)
at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:118)
at
org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:84)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:113)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:103)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.authentication.AnonymousAuthenticationFilter.doFilter(AnonymousAuthenticationFilter.java:113)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:54)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.savedrequest.RequestCacheAwareFilter.doFilter(RequestCacheAwareFilter.java:45)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.apache.ambari.server.security.authorization.AmbariAuthorizationFilter.doFilter(AmbariAuthorizationFilter.java:130)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.authentication.www.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:150)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.context.SecurityContextPersistenceFilter.doFilter(SecurityContextPersistenceFilter.java:87)
at
org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:342)
at
org.springframework.security.web.FilterChainProxy.doFilterInternal(FilterChainProxy.java:192)
at
org.springframework.security.web.FilterChainProxy.doFilter(FilterChainProxy.java:160)
at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)
at
org.apache.ambari.server.api.MethodOverrideFilter.doFilter(MethodOverrideFilter.java:72)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)
at
org.apache.ambari.server.api.AmbariPersistFilter.doFilter(AmbariPersistFilter.java:47)
at
org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1300)
at
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:445)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
at
org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:559)
at
org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
at
org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1038)
at
org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:374)
at
org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189)
at
org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:972)
at
org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
at
org.apache.ambari.server.controller.FailsafeHandlerList.handle(FailsafeHandlerList.java:132)
at
org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
at org.eclipse.jetty.server.Server.handle(Server.java:363)
at
org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:483)
at
org.eclipse.jetty.server.AbstractHttpConnection.headerComplete(AbstractHttpConnection.java:920)
at
org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.headerComplete(AbstractHttpConnection.java:982)
at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:635)
at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
at
org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:627)
at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:51)
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:744)
16:34:37,201 INFO [qtp2040852958-68] HeartBeatHandler:458 - State of service
component NODEMANAGER of service YARN of cluster MyCluster has changed from
UNKNOWN to STARTED at host c6401.ambari.apache.org
16:34:37,208 INFO [qtp2040852958-68] HeartBeatHandler:458 - State of service
component SECONDARY_NAMENODE of service HDFS of cluster MyCluster has changed
from UNKNOWN to STARTED at host c6401.ambari.apache.org
16:34:37,214 INFO [qtp2040852958-68] HeartBeatHandler:458 - State of service
component RESOURCEMANAGER of service YARN of cluster MyCluster has changed from
UNKNOWN to STARTED at host c6401.ambari.apache.org
16:34:37,219 INFO [qtp2040852958-68] HeartBeatHandler:458 - State of service
component HIVE_METASTORE of service HIVE of cluster MyCluster has changed from
UNKNOWN to STARTED at host c6401.ambari.apache.org
16:34:37,222 INFO [qtp2040852958-68] HeartBeatHandler:458 - State of service
component HISTORYSERVER of service MAPREDUCE2 of cluster MyCluster has changed
from UNKNOWN to STARTED at host c6401.ambari.apache.org
16:34:37,225 INFO [qtp2040852958-68] HeartBeatHandler:458 - State of service
component GANGLIA_MONITOR of service GANGLIA of cluster MyCluster has changed
from UNKNOWN to STARTED at host c6401.ambari.apache.org
16:34:37,228 INFO [qtp2040852958-68] HeartBeatHandler:458 - State of service
component MYSQL_SERVER of service HIVE of cluster MyCluster has changed from
UNKNOWN to STARTED at host c6401.ambari.apache.org
16:34:37,231 INFO [qtp2040852958-68] HeartBeatHandler:458 - State of service
component DATANODE of service HDFS of cluster MyCluster has changed from
UNKNOWN to STARTED at host c6401.ambari.apache.org
16:34:37,236 INFO [qtp2040852958-68] HeartBeatHandler:458 - State of service
component ZOOKEEPER_SERVER of service ZOOKEEPER of cluster MyCluster has
changed from UNKNOWN to STARTED at host c6401.ambari.apache.org
16:34:37,239 INFO [qtp2040852958-68] HeartBeatHandler:458 - State of service
component NAMENODE of service HDFS of cluster MyCluster has changed from
UNKNOWN to STARTED at host c6401.ambari.apache.org
16:34:37,244 INFO [qtp2040852958-68] HeartBeatHandler:458 - State of service
component GANGLIA_SERVER of service GANGLIA of cluster MyCluster has changed
from UNKNOWN to STARTED at host c6401.ambari.apache.org
16:34:37,251 INFO [qtp2040852958-68] HeartBeatHandler:458 - State of service
component HIVE_SERVER of service HIVE of cluster MyCluster has changed from
UNKNOWN to STARTED at host c6401.ambari.apache.org
16:34:37,254 INFO [qtp2040852958-68] HeartBeatHandler:458 - State of service
component NAGIOS_SERVER of service NAGIOS of cluster MyCluster has changed from
UNKNOWN to STARTED at host c6401.ambari.apache.org
16:34:37,258 INFO [qtp2040852958-68] HeartBeatHandler:458 - State of service
component WEBHCAT_SERVER of service HIVE of cluster MyCluster has changed from
UNKNOWN to STARTED at host c6401.ambari.apache.org
16:34:37,262 INFO [qtp2040852958-68] HeartBeatHandler:458 - State of service
component APP_TIMELINE_SERVER of service YARN of cluster MyCluster has changed
from UNKNOWN to STARTED at host c6401.ambari.apache.org
16:35:48,484 INFO [Thread-23] AbstractPoolBackedDataSource:462 - Initializing
c3p0 pool... com.mchange.v2.c3p0.ComboPooledDataSource [ acquireIncrement -> 3,
acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose ->
false, automaticTestTable -> null, breakAfterAcquireFailure -> false,
checkoutTimeout -> 0, connectionCustomizerClassName -> null,
connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester,
dataSourceName -> 1hgedlx9413m0hh8104kpze|4d241b3e,
debugUnreturnedConnectionStackTraces -> false, description -> null, driverClass
-> org.postgresql.Driver, factoryClassLocation -> null,
forceIgnoreUnresolvedTransactions -> false, identityToken ->
1hgedlx9413m0hh8104kpze|4d241b3e, idleConnectionTestPeriod -> 50,
initialPoolSize -> 3, jdbcUrl -> jdbc:postgresql://localhost/ambari,
lastAcquisitionFailureDefaultUser -> null, maxAdministrativeTaskTime -> 0,
maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0,
maxPoolSize -> 5,
maxStatements -> 0, maxStatementsPerConnection -> 120, minPoolSize -> 1,
numHelperThreads -> 3, numThreadsAwaitingCheckoutDefaultUser -> 0,
preferredTestQuery -> select 0, properties -> {user=******, password=******},
propertyCycle -> 0, testConnectionOnCheckin -> true, testConnectionOnCheckout
-> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies ->
false ]
16:35:48,542 INFO [Thread-23] JobStoreTX:861 - Freed 0 triggers from
'acquired' / 'blocked' state.
16:35:48,553 INFO [Thread-23] JobStoreTX:871 - Recovering 0 jobs that were
in-progress at the time of the last shut-down.
16:35:48,553 INFO [Thread-23] JobStoreTX:884 - Recovery complete.
16:35:48,555 INFO [Thread-23] JobStoreTX:891 - Removed 0 'complete' triggers.
16:35:48,557 INFO [Thread-23] JobStoreTX:896 - Removed 0 stale fired job
entries.
16:35:48,565 INFO [Thread-23] QuartzScheduler:575 - Scheduler
ExecutionScheduler_$_NON_CLUSTERED started.
{code}
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/view/ViewProviderModule.java
edaff1b
ambari-server/src/main/java/org/apache/ambari/server/view/ViewRegistry.java
5e652a1
ambari-server/src/test/java/org/apache/ambari/server/view/ViewRegistryTest.java
56ee434
Diff: https://reviews.apache.org/r/25853/diff/
Testing
-------
Manual tests.
Added new unit test. All existing tests pass...
Results :
Tests run: 2041, Failures: 0, Errors: 0, Skipped: 16
...
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 32:56.339s
[INFO] Finished at: Fri Sep 19 18:26:48 EDT 2014
[INFO] Final Memory: 45M/459M
[INFO] ------------------------------------------------------------------------
Thanks,
Tom Beerbower