Hi all, 
 
I succesfully installed Kylin but the UI won’t start.
 
Could you please advice?
 
Context initialization failed2017-05-23 09:29:35,851 WARN  
[localhost-startStop-1] common.KylinConfig:232 : KYLIN_CONF property was not 
set, will seek KYLIN_HOME env variable
2017-05-23 09:29:35,858 INFO  [localhost-startStop-1] common.KylinConfig:70 : 
Initialized a new KylinConfig from getInstanceFromEnv : 623419574
2017-05-23 09:29:36,656 INFO  [localhost-startStop-1] 
core.SpringSecurityCoreVersion:33 : You are running with Spring Security Core 
3.1.2.RELEASE
2017-05-23 09:29:36,657 INFO  [localhost-startStop-1] 
config.SecurityNamespaceHandler:59 : Spring Security 'config' module version is 
3.1.2.RELEASE
2017-05-23 09:29:36,671 INFO  [localhost-startStop-1] 
method.GlobalMethodSecurityBeanDefinitionParser:141 : Using bean 
'expressionHandler' as method ExpressionHandler implementation
2017-05-23 09:29:36,702 INFO  [localhost-startStop-1] 
http.FilterInvocationSecurityMetadataSourceParser:134 : Creating access control 
expression attribute 'permitAll' for /api/user/authentication*/**
2017-05-23 09:29:36,702 INFO  [localhost-startStop-1] 
http.FilterInvocationSecurityMetadataSourceParser:134 : Creating access control 
expression attribute 'isAuthenticated()' for /api/query*/**
2017-05-23 09:29:36,702 INFO  [localhost-startStop-1] 
http.FilterInvocationSecurityMetadataSourceParser:134 : Creating access control 
expression attribute 'isAuthenticated()' for /api/metadata*/**
2017-05-23 09:29:36,703 INFO  [localhost-startStop-1] 
http.FilterInvocationSecurityMetadataSourceParser:134 : Creating access control 
expression attribute 'permitAll' for /api/**/metrics
2017-05-23 09:29:36,703 INFO  [localhost-startStop-1] 
http.FilterInvocationSecurityMetadataSourceParser:134 : Creating access control 
expression attribute 'permitAll' for /api/cache*/**
2017-05-23 09:29:36,703 INFO  [localhost-startStop-1] 
http.FilterInvocationSecurityMetadataSourceParser:134 : Creating access control 
expression attribute 'hasAnyRole('ROLE_ANALYST')' for /api/cubes/src/tables
2017-05-23 09:29:36,703 INFO  [localhost-startStop-1] 
http.FilterInvocationSecurityMetadataSourceParser:134 : Creating access control 
expression attribute 'isAuthenticated()' for /api/cubes*/**
2017-05-23 09:29:36,703 INFO  [localhost-startStop-1] 
http.FilterInvocationSecurityMetadataSourceParser:134 : Creating access control 
expression attribute 'isAuthenticated()' for /api/models*/**
2017-05-23 09:29:36,703 INFO  [localhost-startStop-1] 
http.FilterInvocationSecurityMetadataSourceParser:134 : Creating access control 
expression attribute 'isAuthenticated()' for /api/streaming*/**
2017-05-23 09:29:36,704 INFO  [localhost-startStop-1] 
http.FilterInvocationSecurityMetadataSourceParser:134 : Creating access control 
expression attribute 'isAuthenticated()' for /api/job*/**
2017-05-23 09:29:36,704 INFO  [localhost-startStop-1] 
http.FilterInvocationSecurityMetadataSourceParser:134 : Creating access control 
expression attribute 'permitAll' for /api/admin/config
2017-05-23 09:29:36,705 INFO  [localhost-startStop-1] 
http.FilterInvocationSecurityMetadataSourceParser:134 : Creating access control 
expression attribute 'permitAll' for /api/projects
2017-05-23 09:29:36,705 INFO  [localhost-startStop-1] 
http.FilterInvocationSecurityMetadataSourceParser:134 : Creating access control 
expression attribute 'hasRole('ROLE_ADMIN')' for /api/admin*/**
2017-05-23 09:29:36,705 INFO  [localhost-startStop-1] 
http.FilterInvocationSecurityMetadataSourceParser:134 : Creating access control 
expression attribute 'isAuthenticated()' for /api/**
2017-05-23 09:29:36,718 INFO  [localhost-startStop-1] 
http.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.
2017-05-23 09:29:36,722 INFO  [localhost-startStop-1] 
http.HttpSecurityBeanDefinitionParser:264 : Checking sorted filter chain: [Root 
bean: class 
[org.springframework.security.web.context.SecurityContextPersistenceFilter]; 
scope=; abstr$
2017-05-23 09:29:36,959 INFO  [localhost-startStop-1] 
security.PasswordPlaceholderConfigurer:172 : Loading properties file from 
resource loaded through InputStream
2017-05-23 09:29:37,296 INFO  [localhost-startStop-1] hbase.HBaseConnection:228 
: connection is null or closed, creating a new one
2017-05-23 09:29:37,788 INFO  [localhost-startStop-1] 
zookeeper.RecoverableZooKeeper:120 : Process identifier=hconnection-0x3180a761 
connecting to ZooKeeper 
ensemble=cloudera02.int.i-deal.hu:2181,cloudera04.int.i-deal.hu:2181,cloudera01$
2017-05-23 09:29:37,794 INFO  [localhost-startStop-1] zookeeper.ZooKeeper:100 : 
Client environment:zookeeper.version=3.4.5-cdh5.11.0--1, built on 04/06/2017 
02:59 GMT
2017-05-23 09:29:37,794 INFO  [localhost-startStop-1] zookeeper.ZooKeeper:100 : 
Client environment:host.name=cloudera02.int.i-deal.hu
2017-05-23 09:29:37,794 INFO  [localhost-startStop-1] zookeeper.ZooKeeper:100 : 
Client environment:java.version=1.7.0_67
2017-05-23 09:29:37,795 INFO  [localhost-startStop-1] zookeeper.ZooKeeper:100 : 
Client environment:java.vendor=Oracle Corporation
2017-05-23 09:29:37,795 INFO  [localhost-startStop-1] zookeeper.ZooKeeper:100 : 
Client environment:java.home=/usr/java/jdk1.7.0_67-cloudera/jre
2017-05-23 09:29:37,795 INFO  [localhost-startStop-1] zookeeper.ZooKeeper:100 : 
Client 
environment:java.class.path=/opt/kylin/apache-kylin-2.0.0-bin/bin/../tomcat/bin/bootstrap.jar:/opt/kylin/apache-kylin-2.0.0-bin/bin/../tomcat/bin/tom$
2017-05-23 09:29:37,796 INFO  [localhost-startStop-1] zookeeper.ZooKeeper:100 : 
Client 
environment:java.library.path=/opt/cloudera/parcels/CDH-5.11.0-1.cdh5.11.0.p0.34/lib/hadoop/lib/native:/opt/cloudera/parcels/CDH-5.11.0-1.cdh5.11.0.p$
2017-05-23 09:29:37,796 INFO  [localhost-startStop-1] zookeeper.ZooKeeper:100 : 
Client 
environment:java.io.tmpdir=/opt/kylin/apache-kylin-2.0.0-bin/bin/../tomcat/temp
2017-05-23 09:29:37,796 INFO  [localhost-startStop-1] zookeeper.ZooKeeper:100 : 
Client environment:java.compiler=<NA>
2017-05-23 09:29:37,796 INFO  [localhost-startStop-1] zookeeper.ZooKeeper:100 : 
Client environment:os.name=Linux
2017-05-23 09:29:37,797 INFO  [localhost-startStop-1] zookeeper.ZooKeeper:100 : 
Client environment:os.arch=amd64
2017-05-23 09:29:37,797 INFO  [localhost-startStop-1] zookeeper.ZooKeeper:100 : 
Client environment:os.version=3.10.0-514.16.1.el7.x86_64
2017-05-23 09:29:37,797 INFO  [localhost-startStop-1] zookeeper.ZooKeeper:100 : 
Client environment:user.name=root
2017-05-23 09:29:37,797 INFO  [localhost-startStop-1] zookeeper.ZooKeeper:100 : 
Client environment:user.home=/root
2017-05-23 09:29:37,798 INFO  [localhost-startStop-1] zookeeper.ZooKeeper:100 : 
Client environment:user.dir=/opt/kylin/apache-kylin-2.0.0-bin
2017-05-23 09:29:37,799 INFO  [localhost-startStop-1] zookeeper.ZooKeeper:438 : 
Initiating client connection, 
connectString=cloudera02.int.i-deal.hu:2181,cloudera04.int.i-deal.hu:2181,cloudera01.int.i-deal.hu:2181
 sessionTimeout=60000 w$
2017-05-23 09:29:37,813 INFO  
[localhost-startStop-1-SendThread(cloudera04.int.i-deal.hu:2181)] 
zookeeper.ClientCnxn:975 : Opening socket connection to server 
cloudera04.int.i-deal.hu/10.120.10.104:2181. Will not attempt to authenticate$
2017-05-23 09:29:37,818 INFO  
[localhost-startStop-1-SendThread(cloudera04.int.i-deal.hu:2181)] 
zookeeper.ClientCnxn:852 : Socket connection established, initiating session, 
client: /10.120.10.102:44618, server: cloudera04.int.i-deal.hu$
2017-05-23 09:29:37,847 INFO  
[localhost-startStop-1-SendThread(cloudera04.int.i-deal.hu:2181)] 
zookeeper.ClientCnxn:1235 : Session establishment complete on server 
cloudera04.int.i-deal.hu/10.120.10.104:2181, sessionid = 0x25c319b20be0$
2017-05-23 09:29:38,946 DEBUG [localhost-startStop-1] hbase.HBaseConnection:295 
: Creating HTable 'kylin_metadata_user'
2017-05-23 09:29:38,983 INFO  [localhost-startStop-1] 
Configuration.deprecation:1174 : hadoop.native.lib is deprecated. Instead, use 
io.native.lib.available
2017-05-23 09:29:39,114 WARN  [localhost-startStop-1] 
support.XmlWebApplicationContext:487 : Exception encountered during context 
initialization - cancelling refresh attempt: 
org.springframework.beans.factory.BeanCreationException: Erro$
Related cause: 
org.springframework.beans.factory.BeanCurrentlyInCreationException: Error 
creating bean with name 'mvcContentNegotiationManager': Requested bean is 
currently in creation: Is there an unresolvable circular reference?
2017-05-23 09:29:39,115 ERROR [localhost-startStop-1] context.ContextLoader:331 
: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'mvcContentNegotiationManager': BeanPostProcessor before 
instantiation of bean failed; nested exception is 
org.springframework.beans.factory.BeanCrea$
Related cause: 
org.springframework.beans.factory.BeanCurrentlyInCreationException: Error 
creating bean with name 'mvcContentNegotiationManager': Requested bean is 
currently in creation: Is there an unresolvable circular reference?
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:454)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:293)
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:223)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:191)
        at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:618)
        at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:938)
        at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:479)
 
From: ShaoFeng Shi [mailto:[email protected]] 
Sent: Tuesday, May 23, 2017 3:57 AM
To: user <[email protected]>
Subject: Re: Cannot install Kylin on CDH 5.11 CentOS 7
 
What's the error when you run that command? The get-properties.sh shell script 
will run Java to parse the properties file. As Alberto mentioned, Kylin is 
compiled with Java 1.7, you need a JDK whose version >= 1.7. Please upgrade 
Java and then retry it.
 
2017-05-23 6:13 GMT+08:00 Alberto Ramón <[email protected]>:
Java recomended (I dont know if mandatory) is 1.7

https://kylin.apache.org/docs20/install/hadoop_env.html 
 
On 22 May 2017 at 22:59, Szalai Gergely <[email protected]> wrote:
Hi All,
We have a blocking issue by installing Kylin on CDH 5.11. By executing such 
lines on CentOS 7 we always getting empty strings.
Could you please advise?
bash $KYLIN_HOME/bin/get-properties.sh kylin.env.hdfs-working-dir
KYLIN_HOME points to the right location, it also gives empty when we call 
directly bash get-properties.sh kylin.env.hdfs-working-dir
Could it be a JAVA issue? we have only 1.6 installed.
Many thanks in advance.
Regards
 


​Kérjük, gondoljon a környezetére, mielőtt kinyomtatja ezt a levelet!
Please think of environment before printing this e-mail!
 


 
-- 
Best regards,
 
Shaofeng Shi 史少锋

​Kérjük, gondoljon a környezetére, mielőtt kinyomtatja ezt a levelet!
Please think of environment before printing this e-mail!

Reply via email to