Re: HBase 1.1 support

2015-12-17 Thread Luke Han
here you are:
https://github.com/apache/kylin/tree/1.x-HBase1.1.3

Thanks.


Best Regards!
-

Luke Han

On Thu, Dec 17, 2015 at 10:31 PM, Marek Wiewiorka  wrote:

> Hi Luke - I think I am lost a bit - I can only the following "staging"
> branches:
> https://github.com/apache/kylin
>
>
> [image: Obraz w treści 1]
>
> Where can I find this one: 1.x-staging-HBase-1.x ?
>
> Many thanks and I'm sorry if I just overlooked sth...
>
> M.
>
> 2015-12-17 15:12 GMT+01:00 Luke Han :
>
>> Please compare to 1.x-staging branch, master is latest stable version.
>> 1.x-staging-HBase-1.x branch should also stable but will have a little
>> bit delay to 1.x-staging branch (active development branch).
>> Please have a try and let's know if there's any issue.
>> Regards!
>> Luke Han
>>
>>
>>
>>
>> On Thu, Dec 17, 2015 at 5:14 AM -0800, "Marek Wiewiorka" <
>> marek.wiewio...@gmail.com> wrote:
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Hi Luke - thanks for your response!
>> It seems that branch 1.1 is a bit behind the master (last commit ~1 month
>> ago) - is there any plan to keep it in sync with the master on regular
>> basis?
>>
>> Thanks,
>> Marek
>>
>> 2015-12-17 13:36 GMT+01:00 Luke Han :
>>
>> > There's one branch supports HBase 1.x already, please checkout and build
>> > binrary package.
>> >
>> > Start from Kylin 2.x release, we will support HBase 1.x as default, but
>> > will also have another branch to support HBase 0.98.x version.
>> >
>> > For user to easy download and try, I think we may should generate
>> package
>> > for HBase 0.98.x and 1.x both.
>> >
>> > Thanks.
>> >
>> >
>> > Best Regards!
>> > -
>> >
>> > Luke Han
>> >
>> > On Thu, Dec 17, 2015 at 6:18 PM, Marek Wiewiorka <
>> > marek.wiewio...@gmail.com>
>> > wrote:
>> >
>> > > That's right - key players: Cloudera and Hortonworks ship their
>> distros
>> > > with HBase 1.0 or 1.1.
>> > > Up-to-date HBase 1.1 branch would definitely boost Kylin adoption and
>> I
>> > > think should be treated as high-priority.
>> > >
>> > >
>> > >
>> > > 2015-12-16 18:00 GMT+01:00 Randy Gelhausen :
>> > >
>> > > > +1 to this question. Many new Hadoop installs are using HBase 1.1+
>> > > >
>> > > > On Wed, Dec 16, 2015 at 11:36 AM, Marek Wiewiorka <
>> > > > marek.wiewio...@gmail.com
>> > > > > wrote:
>> > > >
>> > > > > Hi Kylin Devs - is there any plan to merge changes from 1.2 branch
>> > into
>> > > > > hbase-1.1?
>> > > > > I can see that hbase-1.1 branch is pretty outdated.
>> > > > > Some HBase-related project like e.g. Apache Phoenix maintain at
>> > least 2
>> > > > > branches:
>> > > > > hbase-0.98 and hbase-1.1?
>> > > > >
>> > > > > Thanks,
>> > > > > Marek
>> > > > >
>> > > >
>> > >
>> >
>>
>>
>>
>>
>>
>>
>


Re: Kylin build cube is failing at step 2 "Extract Fact Table Distinct Columns"

2015-12-17 Thread mkc450

Thank you for quick response

I am sorry I don't know how to do that, but in this file i can the see the
following message.

$HADOOP_HOME/logs/userlogs/application_1450352735335_0002/container_1450352735335_0002_01_01/stderr


log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException:
/usr/local/hadoop/logs/userlogs/application_1450352735335_0002/container_1450352735335_0002_01_01
(Is a directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:221)
at java.io.FileOutputStream.(FileOutputStream.java:142)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
at
org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
at
org.apache.hadoop.yarn.ContainerLogAppender.activateOptions(ContainerLogAppender.java:55)
at
org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
at 
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)
at
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)
at
org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842)
at
org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768)
at
org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:648)
at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514)
at
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580)
at
org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526)
at org.apache.log4j.LogManager.(LogManager.java:127)
at org.apache.log4j.Logger.getLogger(Logger.java:104)
at
org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:262)
at
org.apache.commons.logging.impl.Log4JLogger.(Log4JLogger.java:108)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at
org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1025)
at
org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:844)
at
org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:541)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:292)
at
org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:269)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:657)
at
org.apache.hadoop.service.AbstractService.(AbstractService.java:43)
log4j:WARN No appenders could be found for logger
(org.apache.hadoop.ipc.Server).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
more info.


stdout file is empty 

