Peter, These should be resolved over next few days.
-Pramod On Fri, Oct 26, 2012 at 2:21 AM, Peter Zhang <[email protected]> wrote: > Thanks Pramod > > According to the > https://cwiki.apache.org/confluence/display/AMBARI/Ambari-666+Development > instruction, > > 1. build ambari ok! > 2. start "ambari-server" occur db exception > 2.1 postgres 9.2 installed > 2.2 import AMBARI-666/ambari-server/src/main/resources/Ambari-DDL.sql > ok! > > Could you give me some advice? > > > logs: > > [root@bd-peter ambari-server]# ./start-ambari-server.sh > > 17:16:01,038 INFO Configuration:175 - Reading password from existing file > > 17:16:01,722 INFO AmbariServer:269 - Getting the controller > > 17:16:02,157 INFO CertificateManager:64 - Initialization of root > certificate > > 17:16:02,158 INFO CertificateManager:68 - Certificate exists:true > > 17:16:02,164 INFO ClustersImpl:86 - Initializing the ClustersImpl > > [EL Info]: 2012-10-26 17:16:02.187--ServerSession(211225614)--EclipseLink, > version: Eclipse Persistence Services - 2.4.0.v20120608-r11652 > > [EL Info]: connection: 2012-10-26 > 17:16:03.243--ServerSession(211225614)--file:/home/peter/ambari_666/ambari-server-1.0.3-SNAPSHOT/lib/ambari-server/ambari-server-1.0.3-SNAPSHOT.jar_ambari-javadb > login successful > > [EL Warning]: 2012-10-26 17:16:04.244--ServerSession(211225614)--Exception > [EclipseLink-4002] (Eclipse Persistence Services - 2.4.0.v20120608-r11652): > org.eclipse.persistence.exceptions.DatabaseException > > Internal Exception: java.sql.SQLSyntaxErrorException: SEQUENCE > 'AMBARI.HOST_ROLE_COMMAND_TASK_ID_SEQ' does not exist. > > Error Code: 30000 > > Call: VALUES(NEXT VALUE FOR ambari.host_role_command_task_id_seq) > > Query: ValueReadQuery(sql="VALUES(NEXT VALUE FOR > ambari.host_role_command_task_id_seq)") > > [EL Warning]: 2012-10-26 17:16:04.256--ServerSession(211225614)--Exception > [EclipseLink-4002] (Eclipse Persistence Services - 2.4.0.v20120608-r11652): > org.eclipse.persistence.exceptions.DatabaseException > > Internal Exception: java.sql.SQLSyntaxErrorException: SEQUENCE > 'AMBARI.SERVICECONFIG_CONFIG_VERSION_SEQ' does not exist. > > Error Code: 30000 > > Call: VALUES(NEXT VALUE FOR ambari.serviceconfig_config_version_seq) > > Query: ValueReadQuery(sql="VALUES(NEXT VALUE FOR > ambari.serviceconfig_config_version_seq)") > > [EL Warning]: 2012-10-26 17:16:04.265--ServerSession(211225614)--Exception > [EclipseLink-4002] (Eclipse Persistence Services - 2.4.0.v20120608-r11652): > org.eclipse.persistence.exceptions.DatabaseException > > Internal Exception: java.sql.SQLSyntaxErrorException: SEQUENCE > 'AMBARI.CLUSTERS_CLUSTER_ID_SEQ' does not exist. > > Error Code: 30000 > > Call: VALUES(NEXT VALUE FOR ambari.clusters_cluster_id_seq) > > Query: ValueReadQuery(sql="VALUES(NEXT VALUE FOR > ambari.clusters_cluster_id_seq)") > > [EL Warning]: 2012-10-26 17:16:04.267--ServerSession(211225614)--Exception > [EclipseLink-4002] (Eclipse Persistence Services - 2.4.0.v20120608-r11652): > org.eclipse.persistence.exceptions.DatabaseException > > Internal Exception: java.sql.SQLSyntaxErrorException: SEQUENCE > 'AMBARI.HOSTCOMPONENTMAPPING_HOST_COMPONENT_MAPPING_ID_SEQ' does not exist. > > Error Code: 30000 > > Call: VALUES(NEXT VALUE FOR > ambari.hostcomponentmapping_host_component_mapping_id_seq) > > Query: ValueReadQuery(sql="VALUES(NEXT VALUE FOR > ambari.hostcomponentmapping_host_component_mapping_id_seq)") > > [EL Warning]: 2012-10-26 17:16:04.27--ServerSession(211225614)--Exception > [EclipseLink-4002] (Eclipse Persistence Services - 2.4.0.v20120608-r11652): > org.eclipse.persistence.exceptions.DatabaseException > > Internal Exception: java.sql.SQLSyntaxErrorException: SEQUENCE > 'AMBARI.SERVICECOMPONENTHOSTCONFIG_CONFIG_VERSION_SEQ' does not exist. > > Error Code: 30000 > > Call: VALUES(NEXT VALUE FOR > ambari.servicecomponenthostconfig_config_version_seq) > > Query: ValueReadQuery(sql="VALUES(NEXT VALUE FOR > ambari.servicecomponenthostconfig_config_version_seq)") > > [EL Warning]: 2012-10-26 17:16:04.278--ServerSession(211225614)--Exception > [EclipseLink-4002] (Eclipse Persistence Services - 2.4.0.v20120608-r11652): > org.eclipse.persistence.exceptions.DatabaseException > > Internal Exception: java.sql.SQLSyntaxErrorException: SEQUENCE > 'AMBARI.SERVICECOMPONENTCONFIG_CONFIG_VERSION_SEQ' does not exist. > > Error Code: 30000 > > Call: VALUES(NEXT VALUE FOR > ambari.servicecomponentconfig_config_version_seq) > > Query: ValueReadQuery(sql="VALUES(NEXT VALUE FOR > ambari.servicecomponentconfig_config_version_seq)") > > [EL Warning]: 2012-10-26 17:16:04.295--ServerSession(211225614)--Exception > [EclipseLink-4002] (Eclipse Persistence Services - 2.4.0.v20120608-r11652): > org.eclipse.persistence.exceptions.DatabaseException > > Internal Exception: java.sql.SQLSyntaxErrorException: SEQUENCE > 'AMBARI.HOSTCOMPONENTMAPPING_HOST_COMPONENT_MAPPING_ID_SEQ' does not exist. > > Error Code: 30000 > > Call: VALUES(NEXT VALUE FOR > ambari.hostcomponentmapping_host_component_mapping_id_seq) > > Query: ValueReadQuery(sql="VALUES(NEXT VALUE FOR > ambari.hostcomponentmapping_host_component_mapping_id_seq)") > > [EL Warning]: 2012-10-26 17:16:04.299--ServerSession(211225614)--Exception > [EclipseLink-4002] (Eclipse Persistence Services - 2.4.0.v20120608-r11652): > org.eclipse.persistence.exceptions.DatabaseException > > Internal Exception: java.sql.SQLSyntaxErrorException: SEQUENCE > 'AMBARI.CLUSTERS_CLUSTER_ID_SEQ' does not exist. > > Error Code: 30000 > > Call: VALUES(NEXT VALUE FOR ambari.clusters_cluster_id_seq) > > Query: ValueReadQuery(sql="VALUES(NEXT VALUE FOR > ambari.clusters_cluster_id_seq)") > > [EL Warning]: 2012-10-26 17:16:04.309--ServerSession(211225614)--Exception > [EclipseLink-4002] (Eclipse Persistence Services - 2.4.0.v20120608-r11652): > org.eclipse.persistence.exceptions.DatabaseException > > Internal Exception: java.sql.SQLSyntaxErrorException: SEQUENCE > 'AMBARI.HOST_ROLE_COMMAND_TASK_ID_SEQ' does not exist. > > Error Code: 30000 > > Call: VALUES(NEXT VALUE FOR ambari.host_role_command_task_id_seq) > > Query: ValueReadQuery(sql="VALUES(NEXT VALUE FOR > ambari.host_role_command_task_id_seq)") > > [EL Warning]: 2012-10-26 17:16:04.313--ServerSession(211225614)--Exception > [EclipseLink-4002] (Eclipse Persistence Services - 2.4.0.v20120608-r11652): > org.eclipse.persistence.exceptions.DatabaseException > > Internal Exception: java.sql.SQLSyntaxErrorException: SEQUENCE > 'AMBARI.SERVICECOMPONENTCONFIG_CONFIG_VERSION_SEQ' does not exist. > > Error Code: 30000 > > Call: VALUES(NEXT VALUE FOR > ambari.servicecomponentconfig_config_version_seq) > > Query: ValueReadQuery(sql="VALUES(NEXT VALUE FOR > ambari.servicecomponentconfig_config_version_seq)") > > [EL Warning]: 2012-10-26 17:16:04.325--ServerSession(211225614)--Exception > [EclipseLink-4002] (Eclipse Persistence Services - 2.4.0.v20120608-r11652): > org.eclipse.persistence.exceptions.DatabaseException > > Internal Exception: java.sql.SQLSyntaxErrorException: SEQUENCE > 'AMBARI.SERVICECONFIG_CONFIG_VERSION_SEQ' does not exist. > > Error Code: 30000 > > Call: VALUES(NEXT VALUE FOR ambari.serviceconfig_config_version_seq) > > Query: ValueReadQuery(sql="VALUES(NEXT VALUE FOR > ambari.serviceconfig_config_version_seq)") > > [EL Warning]: 2012-10-26 17:16:04.328--ServerSession(211225614)--Exception > [EclipseLink-4002] (Eclipse Persistence Services - 2.4.0.v20120608-r11652): > org.eclipse.persistence.exceptions.DatabaseException > > Internal Exception: java.sql.SQLSyntaxErrorException: SEQUENCE > 'AMBARI.SERVICECOMPONENTHOSTCONFIG_CONFIG_VERSION_SEQ' does not exist. > > Error Code: 30000 > > Call: VALUES(NEXT VALUE FOR > ambari.servicecomponenthostconfig_config_version_seq) > > Query: ValueReadQuery(sql="VALUES(NEXT VALUE FOR > ambari.servicecomponenthostconfig_config_version_seq)") > > 17:16:04,488 INFO log:67 - Logging to > org.slf4j.impl.Log4jLoggerAdapter(org.mortbay.log) via > org.mortbay.log.Slf4jLog > > 17:16:04,504 INFO ClassPathXmlApplicationContext:456 - Refreshing > org.springframework.context.support.ClassPathXmlApplicationContext@59e14a78: > startup date [Fri Oct 26 17:16:04 CST 2012]; root of context hierarchy > > 17:16:04,566 INFO DefaultListableBeanFactory:557 - Pre-instantiating > singletons in > org.springframework.beans.factory.support.DefaultListableBeanFactory@430a14ad: > defining beans []; root of factory hierarchy > > 17:16:04,570 INFO ClassPathXmlApplicationContext:456 - Refreshing > org.springframework.context.support.ClassPathXmlApplicationContext@77ed2061: > startup date [Fri Oct 26 17:16:04 CST 2012]; parent: > org.springframework.context.support.ClassPathXmlApplicationContext@59e14a78 > > 17:16:04,573 INFO XmlBeanDefinitionReader:315 - Loading XML bean > definitions from class path resource [webapp/WEB-INF/spring-security.xml] > > 17:16:04,777 INFO SpringSecurityCoreVersion:33 - You are running with > Spring Security Core 3.1.2.RELEASE > > 17:16:04,777 INFO SecurityNamespaceHandler:59 - Spring Security 'config' > module version is 3.1.2.RELEASE > > 17:16:04,819 INFO FilterInvocationSecurityMetadataSourceParser:134 - > Creating access control expression attribute 'hasRole('ADMIN')' for /api/* > > 17:16:04,819 INFO FilterInvocationSecurityMetadataSourceParser:134 - > Creating access control expression attribute 'isAuthenticated()' for /** > > 17:16:04,835 INFO AuthenticationConfigBuilder:465 - No login page > configured. The default internal one will be used. Use the 'login-page' > attribute to set the URL of the login page. > > 17:16:04,839 INFO HttpSecurityBeanDefinitionParser:264 - Checking sorted > filter chain: [Root bean: class > [org.springframework.security.web.context.SecurityContextPersistenceFilter]; > scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; > autowireCandidate=true; primary=false; factoryBeanName=null; > factoryMethodName=null; initMethodName=null; destroyMethodName=null, order > = 300, Root bean: class > [org.springframework.security.web.authentication.logout.LogoutFilter]; > scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; > autowireCandidate=true; primary=false; factoryBeanName=null; > factoryMethodName=null; initMethodName=null; destroyMethodName=null, order > = 400, > <org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter#0>, > order = 800, Root bean: class > [org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter]; > scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; > autowireCandidate=true; primary=false; factoryBeanName=null; > factoryMethodName=null; initMethodName=null; destroyMethodName=null, order > = 1000, Root bean: class > [org.springframework.security.web.authentication.www.BasicAuthenticationFilter]; > scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; > autowireCandidate=true; primary=false; factoryBeanName=null; > factoryMethodName=null; initMethodName=null; destroyMethodName=null, order > = 1200, Root bean: class > [org.springframework.security.web.savedrequest.RequestCacheAwareFilter]; > scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; > autowireCandidate=true; primary=false; factoryBeanName=null; > factoryMethodName=null; initMethodName=null; destroyMethodName=null, order > = 1300, Root bean: class > [org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter]; > scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; > autowireCandidate=true; primary=false; factoryBeanName=null; > factoryMethodName=null; initMethodName=null; destroyMethodName=null, order > = 1400, Root bean: class > [org.springframework.security.web.authentication.AnonymousAuthenticationFilter]; > scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; > autowireCandidate=true; primary=false; factoryBeanName=null; > factoryMethodName=null; initMethodName=null; destroyMethodName=null, order > = 1700, Root bean: class > [org.springframework.security.web.session.SessionManagementFilter]; scope=; > abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; > autowireCandidate=true; primary=false; factoryBeanName=null; > factoryMethodName=null; initMethodName=null; destroyMethodName=null, order > = 1800, Root bean: class > [org.springframework.security.web.access.ExceptionTranslationFilter]; > scope=; abstract=false; lazyInit=false; autowireMode=0; dependencyCheck=0; > autowireCandidate=true; primary=false; factoryBeanName=null; > factoryMethodName=null; initMethodName=null; destroyMethodName=null, order > = 1900, > <org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0>, > order = 2000] > > 17:16:04,857 INFO DefaultListableBeanFactory:557 - Pre-instantiating > singletons in > org.springframework.beans.factory.support.DefaultListableBeanFactory@78c70f32: > defining beans > [org.springframework.security.filterChains,org.springframework.security.filterChainProxy,org.springframework.security.web.PortMapperImpl#0,org.springframework.security.web.PortResolverImpl#0,org.springframework.security.config.authentication.AuthenticationManagerFactoryBean#0,org.springframework.security.authentication.ProviderManager#0,org.springframework.security.web.context.HttpSessionSecurityContextRepository#0,org.springframework.security.web.authentication.session.SessionFixationProtectionStrategy#0,org.springframework.security.web.savedrequest.HttpSessionRequestCache#0,org.springframework.security.web.access.expression.DefaultWebSecurityExpressionHandler#0,org.springframework.security.access.vote.AffirmativeBased#0,org.springframework.security.web.access.intercept.FilterSecurityInterceptor#0,org.springframework.security.web.access.DefaultWebInvocationPrivilegeEvaluator#0,org.springframework.security.authentication.AnonymousAuthenticationProvider#0,org.springframework.security.web.authentication.www.BasicAuthenticationEntryPoint#0,org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter#0,org.springframework.security.userDetailsServiceFactory,org.springframework.security.web.DefaultSecurityFilterChain#0,org.springframework.security.authentication.dao.DaoAuthenticationProvider#0,org.springframework.security.authentication.DefaultAuthenticationEventPublisher#0,org.springframework.security.authenticationManager,ambariLocalUserService,ambariLdapAuthenticationProvider,standardPasswordEncoder]; > parent: > org.springframework.beans.factory.support.DefaultListableBeanFactory@430a14ad > > 17:16:05,085 INFO DefaultSecurityFilterChain:28 - Creating filter chain: > org.springframework.security.web.util.AnyRequestMatcher@1, > [org.springframework.security.web.context.SecurityContextPersistenceFilter@22beebcd, > org.springframework.security.web.authentication.logout.LogoutFilter@246af18d, > org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@691872a8, > org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@440fa97f, > org.springframework.security.web.authentication.www.BasicAuthenticationFilter@6040f3c1, > org.springframework.security.web.savedrequest.RequestCacheAwareFilter@48433545, > org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@345e6a13, > org.springframework.security.web.authentication.AnonymousAuthenticationFilter@22862041, > org.springframework.security.web.session.SessionManagementFilter@13af9d1c, > org.springframework.security.web.access.ExceptionTranslationFilter@6e73a35c, > org.springframework.security.web.access.intercept.FilterSecurityInterceptor@69ea25aa > ] > > 17:16:05,143 INFO CertificateManager:64 - Initialization of root > certificate > > 17:16:05,143 INFO CertificateManager:68 - Certificate exists:true > > 17:16:05,159 INFO AmbariServer:211 - ********* Initializing Clusters > ********** > > 17:16:05,159 INFO AmbariServer:213 - ********* Initializing ActionManager > ********** > > 17:16:05,159 INFO AmbariServer:215 - ********* Initializing Controller > ********** > > -- > Peter Zhang > Sent with Sparrow <http://www.sparrowmailapp.com/?sig> > > On 2012年10月25日Thursday at 下午11:20, Pramod Thangali wrote: > > Peter, > > Ambari 666 is not ready for general use. If you are curious, you can build > and test components by following instructions here: > > https://cwiki.apache.org/confluence/display/AMBARI/Ambari-666+Development > > If you are looking to use this to deploy the stack and rather not deal > with complicated setup procedures, you should just wait a few weeks. > > -Pramod > > On Thu, Oct 25, 2012 at 1:41 AM, Peter Zhang <[email protected]> wrote: > > Thanks Pramod, > > I want to known the Ambari-666 can deploy now? > > Could you give me some advice? > > -Peter > > -- > Peter Zhang > Sent with Sparrow <http://www.sparrowmailapp.com/?sig> > > On 2012年10月25日Thursday at 上午5:40, Thangali Pramod wrote: > > Peter, > > Ambari-666 is where majority of the development is happening. Goals for > Ambari-666 are to streamline the installation process, provide more > flexibility in terms of configuration and choice of services running on > each of the nodes. Ambari-666 is built around the following core > components: > > - A python agent using puppet to manage node configurations (no more > puppet agent) > - A Java sever to orchestrate cluster provisioning, monitoring, management > and operations > - Set of RESTful APIs served by the same instance of the server to enable > custom applications. Initially focused on monitoring. > - Single page web app built to offer full control of the cluster > - Postgress cluster configuration database > > Ambari 0.9 will be replaced with Ambari-666 once it is baked. Exact dates > tbd but the dev team goal is to have this ready for use soon. > > -Pramod > > On Wed, Oct 24, 2012 at 7:34 AM, Peter Zhang <[email protected]> wrote: > > Hi , > > I want to know AMBARI-666 branch future? > > 0.9 branch future? > > -- > Peter Zhang > Sent with Sparrow <http://www.sparrowmailapp.com/?sig> > > > > > -- > __________________________________________________________________________ > Pramod Thangali > 408 621 1525 > Engineering at Hortonworks > > > > > > > -- > __________________________________________________________________________ > Pramod Thangali > 408 621 1525 > Engineering at Hortonworks > > > > -- __________________________________________________________________________ Pramod Thangali 408 621 1525 Engineering at Hortonworks
