I just modified  Lzo compress option in kylin.properties and kylin_job_conf.xml


/***************/
My kylin.log


Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'permissionEvaluator' defined in class path resource 
[kylinSecurity.xml]: Cannot resolve reference to bean 'aclService' while 
setting constructor argument; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'aclService' defined in file 
[/home/hadoop/apache-kylin-1.2-bin/tomcat/webapps/kylin/WEB-INF/classes/org/apache/kylin/rest/service/AclService.class]:
 Instantiation of bean failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Could not instantiate 
bean class [org.apache.kylin.rest.service.AclService]: Constructor threw 
exception; nested exception is org.apache.hadoop.hbase.TableExistsException: 
org.apache.hadoop.hbase.TableExistsException: kylin_metadata_acl

Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'aclService' defined in file 
[/home/hadoop/apache-kylin-1.2-bin/tomcat/webapps/kylin/WEB-INF/classes/org/apache/kylin/rest/service/AclService.class]:
 Instantiation of bean failed; nested exception is 
org.springframework.beans.BeanInstantiationException: Could not instantiate 
bean class [org.apache.kylin.rest.service.AclService]: Constructor threw 
exception; nested exception is org.apache.hadoop.hbase.TableExistsException: 
org.apache.hadoop.hbase.TableExistsException: kylin_metadata_acl

Caused by: org.springframework.beans.BeanInstantiationException: Could not 
instantiate bean class [org.apache.kylin.rest.service.AclService]: Constructor 
threw exception; nested exception is 
org.apache.hadoop.hbase.TableExistsException: 
org.apache.hadoop.hbase.TableExistsException: kylin_metadata_acl

Caused by: 
org.apache.hadoop.hbase.ipc.RemoteWithExtrasException(org.apache.hadoop.hbase.TableExistsException):
 org.apache.hadoop.hbase.TableExistsException: kylin_metadata_acl









It's necessary  to show my kylin.properties

kylin.rest.servers=localhost:7070
kylin.metadata.url=kylin_metadata@hbase

kylin.storage.url=hbase
kylin.hdfs.working.dir=/kylin

kylin.job.remote.cli.working.dir=/tmp/kylin
kylin.hbase.default.compression.codec=lzo
kylin.monitor.ext.log.base.dir = /tmp/kylin_log1,/tmp/kylin_log2

kylin.monitor.query.log.parse.result.table = kylin_query_log

/**************************/


My hbase info:


hbase(main):004:0> exists 'kylin_metadata_acl'
Table kylin_metadata_acl does not exist                                         
                                                                    
0 row(s) in 0.0770 seconds

hbase(main):005:0> list
TABLE                                                                           
                                                                    
0 row(s) in 0.0080 seconds

=> []
hbase(main):006:0>


/*****************************/
My hadoop info :



[root@dw-server20-30 ~]# hadoop fs -ls /
15/12/29 11:18:40 WARN util.NativeCodeLoader: Unable to load native-hadoop 
library for your platform... using builtin-java classes where applicable
Found 6 items
drwxrwxrwx   - root supergroup          0 2015-11-19 09:58 /bi
drwxr-xr-x   - root supergroup          0 2015-12-29 10:44 /hbase
drwxrwxrwx   - root supergroup          0 2015-11-19 16:21 /hzh
drwxr-xr-x   - root supergroup          0 2015-12-29 10:28 /kylin
drwxrwxrwx   - root supergroup          0 2015-12-29 09:34 /tmp
drwxrwxrwx   - root supergroup          0 2015-11-20 17:58 /user


-----邮件原件-----
发件人: Shi, Shaofeng [mailto:[email protected]] 
发送时间: 2015年12月29日 10:45
收件人: [email protected]
主题: Re: sample.sh running error

Need double check this error:
Caused by: java.lang.NoSuchMethodError:
org.apache.hadoop.hbase.client.HBaseAdmin.<init>(Lorg/apache/hadoop/hbase/c
lient/HConnection;)V
        at 
org.apache.kylin.common.persistence.HBaseConnection.createHTableIfNeeded(HB
aseConnection.java:90)
        at 
org.apache.kylin.common.persistence.HBaseResourceStore.createHTableIfNeeded
(HBaseResourceStore.java:105)
        at 
org.apache.kylin.common.persistence.HBaseResourceStore.<init>(HBaseResource
Store.java:92)
        ... 12 more



What’s your HBase version and Kylin version?

On 12/29/15, 10:16 AM, "胡志华(万里通科技及数据中心商务智能团队数据分析组)"
<[email protected]> wrote:

>Caused by: java.lang.NoSuchMethodError:
>org.apache.hadoop.hbase.client.HBaseAdmin.<init>(Lorg/apache/hadoop/hbase/
>client/HConnection;)V
>        at 
>org.apache.kylin.common.persistence.HBaseConnection.createHTableIfNeeded(H
>BaseConnection.java:90)
>        at 
>org.apache.kylin.common.persistence.HBaseResourceStore.createHTableIfNeede
>d(HBaseResourceStore.java:105)
>        at 
>org.apache.kylin.common.persistence.HBaseResourceStore.<init>(HBaseResourc
>eStore.java:92)
>        ... 12 more





********************************************************************************************************************************
The information in this email is confidential and may be legally privileged. If 
you have received this email in error or are not the intended recipient, please 
immediately notify the sender and delete this message from your computer. Any 
use, distribution, or copying of this email other than by the intended 
recipient is strictly prohibited. All messages sent to and from us may be 
monitored to ensure compliance with internal policies and to protect our 
business. 
Emails are not secure and cannot be guaranteed to be error free as they can be 
intercepted, amended, lost or destroyed, or contain viruses. Anyone who 
communicates with us by email is taken to accept these risks. 

��跺�����浠惰��璇锋敞���锛�
������浠跺��淇�瀵�淇℃��锛���ヨ����舵�����浠讹��璇峰�″�������ュ�����浜哄苟��存�ュ����伙��涓�寰�浣跨�ㄣ��浼�������澶���舵�����浠躲��
杩���洪��浠跺�������版�������稿��瑙������с�����浠跺����藉�����琚����������琚�淇���广��涓㈠け���琚���村�����������璁$����虹��姣�绛�涓�瀹���ㄦ����点��
 
********************************************************************************************************************************
  • sample.sh ... 万里通科技及数据中心商务智能团队数据分析组
    • Re: s... Shi, Shaofeng
      • 答... 万里通科技及数据中心商务智能团队数据分析组
      • 答... 万里通科技及数据中心商务智能团队数据分析组
      • 答... 万里通科技及数据中心商务智能团队数据分析组
      • 答... 万里通科技及数据中心商务智能团队数据分析组
        • ... Xiaoyu Wang
          • ... 万里通科技及数据中心商务智能团队数据分析组

Reply via email to