--
View this message in context: 
http://apache-kylin.74782.x6.nabble.com/Kylin-build-cube-is-failing-at-step-2-Extract-Fact-Table-Distinct-Columns-tp2830p2833.html
Sent from the Apache Kylin mailing list archive at Nabble.com.


Re: [VOTE] Release apache-kylin-1.2 (release candidate 1)

2015-12-17 Thread 王晓雨
+1(binding)

md5 is OK
mvn test is OK
script/package.sh is OK


> 在 2015年12月17日,18:42,Huang Hua  写道:
> 
> +1(binding)
> 
> md5 & sha1 - verified
> mvn test - verified
> mvn package -DskipTests - verified
> 
>> -邮件原件-
>> 发件人: dev-return-5324-huanghua=mininglamp@kylin.apache.org
>> [mailto:dev-return-5324-huanghua=mininglamp@kylin.apache.org] 代表
>> Luke Han
>> 发送时间: 2015年12月17日 14:25
>> 收件人: dev@kylin.apache.org
>> 主题: Re: [VOTE] Release apache-kylin-1.2 (release candidate 1)
>> 
>> +1(binding)
>> 
>> mvn test passed
>> md5 verified
>> 
>> 
>> 
>> 
>> Best Regards!
>> -
>> 
>> Luke Han
>> 
>> On Thu, Dec 17, 2015 at 1:27 PM, Jian Zhong  wrote:
>> 
>>> mvn test passed
>>> md5 verified
>>> 
>>> +1(binding)
>>> 
>>> On Thu, Dec 17, 2015 at 12:05 AM, Dong Li  wrote:
>>> 
 +1(no binding)
 
 build success
 mvn test passed
 md5 verified
 public key signed verified
 
 Thanks,
 
 Dong Li
 
 2015-12-16 22:36 GMT+08:00 ShaoFeng Shi :
 
> Dear Kylin committers and PMC members,
> 
> Just a kind reminder: v1.2 is the first release after Kylin
> becomes a
 TLP,
> and it includes several important features/fixes, please don't
> forget
>>> to
> verify and vote before you leaving for the vacation; Thanks everybody!
> 
> 2015-12-15 14:51 GMT+08:00 ShaoFeng Shi :
> 
>> Hi all,
>> 
>> I have created a build for Apache Kylin 1.2, release candidate 1.
>> 
>> Changes highlights:
>> 
>> [KYLIN-596] - Support Excel and Power BI [KYLIN-1065] - ODBC
>> driver support tableau 9.1 [KYLIN-1021] - Upload dependent jars
>> of kylin to HDFS and set tmpjars [KYLIN-1168] - Couldn't save
>> cube after doing some modification
>> 
>> Thanks to everyone who has contributed to this release.
>> Here’s release notes:
>> https://kylin.apache.org/docs/release_notes.html
>> 
>> The commit to be voted upon:
>> 
>> 
>> 
> 
 
>>> 
>> https://github.com/apache/kylin/commit/c2589aee4ac5537b460b3b02fa89cdb
>>> 3a922d64e
>> 
>> Its hash is c2589aee4ac5537b460b3b02fa89cdb3a922d64e.
>> 
>> The artifacts to be voted on are located here:
>> https://dist.apache.org/repos/dist/dev/kylin/apache-kylin-1.2-rc
>> 1/
>> 
>> The hashes of the artifacts are as follows:
>> apache-kylin-1.2-src.tar.gz.md5 e1d56376f75117b97f0d6da4ad6eaee3
>> apache-kylin-1.2-src.tar.gz.sha1
 b8d1048825b621bdf4719f987301e4fd03763031
>> 
>> A staged Maven repository is available for review at:
>> 
 https://repository.apache.org/content/repositories/orgapachekylin-10
 16/
>> 
>> Release artifacts are signed with the following key:
>> https://people.apache.org/keys/committer/shaofengshi.asc
>> 
>> Please vote on releasing this package as Apache Kylin 1.2.
>> 
>> The vote is open for the next 72 hours and passes if a majority
>> of at least three +1 PPMC votes are cast.
>> 
>> [ ] +1 Release this package as Apache Kylin 1.2 [ ]  0 I don't
>> feel strongly about it, but I'm okay with the release [ ] -1 Do
>> not release this package because...
>> 
>> 
>> Here is my vote:
>> 
>> +1 (binding)
>> 
>> --
>> Best regards,
>> 
>> Shaofeng Shi
>> 
>> 
> 
> 
> --
> Best regards,
> 
> Shaofeng Shi
> 
 
 
 
 --
 Thanks,
 Dong
 
>>> 
> 
> 



Re: Kylin build cube is failing at step 2 "Extract Fact Table Distinct Columns"

2015-12-17 Thread 王晓雨
It seem the log4j config problem!
Please check log4j.properties in your hadoop cluster.confirm it is correct.


> 在 2015年12月17日,22:55,mkc450  写道:
> 
> 
> Thank you for quick response
> 
> I am sorry I don't know how to do that, but in this file i can the see the
> following message.
> 
> $HADOOP_HOME/logs/userlogs/application_1450352735335_0002/container_1450352735335_0002_01_01/stderr
> 
> 
> log4j:ERROR setFile(null,true) call failed.
> java.io.FileNotFoundException:
> /usr/local/hadoop/logs/userlogs/application_1450352735335_0002/container_1450352735335_0002_01_01
> (Is a directory)
>at java.io.FileOutputStream.open(Native Method)
>at java.io.FileOutputStream.(FileOutputStream.java:221)
>at java.io.FileOutputStream.(FileOutputStream.java:142)
>at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
>at
> org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
>at
> org.apache.hadoop.yarn.ContainerLogAppender.activateOptions(ContainerLogAppender.java:55)
>at
> org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
>at 
> org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)
>at
> org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)
>at
> org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842)
>at
> org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768)
>at
> org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:648)
>at
> org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514)
>at
> org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580)
>at
> org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:526)
>at org.apache.log4j.LogManager.(LogManager.java:127)
>at org.apache.log4j.Logger.getLogger(Logger.java:104)
>at
> org.apache.commons.logging.impl.Log4JLogger.getLogger(Log4JLogger.java:262)
>at
> org.apache.commons.logging.impl.Log4JLogger.(Log4JLogger.java:108)
>at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
> Method)
>at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
>at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
>at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
>at
> org.apache.commons.logging.impl.LogFactoryImpl.createLogFromClass(LogFactoryImpl.java:1025)
>at
> org.apache.commons.logging.impl.LogFactoryImpl.discoverLogImplementation(LogFactoryImpl.java:844)
>at
> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:541)
>at
> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:292)
>at
> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:269)
>at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:657)
>at
> org.apache.hadoop.service.AbstractService.(AbstractService.java:43)
> log4j:WARN No appenders could be found for logger
> (org.apache.hadoop.ipc.Server).
> log4j:WARN Please initialize the log4j system properly.
> log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for
> more info.
> 
> 
> stdout file is empty 
> 
> --
> View this message in context: 
> http://apache-kylin.74782.x6.nabble.com/Kylin-build-cube-is-failing-at-step-2-Extract-Fact-Table-Distinct-Columns-tp2830p2833.html
> Sent from the Apache Kylin mailing list archive at Nabble.com.



Can't get dictionary value for column

2015-12-17 Thread Abhilash L L
Hello for one of the dimensions it started giving the following error and
the response was empty.

[http-bio-7071-exec-11]:[2015-12-17
13:48:23,548][ERROR][org.apache.kylin.cube.kv.RowKeyColumnIO.readColumnString(RowKeyColumnIO.java:113)]
- Can't get dictionary value for column DIM_FKEY (id = 23561)

After going through the RowKeyColumnIO code a bit..  Seems like the in
memory lookup table is 'corrupt' ?

After restarting, it started working fine.

We are on 0.72

Regards,
Abhilash


Re: Kylin build cube is failing at step 2 "Extract Fact Table Distinct Columns"

2015-12-17 Thread mkc450
I did not change log4j.properties. It's the default configuration. Should I
change anything in the file?

--
View this message in context: 
http://apache-kylin.74782.x6.nabble.com/Kylin-build-cube-is-failing-at-step-2-Extract-Fact-Table-Distinct-Columns-tp2830p2839.html
Sent from the Apache Kylin mailing list archive at Nabble.com.


[jira] [Created] (KYLIN-1240) Fix link and typo in README

2015-12-17 Thread Gabor Liptak (JIRA)
Gabor Liptak created KYLIN-1240:
---

 Summary: Fix link and typo in README
 Key: KYLIN-1240
 URL: https://issues.apache.org/jira/browse/KYLIN-1240
 Project: Kylin
  Issue Type: Improvement
  Components: General
Reporter: Gabor Liptak
Priority: Trivial






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


Re: Can't get dictionary value for column

2015-12-17 Thread Abhilash L L
Should I raise a JIRA ticket for this ?

Regards,
Abhilash

On Fri, Dec 18, 2015 at 12:56 AM, Abhilash L L 
wrote:

> Hello for one of the dimensions it started giving the following error and
> the response was empty.
>
> [http-bio-7071-exec-11]:[2015-12-17
> 13:48:23,548][ERROR][org.apache.kylin.cube.kv.RowKeyColumnIO.readColumnString(RowKeyColumnIO.java:113)]
> - Can't get dictionary value for column DIM_FKEY (id = 23561)
>
> After going through the RowKeyColumnIO code a bit..  Seems like the in
> memory lookup table is 'corrupt' ?
>
> After restarting, it started working fine.
>
> We are on 0.72
>
> Regards,
> Abhilash
>