[jira] [Resolved] (KYLIN-2196) Update Tomcat clas loader to parallel loader

2016-12-02 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu resolved KYLIN-2196.
--
Resolution: Fixed

> Update Tomcat clas loader to parallel loader
> 
>
> Key: KYLIN-2196
> URL: https://issues.apache.org/jira/browse/KYLIN-2196
> Project: Kylin
>  Issue Type: Improvement
>  Components: Web 
>Reporter: Billy(Yiming) Liu
>Assignee: Billy(Yiming) Liu
>Priority: Minor
> Fix For: v1.6.1
>
> Attachments: KYLIN-2196.patch
>
>
> The related article:
> https://bz.apache.org/bugzilla/show_bug.cgi?id=57681
> https://yq.aliyun.com/articles/4227



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


[jira] [Resolved] (KYLIN-2133) Check web server port availability when startup

2016-12-02 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu resolved KYLIN-2133.
--
Resolution: Fixed

> Check web server port  availability when startup
> 
>
> Key: KYLIN-2133
> URL: https://issues.apache.org/jira/browse/KYLIN-2133
> Project: Kylin
>  Issue Type: Improvement
>  Components: Tools, Build and Test
>Reporter: Billy(Yiming) Liu
>Assignee: Billy(Yiming) Liu
>Priority: Minor
> Fix For: v1.6.1
>
> Attachments: KYLIN-2133.patch
>
>
> Merged in master, thanks Billy!



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


[jira] [Resolved] (KYLIN-2224) "select * from fact inner join lookup " does not return values for look up columns

2016-11-24 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu resolved KYLIN-2224.
--
   Resolution: Fixed
Fix Version/s: v1.6.1

> "select * from fact inner join lookup " does not return values for look up 
> columns
> --
>
> Key: KYLIN-2224
> URL: https://issues.apache.org/jira/browse/KYLIN-2224
> Project: Kylin
>  Issue Type: Bug
>Reporter: Wang Cheng
>Assignee: Wang Cheng
>Priority: Minor
> Fix For: v1.6.1
>
>
> sample cube:
> select * from "DEFAULT"."KYLIN_SALES" as KYLIN_SALES
> INNER JOIN "DEFAULT"."KYLIN_CAL_DT" as KYLIN_CAL_DT
> ON KYLIN_SALES.PART_DT = KYLIN_CAL_DT.CAL_DT
> INNER JOIN "DEFAULT"."KYLIN_CATEGORY_GROUPINGS" as KYLIN_CATEGORY_GROUPINGS
> ON KYLIN_SALES.LEAF_CATEG_ID = KYLIN_CATEGORY_GROUPINGS.LEAF_CATEG_ID AND 
> KYLIN_SALES.LSTG_SITE_ID = KYLIN_CATEGORY_GROUPINGS.SITE_ID limit 10



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


[jira] [Commented] (KYLIN-2224) "select * from fact inner join lookup " does not return values for look up columns

2016-11-24 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2224?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15694640#comment-15694640
 ] 

Billy(Yiming) Liu commented on KYLIN-2224:
--

commit: 1ec1ffccd787036cbc89d0a549adcbb0469cb1ec

> "select * from fact inner join lookup " does not return values for look up 
> columns
> --
>
> Key: KYLIN-2224
> URL: https://issues.apache.org/jira/browse/KYLIN-2224
> Project: Kylin
>  Issue Type: Bug
>Reporter: Wang Cheng
>Assignee: Wang Cheng
>Priority: Minor
> Fix For: v1.6.1
>
>
> sample cube:
> select * from "DEFAULT"."KYLIN_SALES" as KYLIN_SALES
> INNER JOIN "DEFAULT"."KYLIN_CAL_DT" as KYLIN_CAL_DT
> ON KYLIN_SALES.PART_DT = KYLIN_CAL_DT.CAL_DT
> INNER JOIN "DEFAULT"."KYLIN_CATEGORY_GROUPINGS" as KYLIN_CATEGORY_GROUPINGS
> ON KYLIN_SALES.LEAF_CATEG_ID = KYLIN_CATEGORY_GROUPINGS.LEAF_CATEG_ID AND 
> KYLIN_SALES.LSTG_SITE_ID = KYLIN_CATEGORY_GROUPINGS.SITE_ID limit 10



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


[jira] [Closed] (KYLIN-2226) Build Dimension Dictionary Error

2016-11-23 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu closed KYLIN-2226.

   Resolution: Duplicate
Fix Version/s: v1.6.0

> Build Dimension Dictionary Error
> 
>
> Key: KYLIN-2226
> URL: https://issues.apache.org/jira/browse/KYLIN-2226
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine
>Reporter: zheng yangz
>Assignee: Dong Li
> Fix For: v1.6.0
>
>
> NullPointerException 



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


[jira] [Commented] (KYLIN-2226) Build Dimension Dictionary Error

2016-11-23 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15689506#comment-15689506
 ] 

Billy(Yiming) Liu commented on KYLIN-2226:
--

The exception means your lookup table has Date(or time, timestamp) type column, 
but that column has NULL value.

> Build Dimension Dictionary Error
> 
>
> Key: KYLIN-2226
> URL: https://issues.apache.org/jira/browse/KYLIN-2226
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine
>Reporter: zheng yangz
>Assignee: Dong Li
>
> NullPointerException 



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


[jira] [Commented] (KYLIN-2225) "Error in coprocessor" problem while executing TOP N query

2016-11-23 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2225?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15689317#comment-15689317
 ] 

Billy(Yiming) Liu commented on KYLIN-2225:
--

It only happens for "Top N" query, or for each query?

>From the log, I will suggest checking HBase healthy first.

> "Error in coprocessor" problem while executing TOP N query
> --
>
> Key: KYLIN-2225
> URL: https://issues.apache.org/jira/browse/KYLIN-2225
> Project: Kylin
>  Issue Type: Bug
>  Components: Storage - HBase
>Affects Versions: v1.5.4.1
>Reporter: Yangliang Li
>Assignee: liyang
>
> Software information:
> * Kylin: apache-kylin-1.5.4.1-cdh5.7
> * Hadoop: CHD 5.7
> * HBase: 1.2.0-cdh5.7.1
> * HBase coprocessor: kylin-coprocessor-1.5.4.1-0.jar
> I successfully built a cube, but have problem while executing a TOP N query.
> Cube 
> Here is the SQL statement:
> ```
> select spu_id, sum(sales) from daily_deal_wide_view group by spu_id order by 
> sum(sales) desc limit 100
> ```
> Error message: 
> ```
> Error while executing SQL "select spu_id, sum(sales) from 
> daily_deal_wide_view group by spu_id order by sum(sales) desc limit 100": 
> Error in coprocessor
> ```
> Log details:
> ```
> 2016-11-23 15:01:56,674 WARN  [kylin-coproc--pool2-t16] 
> ipc.CoprocessorRpcChannel:58 : Call failed on IOException
> java.net.SocketTimeoutException: callTimeout=6, callDuration=69049: row 
> '' on table 'KYLIN_O8HMHDKRD0' at 
> region=KYLIN_O8HMHDKRD0,,1479880633595.015f60fd1695b68f59981e1ba3c7d5fd., 
> hostname=ym-094,60020,1479183824861, seqNum=11
>   at 
> org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:159)
>   at 
> org.apache.hadoop.hbase.ipc.RegionCoprocessorRpcChannel.callExecService(RegionCoprocessorRpcChannel.java:95)
>   at 
> org.apache.hadoop.hbase.ipc.CoprocessorRpcChannel.callMethod(CoprocessorRpcChannel.java:56)
>   at 
> org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos$CubeVisitService$Stub.visitCube(CubeVisitProtos.java:4013)
>   at 
> org.apache.kylin.storage.hbase.cube.v2.CubeHBaseEndpointRPC$1$1.call(CubeHBaseEndpointRPC.java:179)
>   at 
> org.apache.kylin.storage.hbase.cube.v2.CubeHBaseEndpointRPC$1$1.call(CubeHBaseEndpointRPC.java:175)
>   at org.apache.hadoop.hbase.client.HTable$15.call(HTable.java:1797)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>   at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>   at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>   at java.lang.Thread.run(Thread.java:745)
> Caused by: java.io.IOException: Call to ym-094/172.16.24.94:60020 failed on 
> local exception: org.apache.hadoop.hbase.ipc.CallTimeoutException: Call 
> id=406, waitTime=60001, operationTimeout=6 expired.
>   at 
> org.apache.hadoop.hbase.ipc.AbstractRpcClient.wrapException(AbstractRpcClient.java:291)
>   at 
> org.apache.hadoop.hbase.ipc.RpcClientImpl.call(RpcClientImpl.java:1272)
>   at 
> org.apache.hadoop.hbase.ipc.AbstractRpcClient.callBlockingMethod(AbstractRpcClient.java:226)
>   at 
> org.apache.hadoop.hbase.ipc.AbstractRpcClient$BlockingRpcChannelImplementation.callBlockingMethod(AbstractRpcClient.java:331)
>   at 
> org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$BlockingStub.execService(ClientProtos.java:34118)
>   at 
> org.apache.hadoop.hbase.protobuf.ProtobufUtil.execService(ProtobufUtil.java:1620)
>   at 
> org.apache.hadoop.hbase.ipc.RegionCoprocessorRpcChannel$1.call(RegionCoprocessorRpcChannel.java:92)
>   at 
> org.apache.hadoop.hbase.ipc.RegionCoprocessorRpcChannel$1.call(RegionCoprocessorRpcChannel.java:89)
>   at 
> org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithRetries(RpcRetryingCaller.java:126)
>   ... 10 more
> Caused by: org.apache.hadoop.hbase.ipc.CallTimeoutException: Call id=406, 
> waitTime=60001, operationTimeout=6 expired.
>   at org.apache.hadoop.hbase.ipc.Call.checkAndSetTimeout(Call.java:73)
>   at 
> org.apache.hadoop.hbase.ipc.RpcClientImpl.call(RpcClientImpl.java:1246)
>   ... 17 more
> 2016-11-23 15:01:56,678 WARN  [pool-9-thread-15] client.HTable:1811 : Error 
> calling coprocessor service 
> org.apache.kylin.storage.hbase.cube.v2.coprocessor.endpoint.generated.CubeVisitProtos$CubeVisitService
>  for row \x00\x00
> java.util.concurrent.ExecutionException: java.net.SocketTimeoutException: 
> callTimeout=6, callDuration=69049: row '' on table 'KYLIN_O8HMHDKRD0' at 
> region=KYLIN_O8HMHDKRD0,,1479880633595.015f60fd1695b68f59981e1ba3c7d5fd., 
> hostname=ym-094,60020,1479183824861, seqNum=11
>   at java.util.concurrent.FutureTask.report(FutureTask.java:122)
> 

[jira] [Assigned] (KYLIN-2224) "select * from fact inner join lookup " does not return values for look up columns

2016-11-22 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu reassigned KYLIN-2224:


Assignee: Wang Cheng

> "select * from fact inner join lookup " does not return values for look up 
> columns
> --
>
> Key: KYLIN-2224
> URL: https://issues.apache.org/jira/browse/KYLIN-2224
> Project: Kylin
>  Issue Type: Bug
>Reporter: Wang Cheng
>Assignee: Wang Cheng
>Priority: Minor
>
> sample cube:
> select * from "DEFAULT"."KYLIN_SALES" as KYLIN_SALES
> INNER JOIN "DEFAULT"."KYLIN_CAL_DT" as KYLIN_CAL_DT
> ON KYLIN_SALES.PART_DT = KYLIN_CAL_DT.CAL_DT
> INNER JOIN "DEFAULT"."KYLIN_CATEGORY_GROUPINGS" as KYLIN_CATEGORY_GROUPINGS
> ON KYLIN_SALES.LEAF_CATEG_ID = KYLIN_CATEGORY_GROUPINGS.LEAF_CATEG_ID AND 
> KYLIN_SALES.LSTG_SITE_ID = KYLIN_CATEGORY_GROUPINGS.SITE_ID limit 10



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


[jira] [Comment Edited] (KYLIN-2223) Cannot compile a single module

2016-11-22 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15688693#comment-15688693
 ] 

Billy(Yiming) Liu edited comment on KYLIN-2223 at 11/23/16 2:53 AM:


It's known issue for multiple-module projects. Has a workaround.
In the root path, try
mvn clean install -DskipTests -am -pl core-common


was (Author: yimingliu):
mvn clean install -DskipTests -am -pl core-common

> Cannot compile a single module
> --
>
> Key: KYLIN-2223
> URL: https://issues.apache.org/jira/browse/KYLIN-2223
> Project: Kylin
>  Issue Type: Bug
>Reporter: Dong Li
>Assignee: Dong Li
>Priority: Minor
>
> Compiling a single module will get checkstyle error. For example:
> cd core-common
> mvn clean install -DskipTests
> The result:
> [INFO] Scanning for projects...
> [INFO]
> [INFO] 
> 
> [INFO] Building Apache Kylin - Core Common 1.6.0-SNAPSHOT
> [INFO] 
> 
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kylin-core-common 
> ---
> [INFO] Deleting /Projects/kylin/core-common/target
> [INFO]
> [INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ kylin-core-common 
> ---
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 1.381 s
> [INFO] Finished at: 2016-11-23T08:26:03+08:00
> [INFO] Final Memory: 14M/309M
> [INFO] 
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (validate) on 
> project kylin-core-common: Failed during checkstyle configuration: cannot 
> initialize module Header - Unable to find: 
> dev-support/checkstyle-apache-header.txt -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException



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


[jira] [Commented] (KYLIN-2223) Cannot compile a single module

2016-11-22 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15688693#comment-15688693
 ] 

Billy(Yiming) Liu commented on KYLIN-2223:
--

mvn clean install -DskipTests -am -pl core-common

> Cannot compile a single module
> --
>
> Key: KYLIN-2223
> URL: https://issues.apache.org/jira/browse/KYLIN-2223
> Project: Kylin
>  Issue Type: Bug
>Reporter: Dong Li
>Assignee: Dong Li
>Priority: Minor
>
> Compiling a single module will get checkstyle error. For example:
> cd core-common
> mvn clean install -DskipTests
> The result:
> [INFO] Scanning for projects...
> [INFO]
> [INFO] 
> 
> [INFO] Building Apache Kylin - Core Common 1.6.0-SNAPSHOT
> [INFO] 
> 
> [INFO]
> [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ kylin-core-common 
> ---
> [INFO] Deleting /Projects/kylin/core-common/target
> [INFO]
> [INFO] --- maven-checkstyle-plugin:2.17:check (validate) @ kylin-core-common 
> ---
> [INFO] 
> 
> [INFO] BUILD FAILURE
> [INFO] 
> 
> [INFO] Total time: 1.381 s
> [INFO] Finished at: 2016-11-23T08:26:03+08:00
> [INFO] Final Memory: 14M/309M
> [INFO] 
> 
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (validate) on 
> project kylin-core-common: Failed during checkstyle configuration: cannot 
> initialize module Header - Unable to find: 
> dev-support/checkstyle-apache-header.txt -> [Help 1]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
> switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions, please 
> read the following articles:
> [ERROR] [Help 1] 
> http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException



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


[jira] [Updated] (KYLIN-2208) Unclosed FileReader in HiveCmdBuilder#build()

2016-11-21 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-2208:
-
Fix Version/s: (was: v1.6.0)
   v1.6.1

> Unclosed FileReader in HiveCmdBuilder#build()
> -
>
> Key: KYLIN-2208
> URL: https://issues.apache.org/jira/browse/KYLIN-2208
> Project: Kylin
>  Issue Type: Bug
>Reporter: Ted Yu
>Assignee:  Kaige Liu
>Priority: Minor
> Fix For: v1.6.1
>
> Attachments: KYLIN-2208_fix_unclosed_filereader.patch
>
>
> {code}
> if (logger.isDebugEnabled()) {
> logger.debug("The SQL to execute in beeline: \n" + 
> IOUtils.toString(new FileReader(tmpHql)));
> {code}
> FileReader should be closed upon return from the method.



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


[jira] [Assigned] (KYLIN-2201) Cube desc and aggregation group rule combination max check fail

2016-11-21 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu reassigned KYLIN-2201:


Assignee: Roger Shi

> Cube desc and aggregation group rule combination max check fail
> ---
>
> Key: KYLIN-2201
> URL: https://issues.apache.org/jira/browse/KYLIN-2201
> Project: Kylin
>  Issue Type: Bug
>Reporter: Roger Shi
>Assignee: Roger Shi
> Attachments: 00ba74327a0322e1ce62d3c1cf7953ab21ae9407.patch, 
> 297730dc97e705f2c8526dcdc7718cee900e40e9.patch
>
>




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


[jira] [Assigned] (KYLIN-2191) Integer encoding error for width from 5 to 7

2016-11-20 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu reassigned KYLIN-2191:


Assignee: Roger Shi  (was: hongbin ma)

> Integer encoding error for width from 5 to 7
> 
>
> Key: KYLIN-2191
> URL: https://issues.apache.org/jira/browse/KYLIN-2191
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine
>Affects Versions: v1.5.4, v1.5.4.1
>Reporter: Roger Shi
>Assignee: Roger Shi
> Fix For: v1.6.1
>
>
> For integer encoding, if width is 5, 6 and 7. The decoded value is not right.



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


[jira] [Commented] (KYLIN-1770) Upgrade Calcite dependency (v1.9)

2016-11-20 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-1770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15681144#comment-15681144
 ] 

Billy(Yiming) Liu commented on KYLIN-1770:
--

still failed at IT, query 56:
select test_cal_dt.week_beg_dt, sum(test_kylin_fact.price) as GMV 
 , count(*) as TRANS_CNT 
 from test_kylin_fact 
inner JOIN edw.test_cal_dt as test_cal_dt
 ON test_kylin_fact.cal_dt = test_cal_dt.cal_dt
 inner JOIN test_category_groupings
 ON test_kylin_fact.leaf_categ_id = test_category_groupings.leaf_categ_id AND 
test_kylin_fact.lstg_site_id = test_category_groupings.site_id
 inner JOIN edw.test_sites as test_sites
 ON test_kylin_fact.lstg_site_id = test_sites.site_id
 where
 extract(month from test_cal_dt.week_beg_dt) = 12
 group by test_cal_dt.week_beg_dt

The return response is empty. The failed statement is the "extract". In Calcite 
1.9, CALCITE-1334 has updated the extract function. Will continue investigate 


> Upgrade Calcite dependency (v1.9)
> -
>
> Key: KYLIN-1770
> URL: https://issues.apache.org/jira/browse/KYLIN-1770
> Project: Kylin
>  Issue Type: Bug
>  Components: Driver - JDBC
>Affects Versions: v1.5.1, v1.5.2
>Reporter: Dayue Gao
>Assignee: Billy(Yiming) Liu
> Attachments: KYLIN-1770.patch
>
>
> Sample code to reproduce:
> {code:java}
> final String sql = "select count(*) from kylin_sales where 
> LSTG_SITE_ID between ? and ?";
> try (PreparedStatement stmt = conn.prepareStatement(sql)) {
> stmt.setInt(1, 0);
> stmt.setInt(2, 5);
> try (ResultSet rs = stmt.executeQuery()) {
> printResultSet(rs);
> }
> }
> {code}
> Exception stack trace from server log:
> {noformat}
> java.sql.SQLException: Error while preparing statement [select count(*) from 
> kylin_sales where LSTG_SITE_ID between ? and ?]
> at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
> at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
> at 
> org.apache.calcite.jdbc.CalciteConnectionImpl.prepareStatement_(CalciteConnectionImpl.java:203)
> at 
> org.apache.calcite.jdbc.CalciteConnectionImpl.prepareStatement(CalciteConnectionImpl.java:184)
> at 
> org.apache.calcite.jdbc.CalciteConnectionImpl.prepareStatement(CalciteConnectionImpl.java:85)
> at 
> org.apache.calcite.avatica.AvaticaConnection.prepareStatement(AvaticaConnection.java:153)
> at 
> org.apache.kylin.rest.service.QueryService.execute(QueryService.java:353)
> at 
> org.apache.kylin.rest.service.QueryService.queryWithSqlMassage(QueryService.java:274)
> at 
> org.apache.kylin.rest.service.QueryService.query(QueryService.java:120)
> at 
> org.apache.kylin.rest.service.QueryService$$FastClassByCGLIB$$4957273f.invoke()
> at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
> at 
> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:618)
> at 
> org.apache.kylin.rest.service.QueryService$$EnhancerByCGLIB$$8610374f.query()
> at 
> org.apache.kylin.rest.controller.QueryController.doQueryWithCache(QueryController.java:192)
> at 
> org.apache.kylin.rest.controller.QueryController.prepareQuery(QueryController.java:101)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at 
> org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213)
> at 
> org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
> at 
> org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
> at 
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
> at 
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
> at 
> org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
> at 
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
> at 
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
> at 
> 

[jira] [Commented] (KYLIN-2190) The visitCube function of the CubeVisitService class occured error when we compiled the kylin project using hbase-server-1.2.x.jar.

2016-11-17 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15673863#comment-15673863
 ] 

Billy(Yiming) Liu commented on KYLIN-2190:
--

If you have questions, please ask in user mail. JIRA is only for confirmed bug 
or enhancement. 

The log you pasted here is not well formatted. 

> The visitCube function of the CubeVisitService class occured error when we 
> compiled the kylin project using hbase-server-1.2.x.jar.
> ---
>
> Key: KYLIN-2190
> URL: https://issues.apache.org/jira/browse/KYLIN-2190
> Project: Kylin
>  Issue Type: Bug
>  Components: Storage - HBase
>Affects Versions: v1.5.3, v1.5.4, v1.5.4.1
> Environment: CentOS Linux release 7.2.1511、maven 3.2.5、jdk1.7.0_80
>Reporter: Qiang Zhang
>Assignee: liyang
>  Labels: patch
>
> The RegionCoprocessorEnvironment interface was different between 
> hbase-server-1.2.x.jar and hbase-server-0.9.8.jar. The value type of the 
> getRegion function for the RegionCoprocessorEnvironment interface is HRegion 
> class in hbase-server-0.9.8.jar. And it's value type is Region class in 
> hbase-server-1.2.x.jar. The visitCube function of the CubeVisitService class 
> couldn't be compatible with hbase-server-1.2.x.jar and hbase-server-0.9.8.jar.
> The reappear steps is as following:
> 1. Get source code using git from git://git.apache.org/kylin.git;
> 2. Run the mvn command to compile the kylin project;
> 3. Compile successfully;
> 4. Modify the value of the  to 1.2.0 in the pom.xml of 
> the kylin project;
> 5. Run the mvn command to compile the kylin project;
> 3. Compile fail;



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


[jira] [Updated] (KYLIN-2196) Update Tomcat clas loader to parallel loader

2016-11-15 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-2196:
-
Attachment: KYLIN-2196.patch

Patch is ready for review.

> Update Tomcat clas loader to parallel loader
> 
>
> Key: KYLIN-2196
> URL: https://issues.apache.org/jira/browse/KYLIN-2196
> Project: Kylin
>  Issue Type: Improvement
>  Components: Web 
>Reporter: Billy(Yiming) Liu
>Assignee: Billy(Yiming) Liu
>Priority: Minor
> Attachments: KYLIN-2196.patch
>
>
> The related article:
> https://bz.apache.org/bugzilla/show_bug.cgi?id=57681
> https://yq.aliyun.com/articles/4227



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


[jira] [Created] (KYLIN-2196) Update Tomcat clas loader to parallel loader

2016-11-15 Thread Billy(Yiming) Liu (JIRA)
Billy(Yiming) Liu created KYLIN-2196:


 Summary: Update Tomcat clas loader to parallel loader
 Key: KYLIN-2196
 URL: https://issues.apache.org/jira/browse/KYLIN-2196
 Project: Kylin
  Issue Type: Improvement
  Components: Web 
Reporter: Billy(Yiming) Liu
Assignee: Billy(Yiming) Liu
Priority: Minor


The related article:

https://bz.apache.org/bugzilla/show_bug.cgi?id=57681

https://yq.aliyun.com/articles/4227




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


[jira] [Closed] (KYLIN-2190) The visitCube function of the CubeVisitService class occured error when we compiled the kylin project using hbase-server-1.2.x.jar.

2016-11-15 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu closed KYLIN-2190.

Resolution: Duplicate

> The visitCube function of the CubeVisitService class occured error when we 
> compiled the kylin project using hbase-server-1.2.x.jar.
> ---
>
> Key: KYLIN-2190
> URL: https://issues.apache.org/jira/browse/KYLIN-2190
> Project: Kylin
>  Issue Type: Bug
>  Components: Storage - HBase
>Affects Versions: v1.5.3, v1.5.4, v1.5.4.1
> Environment: CentOS Linux release 7.2.1511、maven 3.2.5、jdk1.7.0_80
>Reporter: Qiang Zhang
>Assignee: liyang
>  Labels: patch
>
> The RegionCoprocessorEnvironment interface was different between 
> hbase-server-1.2.x.jar and hbase-server-0.9.8.jar. The value type of the 
> getRegion function for the RegionCoprocessorEnvironment interface is HRegion 
> class in hbase-server-0.9.8.jar. And it's value type is Region class in 
> hbase-server-1.2.x.jar. The visitCube function of the CubeVisitService class 
> couldn't be compatible with hbase-server-1.2.x.jar and hbase-server-0.9.8.jar.
> The reappear steps is as following:
> 1. Get source code using git from git://git.apache.org/kylin.git;
> 2. Run the mvn command to compile the kylin project;
> 3. Compile successfully;
> 4. Modify the value of the  to 1.2.0 in the pom.xml of 
> the kylin project;
> 5. Run the mvn command to compile the kylin project;
> 3. Compile fail;



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


[jira] [Closed] (KYLIN-2183) The HTableInterface interface was different between hbase-client-1.2.x.jar and hbase-client-0.9.8.jar. The MockHTable class occured error when we compiled the kylin projec

2016-11-15 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu closed KYLIN-2183.

Resolution: Duplicate

> The HTableInterface interface was different between hbase-client-1.2.x.jar 
> and hbase-client-0.9.8.jar. The MockHTable class occured error when we 
> compiled the kylin project using hbase-client-1.2.x.jar.
> --
>
> Key: KYLIN-2183
> URL: https://issues.apache.org/jira/browse/KYLIN-2183
> Project: Kylin
>  Issue Type: Bug
>  Components: REST Service
>Affects Versions: v1.5.3, v1.5.2.1, v1.5.4.1
> Environment: CentOS Linux release 7.2.1511、maven 3.2.5、jdk1.7.0_80
>Reporter: Qiang Zhang
>Assignee: Zhong,Jason
>  Labels: patch
>
> 1. Get source code using git from git://git.apache.org/kylin.git;
> 2. Run the mvn command to compile the kylin project;
> 3. Compile successfully;
> 4. Modify the value of the  to 1.2.0 in the pom.xml of 
> the kylin project;
> 5. Run the mvn command to compile the kylin project;
> 3. Compile fail;



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


[jira] [Closed] (KYLIN-2186) The AggregationScanner class occured error when we compiled the kylin project using hbase-server-1.2.x.jar.

2016-11-15 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu closed KYLIN-2186.

Resolution: Duplicate

> The AggregationScanner class occured error when we compiled the kylin project 
> using hbase-server-1.2.x.jar.
> ---
>
> Key: KYLIN-2186
> URL: https://issues.apache.org/jira/browse/KYLIN-2186
> Project: Kylin
>  Issue Type: Bug
>  Components: Storage - HBase
>Affects Versions: v1.5.3, v1.5.2.1, v1.5.4, v1.5.4.1
> Environment: CentOS Linux release 7.2.1511、maven 3.2.5、jdk1.7.0_80
>Reporter: Qiang Zhang
>Assignee: liyang
>  Labels: patch
>
> The RegionScanner and InternalScanner interface was different between 
> hbase-server-1.2.x.jar and hbase-server-0.9.8.jar. The AggregationScanner 
> class inherited the RegionScanner interface. But it couldn't be compatible 
> with hbase-server-1.2.x.jar and hbase-server-0.9.8.jar.
> The reappear steps is as following:
> 1. Get source code using git from git://git.apache.org/kylin.git;
> 2. Run the mvn command to compile the kylin project;
> 3. Compile successfully;
> 4. Modify the value of the  to 1.2.0 in the pom.xml of 
> the kylin project;
> 5. Run the mvn command to compile the kylin project;
> 3. Compile fail;



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


[jira] [Closed] (KYLIN-2185) The AggregateRegionObserver class occured error when we compiled the kylin project using hbase-server-1.2.x.jar

2016-11-15 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu closed KYLIN-2185.

Resolution: Duplicate

> The AggregateRegionObserver class occured error when we compiled the kylin 
> project using hbase-server-1.2.x.jar
> ---
>
> Key: KYLIN-2185
> URL: https://issues.apache.org/jira/browse/KYLIN-2185
> Project: Kylin
>  Issue Type: Bug
>  Components: Storage - HBase
>Affects Versions: v1.5.3, v1.5.2.1, v1.5.4.1
> Environment: CentOS Linux release 7.2.1511、maven 3.2.5、jdk1.7.0_80
>Reporter: Qiang Zhang
>Assignee: liyang
>  Labels: patch
>
> The return value of the getRegion function in RegionCoprocessorEnvironment 
> interface was different between hbase-server-1.2.x.jar and 
> hbase-server-0.9.8.jar. The getRegion function was called and the return 
> value didn't appropriately converted in the AggregateRegionObserver class. So 
> the AggregateRegionObserver class occured error when we compiled the kylin 
> project using hbase-server-1.2.x.jar.
> The reappear steps is as following:
> 1. Get source code using git from git://git.apache.org/kylin.git;
> 2. Run the mvn command to compile the kylin project;
> 3. Compile successfully;
> 4. Modify the value of the  to 1.2.0 in the pom.xml of 
> the kylin project;
> 5. Run the mvn command to compile the kylin project;
> 3. Compile fail;



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


[jira] [Closed] (KYLIN-2184) The RegionScanner and InternalScanner interface was different between hbase-client-1.2.x.jar and hbase-client-0.9.8.jar. The RegionScannerAdapter class occured error when

2016-11-15 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu closed KYLIN-2184.

Resolution: Duplicate

> The RegionScanner and InternalScanner interface was different between 
> hbase-client-1.2.x.jar and hbase-client-0.9.8.jar. The RegionScannerAdapter 
> class occured error when we compiled the kylin project using 
> hbase-client-1.2.x.jar.
> --
>
> Key: KYLIN-2184
> URL: https://issues.apache.org/jira/browse/KYLIN-2184
> Project: Kylin
>  Issue Type: Bug
>  Components: Storage - HBase
>Affects Versions: v1.5.3, v1.5.2.1, v1.5.4.1
> Environment: CentOS Linux release 7.2.1511、maven 3.2.5、jdk1.7.0_80
>Reporter: Qiang Zhang
>Assignee: liyang
>  Labels: patch
>
> 1. Get source code using git from git://git.apache.org/kylin.git;
> 2. Run the mvn command to compile the kylin project;
> 3. Compile successfully;
> 4. Modify the value of the  to 1.2.0 in the pom.xml of 
> the kylin project;
> 5. Run the mvn command to compile the kylin project;
> 3. Compile fail;



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


[jira] [Commented] (KYLIN-2190) The visitCube function of the CubeVisitService class occured error when we compiled the kylin project using hbase-server-1.2.x.jar.

2016-11-15 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15666812#comment-15666812
 ] 

Billy(Yiming) Liu commented on KYLIN-2190:
--

Please try to compile the code in branch master-HBase1.x if you want to compile 
against HBase 1.2. 
If the compile failed, maybe some incompatible code are there. But it's not a 
bug. If the Hbase 1.X distribution could not work on your HBase cluster, that 
may be an issue.

> The visitCube function of the CubeVisitService class occured error when we 
> compiled the kylin project using hbase-server-1.2.x.jar.
> ---
>
> Key: KYLIN-2190
> URL: https://issues.apache.org/jira/browse/KYLIN-2190
> Project: Kylin
>  Issue Type: Bug
>  Components: Storage - HBase
>Affects Versions: v1.5.3, v1.5.4, v1.5.4.1
> Environment: CentOS Linux release 7.2.1511、maven 3.2.5、jdk1.7.0_80
>Reporter: Qiang Zhang
>Assignee: liyang
>  Labels: patch
>
> The RegionCoprocessorEnvironment interface was different between 
> hbase-server-1.2.x.jar and hbase-server-0.9.8.jar. The value type of the 
> getRegion function for the RegionCoprocessorEnvironment interface is HRegion 
> class in hbase-server-0.9.8.jar. And it's value type is Region class in 
> hbase-server-1.2.x.jar. The visitCube function of the CubeVisitService class 
> couldn't be compatible with hbase-server-1.2.x.jar and hbase-server-0.9.8.jar.
> The reappear steps is as following:
> 1. Get source code using git from git://git.apache.org/kylin.git;
> 2. Run the mvn command to compile the kylin project;
> 3. Compile successfully;
> 4. Modify the value of the  to 1.2.0 in the pom.xml of 
> the kylin project;
> 5. Run the mvn command to compile the kylin project;
> 3. Compile fail;



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


[jira] [Commented] (KYLIN-2006) Make job engine distributed and HA

2016-11-08 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2006?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15649338#comment-15649338
 ] 

Billy(Yiming) Liu commented on KYLIN-2006:
--

Thanks [~kangkaisen] and [~liyang.g...@gmail.com].

Hi [~kangkaisen], could you prepare a document introducing how to enable this 
feature?

> Make job engine distributed and HA
> --
>
> Key: KYLIN-2006
> URL: https://issues.apache.org/jira/browse/KYLIN-2006
> Project: Kylin
>  Issue Type: New Feature
>  Components: Job Engine
>Reporter: kangkaisen
>Assignee: kangkaisen
> Fix For: v1.6.1
>
> Attachments: KYLIN-2006.patch
>
>
> Currently, the Kylin job build server is single-point。
> In order to make Kylin job build server more extensible, available and 
> reliable, we should support distributed job build server.



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


[jira] [Commented] (KYLIN-2096) Support "select version()" SQL statement

2016-11-08 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15646852#comment-15646852
 ] 

Billy(Yiming) Liu commented on KYLIN-2096:
--

I found the VersionUDF has to be defined explicitly in kylin.properties, but 
it's actually an internal function, and should not be changed by user. It could 
be better if defines it in KylinBaseConfig, and remove the key from 
kylin.properties. 

> Support "select version()" SQL statement
> 
>
> Key: KYLIN-2096
> URL: https://issues.apache.org/jira/browse/KYLIN-2096
> Project: Kylin
>  Issue Type: Improvement
>  Components: Driver - JDBC
>Reporter: Billy(Yiming) Liu
>Assignee: Yifan Zhang
>Priority: Minor
> Fix For: v1.6.1
>
> Attachments: KYLIN-2096.patch, KYLIN-2096.withIT.patch
>
>




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


[jira] [Updated] (KYLIN-2141) Add include/exclude interface for ResourceTool

2016-10-31 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-2141:
-
Attachment: (was: KYLIN-2141.patch)

> Add include/exclude interface for ResourceTool 
> ---
>
> Key: KYLIN-2141
> URL: https://issues.apache.org/jira/browse/KYLIN-2141
> Project: Kylin
>  Issue Type: Improvement
>Reporter: Billy(Yiming) Liu
>Assignee: Billy(Yiming) Liu
>Priority: Minor
> Attachments: KYLIN-2141.patch
>
>




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


[jira] [Updated] (KYLIN-2141) Add include/exclude interface for ResourceTool

2016-10-31 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-2141:
-
Attachment: KYLIN-2141.patch

> Add include/exclude interface for ResourceTool 
> ---
>
> Key: KYLIN-2141
> URL: https://issues.apache.org/jira/browse/KYLIN-2141
> Project: Kylin
>  Issue Type: Improvement
>Reporter: Billy(Yiming) Liu
>Assignee: Billy(Yiming) Liu
>Priority: Minor
> Attachments: KYLIN-2141.patch
>
>




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


[jira] [Updated] (KYLIN-2141) Add include/exclude interface for ResourceTool

2016-10-31 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-2141:
-
Attachment: KYLIN-2141.patch

Hi [~liyang.g...@gmail.com], could you help review the tiny updates? It's 
useful for other modules call ResourceTool.

> Add include/exclude interface for ResourceTool 
> ---
>
> Key: KYLIN-2141
> URL: https://issues.apache.org/jira/browse/KYLIN-2141
> Project: Kylin
>  Issue Type: Improvement
>Reporter: Billy(Yiming) Liu
>Assignee: Billy(Yiming) Liu
>Priority: Minor
> Attachments: KYLIN-2141.patch
>
>




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


[jira] [Created] (KYLIN-2141) Add include/exclude interface for ResourceTool

2016-10-31 Thread Billy(Yiming) Liu (JIRA)
Billy(Yiming) Liu created KYLIN-2141:


 Summary: Add include/exclude interface for ResourceTool 
 Key: KYLIN-2141
 URL: https://issues.apache.org/jira/browse/KYLIN-2141
 Project: Kylin
  Issue Type: Improvement
Reporter: Billy(Yiming) Liu
Assignee: Billy(Yiming) Liu
Priority: Minor






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


[jira] [Updated] (KYLIN-2133) Check web server port availability when startup

2016-10-27 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2133?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-2133:
-
Attachment: KYLIN-2133.patch

Patch attached. [~Shaofengshi] could you help review? Thank you.

> Check web server port  availability when startup
> 
>
> Key: KYLIN-2133
> URL: https://issues.apache.org/jira/browse/KYLIN-2133
> Project: Kylin
>  Issue Type: Improvement
>  Components: Tools, Build and Test
>Reporter: Billy(Yiming) Liu
>Assignee: Billy(Yiming) Liu
>Priority: Minor
> Attachments: KYLIN-2133.patch
>
>




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


[jira] [Assigned] (KYLIN-2063) Run stats on data model

2016-10-26 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu reassigned KYLIN-2063:


Assignee: Wang Cheng

> Run stats on data model
> ---
>
> Key: KYLIN-2063
> URL: https://issues.apache.org/jira/browse/KYLIN-2063
> Project: Kylin
>  Issue Type: Improvement
>Reporter: liyang
>Assignee: Wang Cheng
>
> Add a job to run stats on data model. To verify/collect:
> - The 1-1 relation between fact and lookup tables.
> - Cardinality of columns.
> - Corelation between columns.



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


[jira] [Closed] (KYLIN-2129) Creating a Custom Interceptor in Apache DS 2.0

2016-10-26 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu closed KYLIN-2129.

Resolution: Invalid

> Creating a Custom Interceptor in Apache DS 2.0
> --
>
> Key: KYLIN-2129
> URL: https://issues.apache.org/jira/browse/KYLIN-2129
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Reporter: Gautham Gurudatta Shet
>Assignee: Zhong,Jason
>




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


[jira] [Resolved] (KYLIN-2128) get-properties.sh bug

2016-10-26 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2128?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu resolved KYLIN-2128.
--
Resolution: Duplicate

> get-properties.sh bug
> -
>
> Key: KYLIN-2128
> URL: https://issues.apache.org/jira/browse/KYLIN-2128
> Project: Kylin
>  Issue Type: Bug
>  Components: General
>Affects Versions: v1.5.4.1
> Environment: ubuntu 16.10
>Reporter: gao4263
>
> when i run check-env.sh,  get wrong KYLIN_HOME path,   get-properties.sh have 
> problem , 
> IFS=$'\n'   is  wrong , should delete.



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


[jira] [Commented] (KYLIN-2128) get-properties.sh bug

2016-10-26 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2128?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15608498#comment-15608498
 ] 

Billy(Yiming) Liu commented on KYLIN-2128:
--

https://issues.apache.org/jira/browse/KYLIN-1978 has fixed this issue. 


> get-properties.sh bug
> -
>
> Key: KYLIN-2128
> URL: https://issues.apache.org/jira/browse/KYLIN-2128
> Project: Kylin
>  Issue Type: Bug
>  Components: General
>Affects Versions: v1.5.4.1
> Environment: ubuntu 16.10
>Reporter: gao4263
>
> when i run check-env.sh,  get wrong KYLIN_HOME path,   get-properties.sh have 
> problem , 
> IFS=$'\n'   is  wrong , should delete.



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


[jira] [Created] (KYLIN-2124) Properties intermediatetable does not work for Beeline

2016-10-24 Thread Billy(Yiming) Liu (JIRA)
Billy(Yiming) Liu created KYLIN-2124:


 Summary: Properties intermediatetable does not work for Beeline
 Key: KYLIN-2124
 URL: https://issues.apache.org/jira/browse/KYLIN-2124
 Project: Kylin
  Issue Type: Bug
  Components: Metadata
Reporter: Billy(Yiming) Liu
Assignee: Shaofeng SHI


hive.cli=beeline
and changed kylin.job.hiev.database.for.intermediatetable
The properties does not work, it works for hive cli.



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


[jira] [Created] (KYLIN-2123) Reload metadata could not load new Column Type

2016-10-24 Thread Billy(Yiming) Liu (JIRA)
Billy(Yiming) Liu created KYLIN-2123:


 Summary: Reload metadata could not load new Column Type
 Key: KYLIN-2123
 URL: https://issues.apache.org/jira/browse/KYLIN-2123
 Project: Kylin
  Issue Type: Bug
  Components: Metadata
Reporter: Billy(Yiming) Liu
Assignee: Shaofeng SHI


If the data column type has changed manually in JSON, and click "Reload". The 
new column type does not work. 



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


[jira] [Updated] (KYLIN-2119) Wrong chart value and sort when process scientific notation

2016-10-23 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-2119:
-
Description: 
Please check the attached snapshots. 


> Wrong chart value and sort when process scientific notation 
> 
>
> Key: KYLIN-2119
> URL: https://issues.apache.org/jira/browse/KYLIN-2119
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v1.5.4.1
>Reporter: Billy(Yiming) Liu
>Assignee: Zhong,Jason
> Attachments: 13f2d8e0-977a-11e6-9cbd-fd4591ff3916.png, 
> 152c7c8e-977a-11e6-8f3b-452ff3fa0415.png
>
>
> Please check the attached snapshots. 



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


[jira] [Updated] (KYLIN-2119) Wrong chart value and sort when process scientific notation

2016-10-23 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2119?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-2119:
-
Attachment: 152c7c8e-977a-11e6-8f3b-452ff3fa0415.png
13f2d8e0-977a-11e6-9cbd-fd4591ff3916.png

> Wrong chart value and sort when process scientific notation 
> 
>
> Key: KYLIN-2119
> URL: https://issues.apache.org/jira/browse/KYLIN-2119
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v1.5.4.1
>Reporter: Billy(Yiming) Liu
>Assignee: Zhong,Jason
> Attachments: 13f2d8e0-977a-11e6-9cbd-fd4591ff3916.png, 
> 152c7c8e-977a-11e6-8f3b-452ff3fa0415.png
>
>




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


[jira] [Commented] (KYLIN-2067) Add API to check and fill segment holes

2016-10-21 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2067?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15596852#comment-15596852
 ] 

Billy(Yiming) Liu commented on KYLIN-2067:
--

Hi [~Shaofengshi], please help update the doc also. 

> Add API to check and fill segment holes
> ---
>
> Key: KYLIN-2067
> URL: https://issues.apache.org/jira/browse/KYLIN-2067
> Project: Kylin
>  Issue Type: New Feature
>  Components: REST Service
>Reporter: Shaofeng SHI
>Assignee: Shaofeng SHI
> Fix For: v1.6.0
>
>
> The segments in a cube should be in sequence and no overlap and no hole (or 
> say gap). But there might be holes (especially for streaming case in some 
> exceptional case). Need API to report such holes and trigger the filling 
> automatically.



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


[jira] [Commented] (KYLIN-2106) UI bug - Advanced Settings - Rowkeys - new Integer dictionary encoding - could possibly impact also cube metadata

2016-10-20 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15592010#comment-15592010
 ] 

Billy(Yiming) Liu commented on KYLIN-2106:
--

The endless diagnosis loop should have been fixed at 
https://github.com/apache/kylin/commit/1e049817856ede06c7c8736ad1d608765f301a21


> UI bug - Advanced Settings - Rowkeys - new Integer dictionary encoding - 
> could possibly impact also cube metadata
> -
>
> Key: KYLIN-2106
> URL: https://issues.apache.org/jira/browse/KYLIN-2106
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine, Web 
>Affects Versions: v1.5.4.1
>Reporter: Richard Calaba
>Assignee: Zhong,Jason
>
> I have realized possib,e bug in UI, to reproduce:
> 1) Create Cube which has in Advance Settings - Rowkeys section a encoding of 
> one of the dimension (in my case it was 1st dimension - customer_id) set 
> encoding to 'Integer' - I used length 22. (Do not use the 'Int' Deprecated)
> 2) Save this cube.
> 3) Clone this cube
> 4) The cloned cube had the same dimension in the Rowkeys section in Edit mode 
> marked as 'Int(deprecated)' and the length of the Int dictionary encoding was 
> set to 'ger' - obviously some issue while parsing the new Encoding type - 
> hopefully only on UI ...



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


[jira] [Commented] (KYLIN-2096) Support "select version()" SQL statement

2016-10-18 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15587505#comment-15587505
 ] 

Billy(Yiming) Liu commented on KYLIN-2096:
--

Hi [~event], in the UT, we'd like to see "select version()" in JDBC statement 
could return the current Kylin version. 

> Support "select version()" SQL statement
> 
>
> Key: KYLIN-2096
> URL: https://issues.apache.org/jira/browse/KYLIN-2096
> Project: Kylin
>  Issue Type: Improvement
>  Components: Driver - JDBC
>Reporter: Billy(Yiming) Liu
>Assignee: Yifan Zhang
>Priority: Minor
> Attachments: KYLIN-2096.patch
>
>




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


[jira] [Commented] (KYLIN-2088) Support intersect count for calculation of retention or conversion rates

2016-10-18 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15587489#comment-15587489
 ] 

Billy(Yiming) Liu commented on KYLIN-2088:
--

Hi [~sunyerui], this is a really cool feature. Many users are expecting to have 
a try. Could you prepare a blog to introduce?  

> Support intersect count for calculation of retention or conversion rates
> 
>
> Key: KYLIN-2088
> URL: https://issues.apache.org/jira/browse/KYLIN-2088
> Project: Kylin
>  Issue Type: New Feature
>  Components: Query Engine
>Reporter: Yerui Sun
>Assignee: Yerui Sun
> Attachments: KYLIN-2088.patch
>
>
> Retention or Conversion Rates is very important in data analyze. 
> It can be calculated from two dataset of two different value of one 
> dimension. For example, we have an count distinct measure, like uv(dataset of 
> uuid), and one dimension, like date, and the retention of uv between 
> '20161015' and '20161016' is the intersection of two uv datasets.
> Fortunately, we have implement dataset in Kylin, as bitmap, for precisely 
> count distinct. Only an UDAF is needed to calculate intersection of two or 
> more bitmaps.
> I'll try on this and post patch later.



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


[jira] [Commented] (KYLIN-1839) improvement set classpath before submitting mr job

2016-10-18 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-1839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15587486#comment-15587486
 ] 

Billy(Yiming) Liu commented on KYLIN-1839:
--

Thanks [~feng_xiao_yu], could you update the kylin.properties?

> improvement set classpath before submitting mr job
> --
>
> Key: KYLIN-1839
> URL: https://issues.apache.org/jira/browse/KYLIN-1839
> Project: Kylin
>  Issue Type: Improvement
>  Components: Job Engine
>Affects Versions: v1.5.2
>Reporter: fengYu
>Assignee: fengYu
> Fix For: v1.6.0
>
> Attachments: 0001-KYLIN-1839-support-kylin-lib-in-HDFS.patch
>
>
> in setClasspath, kylin will alway find hive jars from hive dependency using 
> regex, however, this will not change in one process lifetime, so I cache the 
> location of tmpjars and tmpfiles.
> What is more, support extends user lib setting to hdfs path rather than only 
> support local filesystem which will cause upload jars every time if 
> DistributedCache do not exist.



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


[jira] [Commented] (KYLIN-2102) use ·`bash` in script,not just sh

2016-10-18 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15587474#comment-15587474
 ] 

Billy(Yiming) Liu commented on KYLIN-2102:
--

Hi chen, what environment you are using? 

> use ·`bash` in script,not just sh
> -
>
> Key: KYLIN-2102
> URL: https://issues.apache.org/jira/browse/KYLIN-2102
> Project: Kylin
>  Issue Type: Improvement
>  Components: General
>Affects Versions: all
>Reporter: chen
>Assignee: Zhong,Jason
>
> Sometimes the default shell is not bash.But the scripts ,for example 
> "get-properties.sh"、“kylin.sh”,use `sh xxx`.It may cause some strange mistack.



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


[jira] [Closed] (KYLIN-2103) HelpLine Number ***$ 1~855~709~2847 $** Lexmark printer tech support

2016-10-18 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu closed KYLIN-2103.

Resolution: Invalid

> HelpLine Number ***$ 1~855~709~2847 $** Lexmark printer tech support 
> -
>
> Key: KYLIN-2103
> URL: https://issues.apache.org/jira/browse/KYLIN-2103
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Reporter: dheeru sharma
>Assignee: Zhong,Jason
>




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


[jira] [Commented] (KYLIN-1839) improvement set classpath before submitting mr job

2016-10-18 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-1839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15587367#comment-15587367
 ] 

Billy(Yiming) Liu commented on KYLIN-1839:
--

Hi [~feng_xiao_yu], and doc update required for this update?

> improvement set classpath before submitting mr job
> --
>
> Key: KYLIN-1839
> URL: https://issues.apache.org/jira/browse/KYLIN-1839
> Project: Kylin
>  Issue Type: Improvement
>  Components: Job Engine
>Affects Versions: v1.5.2
>Reporter: fengYu
>Assignee: fengYu
> Fix For: v1.6.0
>
> Attachments: 0001-KYLIN-1839-support-kylin-lib-in-HDFS.patch
>
>
> in setClasspath, kylin will alway find hive jars from hive dependency using 
> regex, however, this will not change in one process lifetime, so I cache the 
> location of tmpjars and tmpfiles.
> What is more, support extends user lib setting to hdfs path rather than only 
> support local filesystem which will cause upload jars every time if 
> DistributedCache do not exist.



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


[jira] [Commented] (KYLIN-2084) Unload sample table failed

2016-10-16 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15581289#comment-15581289
 ] 

Billy(Yiming) Liu commented on KYLIN-2084:
--

Thanks, Jason. 

One suggestion, could you make the tips more friendly, which includes which 
table is used in which model? Since we could unload multiple tables at the same 
time, so user will know how to fix it next. 

> Unload sample table failed
> --
>
> Key: KYLIN-2084
> URL: https://issues.apache.org/jira/browse/KYLIN-2084
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v1.5.4.1
>Reporter: Billy(Yiming) Liu
>Assignee: Zhong,Jason
> Fix For: v1.6.0
>
> Attachments: screenshot-1.png, screenshot-2.png
>
>
> After executing the sample.sh, the sample tables and project are imported. 
> But when click 'Unload', "FAILED UNLOAD" message showed. 



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


[jira] [Created] (KYLIN-2096) Support "select version()" SQL statement

2016-10-16 Thread Billy(Yiming) Liu (JIRA)
Billy(Yiming) Liu created KYLIN-2096:


 Summary: Support "select version()" SQL statement
 Key: KYLIN-2096
 URL: https://issues.apache.org/jira/browse/KYLIN-2096
 Project: Kylin
  Issue Type: Improvement
  Components: Driver - JDBC
Reporter: Billy(Yiming) Liu
Assignee: Yifan Zhang
Priority: Minor






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


[jira] [Commented] (KYLIN-2084) Unload sample table failed

2016-10-11 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2084?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15565577#comment-15565577
 ] 

Billy(Yiming) Liu commented on KYLIN-2084:
--

Screenshots uploaded. 

There is no exception message in kylin.log. 

>From the web browser debug log, here is a DETELE request:
Request URL:http://192.168.2.135:7070/kylin/api/tables/KYLIN_CAL_DT/learn_kylin
Request Method:DELETE
Status Code:200 OK

but the response is 
"{"result.unload.fail":["KYLIN_CAL_DT"],"result.unload.success":[]}"

> Unload sample table failed
> --
>
> Key: KYLIN-2084
> URL: https://issues.apache.org/jira/browse/KYLIN-2084
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v1.5.4.1
>Reporter: Billy(Yiming) Liu
>Assignee: Zhong,Jason
> Attachments: screenshot-1.png, screenshot-2.png
>
>
> After executing the sample.sh, the sample tables and project are imported. 
> But when click 'Unload', "FAILED UNLOAD" message showed. 



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


[jira] [Updated] (KYLIN-2084) Unload sample table failed

2016-10-11 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-2084:
-
Attachment: screenshot-1.png

> Unload sample table failed
> --
>
> Key: KYLIN-2084
> URL: https://issues.apache.org/jira/browse/KYLIN-2084
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v1.5.4.1
>Reporter: Billy(Yiming) Liu
>Assignee: Zhong,Jason
> Attachments: screenshot-1.png, screenshot-2.png
>
>
> After executing the sample.sh, the sample tables and project are imported. 
> But when click 'Unload', "FAILED UNLOAD" message showed. 



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


[jira] [Updated] (KYLIN-2084) Unload sample table failed

2016-10-11 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2084?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-2084:
-
Attachment: screenshot-2.png

> Unload sample table failed
> --
>
> Key: KYLIN-2084
> URL: https://issues.apache.org/jira/browse/KYLIN-2084
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v1.5.4.1
>Reporter: Billy(Yiming) Liu
>Assignee: Zhong,Jason
> Attachments: screenshot-1.png, screenshot-2.png
>
>
> After executing the sample.sh, the sample tables and project are imported. 
> But when click 'Unload', "FAILED UNLOAD" message showed. 



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


[jira] [Created] (KYLIN-2084) Unload sample table failed

2016-10-11 Thread Billy(Yiming) Liu (JIRA)
Billy(Yiming) Liu created KYLIN-2084:


 Summary: Unload sample table failed
 Key: KYLIN-2084
 URL: https://issues.apache.org/jira/browse/KYLIN-2084
 Project: Kylin
  Issue Type: Bug
  Components: Web 
Affects Versions: v1.5.4.1
Reporter: Billy(Yiming) Liu
Assignee: Zhong,Jason


After executing the sample.sh, the sample tables and project are imported. 
But when click 'Unload', "FAILED UNLOAD" message showed. 



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


[jira] [Commented] (KYLIN-2068) Import hive comment when sync tables

2016-10-11 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2068?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15565551#comment-15565551
 ] 

Billy(Yiming) Liu commented on KYLIN-2068:
--

Screenshot uploaded. 

> Import hive comment when sync tables
> 
>
> Key: KYLIN-2068
> URL: https://issues.apache.org/jira/browse/KYLIN-2068
> Project: Kylin
>  Issue Type: Improvement
>  Components: Metadata
>Reporter: Billy(Yiming) Liu
>Assignee: Billy(Yiming) Liu
>Priority: Minor
>  Labels: newbie
> Attachments: KYLIN-2068.patch, screenshot-1.png
>
>
> Current Sync Table imports the table names, column names and data type, 
> without comment. The "comment" is useful for understanding the column and 
> cube designing. May I propose to include the comment information into column 
> metadata.
> Both backend and GUI work needed.



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


[jira] [Updated] (KYLIN-2068) Import hive comment when sync tables

2016-10-11 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-2068:
-
Attachment: screenshot-1.png

> Import hive comment when sync tables
> 
>
> Key: KYLIN-2068
> URL: https://issues.apache.org/jira/browse/KYLIN-2068
> Project: Kylin
>  Issue Type: Improvement
>  Components: Metadata
>Reporter: Billy(Yiming) Liu
>Assignee: Billy(Yiming) Liu
>Priority: Minor
>  Labels: newbie
> Attachments: KYLIN-2068.patch, screenshot-1.png
>
>
> Current Sync Table imports the table names, column names and data type, 
> without comment. The "comment" is useful for understanding the column and 
> cube designing. May I propose to include the comment information into column 
> metadata.
> Both backend and GUI work needed.



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


[jira] [Updated] (KYLIN-2068) Import hive comment when sync tables

2016-10-10 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-2068:
-
Attachment: KYLIN-2068.patch

Thanks Dong's review. The optional annotation added.

> Import hive comment when sync tables
> 
>
> Key: KYLIN-2068
> URL: https://issues.apache.org/jira/browse/KYLIN-2068
> Project: Kylin
>  Issue Type: Improvement
>  Components: Metadata
>Reporter: Billy(Yiming) Liu
>Assignee: Billy(Yiming) Liu
>Priority: Minor
>  Labels: newbie
> Attachments: KYLIN-2068.patch
>
>
> Current Sync Table imports the table names, column names and data type, 
> without comment. The "comment" is useful for understanding the column and 
> cube designing. May I propose to include the comment information into column 
> metadata.
> Both backend and GUI work needed.



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


[jira] [Updated] (KYLIN-2068) Import hive comment when sync tables

2016-10-10 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-2068:
-
Attachment: (was: KYLIN-2068.patch)

> Import hive comment when sync tables
> 
>
> Key: KYLIN-2068
> URL: https://issues.apache.org/jira/browse/KYLIN-2068
> Project: Kylin
>  Issue Type: Improvement
>  Components: Metadata
>Reporter: Billy(Yiming) Liu
>Assignee: Billy(Yiming) Liu
>Priority: Minor
>  Labels: newbie
> Attachments: KYLIN-2068.patch
>
>
> Current Sync Table imports the table names, column names and data type, 
> without comment. The "comment" is useful for understanding the column and 
> cube designing. May I propose to include the comment information into column 
> metadata.
> Both backend and GUI work needed.



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


[jira] [Assigned] (KYLIN-2068) Import hive comment when sync tables

2016-10-10 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu reassigned KYLIN-2068:


Assignee: Billy(Yiming) Liu  (was: Shaofeng SHI)

> Import hive comment when sync tables
> 
>
> Key: KYLIN-2068
> URL: https://issues.apache.org/jira/browse/KYLIN-2068
> Project: Kylin
>  Issue Type: Improvement
>  Components: Metadata
>Reporter: Billy(Yiming) Liu
>Assignee: Billy(Yiming) Liu
>Priority: Minor
>  Labels: newbie
> Attachments: KYLIN-2068.patch
>
>
> Current Sync Table imports the table names, column names and data type, 
> without comment. The "comment" is useful for understanding the column and 
> cube designing. May I propose to include the comment information into column 
> metadata.
> Both backend and GUI work needed.



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


[jira] [Closed] (KYLIN-2039) Refactor REST Request/Response Object into standalone library

2016-10-10 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu closed KYLIN-2039.

Resolution: Won't Fix

REST API could not guarantee the response body has the format backward 
compatible. So just leave the interface contract as simple as possible, to 
string only, not POJO objects. 

> Refactor REST Request/Response Object into standalone library
> -
>
> Key: KYLIN-2039
> URL: https://issues.apache.org/jira/browse/KYLIN-2039
> Project: Kylin
>  Issue Type: Improvement
>  Components: REST Service
>Reporter: Billy(Yiming) Liu
>Assignee: Zhong,Jason
>Priority: Minor
>
> Currently, the Request/Response objects locate at server-base project under 
> org/apache/kylin/rest/request[response,model]. They are POJOs which are used 
> to communicate between any REST client and Kylin Server. If someone wants to 
> integrate Kylin by REST API, he has to import kylin-server library. The 
> kylin-server is the project to host the Query/Job web server. This is library 
> will introduce almost all kylin backend libraries indirectly(by pom 
> dependency). But those are not the required components in client side. So I 
> will suggest refactoring some REST code into standalone lightweight library, 
> and make the client-server communication much easier. 



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


[jira] [Assigned] (KYLIN-2076) Improve sample cube and data

2016-10-10 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu reassigned KYLIN-2076:


Assignee: Wang Cheng

> Improve sample cube and data
> 
>
> Key: KYLIN-2076
> URL: https://issues.apache.org/jira/browse/KYLIN-2076
> Project: Kylin
>  Issue Type: Improvement
>Reporter: liyang
>Assignee: Wang Cheng
>
> Improve sample cube and data to include a user column.



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


[jira] [Updated] (KYLIN-2068) Import hive comment when sync tables

2016-10-10 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2068?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-2068:
-
Attachment: KYLIN-2068.patch

Hi [~Shaofengshi], the patch is ready for review.

> Import hive comment when sync tables
> 
>
> Key: KYLIN-2068
> URL: https://issues.apache.org/jira/browse/KYLIN-2068
> Project: Kylin
>  Issue Type: Improvement
>  Components: Metadata
>Reporter: Billy(Yiming) Liu
>Assignee: Shaofeng SHI
>Priority: Minor
>  Labels: newbie
> Attachments: KYLIN-2068.patch
>
>
> Current Sync Table imports the table names, column names and data type, 
> without comment. The "comment" is useful for understanding the column and 
> cube designing. May I propose to include the comment information into column 
> metadata.
> Both backend and GUI work needed.



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


[jira] [Created] (KYLIN-2068) Import hive comment when sync tables

2016-10-07 Thread Billy(Yiming) Liu (JIRA)
Billy(Yiming) Liu created KYLIN-2068:


 Summary: Import hive comment when sync tables
 Key: KYLIN-2068
 URL: https://issues.apache.org/jira/browse/KYLIN-2068
 Project: Kylin
  Issue Type: Improvement
  Components: Metadata
Reporter: Billy(Yiming) Liu
Assignee: Shaofeng SHI
Priority: Minor


Current Sync Table imports the table names, column names and data type, without 
comment. The "comment" is useful for understanding the column and cube 
designing. May I propose to include the comment information into column 
metadata.

Both backend and GUI work needed.



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


[jira] [Closed] (KYLIN-2061) tika old msword files

2016-10-03 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu closed KYLIN-2061.

Resolution: Invalid

> tika old msword files
> -
>
> Key: KYLIN-2061
> URL: https://issues.apache.org/jira/browse/KYLIN-2061
> Project: Kylin
>  Issue Type: Improvement
>Reporter: Gaurav
> Attachments: plen281.doc
>
>
> tika giving error with old msword files



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


[jira] [Closed] (KYLIN-2060) skype @866 769 8127 SKYPE tech support phone number @@@@SKYPE Help Desk Phone Number,SKYPE customer support numbe

2016-09-29 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2060?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu closed KYLIN-2060.

Resolution: Invalid

> skype @866 769 8127  SKYPE tech support phone number SKYPE Help Desk 
> Phone Number,SKYPE customer support numbe
> --
>
> Key: KYLIN-2060
> URL: https://issues.apache.org/jira/browse/KYLIN-2060
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Reporter: chutia
>Assignee: Zhong,Jason
>




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


[jira] [Updated] (KYLIN-1962) Split kylin.properties into two files

2016-09-26 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-1962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-1962:
-
Attachment: KYLIN-1962-Revert.patch

Code removed.

> Split kylin.properties into two files
> -
>
> Key: KYLIN-1962
> URL: https://issues.apache.org/jira/browse/KYLIN-1962
> Project: Kylin
>  Issue Type: Improvement
>Reporter: liyang
>Assignee: Billy(Yiming) Liu
> Attachments: KYLIN-1962-Revert.patch
>
>
> Split kylin.properties into two files: normal properties and security 
> sensitive properties



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


[jira] [Issue Comment Deleted] (KYLIN-2019) Add license checker into checkstyle rule

2016-09-26 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-2019:
-
Comment: was deleted

(was: In the first patch, the checker header is added into checkstyle plugin.

In the second patch, some unused checkstyle config file were removed.)

> Add license checker into checkstyle rule
> 
>
> Key: KYLIN-2019
> URL: https://issues.apache.org/jira/browse/KYLIN-2019
> Project: Kylin
>  Issue Type: Improvement
>Affects Versions: v1.5.4
>Reporter: Billy(Yiming) Liu
>Assignee: Billy(Yiming) Liu
>Priority: Minor
> Attachments: KYLIN-2019.patch
>
>
> Currently, not all files begin with the same format Apache Licence, 
> especially from different developers among the community. 
> In this update, the standard license file would be added into source repo, 
> and checkstyle plugin will check it in validate phase.



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


[jira] [Updated] (KYLIN-2019) Add license checker into checkstyle rule

2016-09-26 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-2019:
-
Attachment: KYLIN-2019.patch

Has rebased with the master and passed the build check. The patch is ready for 
review. 

> Add license checker into checkstyle rule
> 
>
> Key: KYLIN-2019
> URL: https://issues.apache.org/jira/browse/KYLIN-2019
> Project: Kylin
>  Issue Type: Improvement
>Affects Versions: v1.5.4
>Reporter: Billy(Yiming) Liu
>Assignee: Billy(Yiming) Liu
>Priority: Minor
> Attachments: KYLIN-2019.patch
>
>
> Currently, not all files begin with the same format Apache Licence, 
> especially from different developers among the community. 
> In this update, the standard license file would be added into source repo, 
> and checkstyle plugin will check it in validate phase.



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


[jira] [Updated] (KYLIN-2019) Add license checker into checkstyle rule

2016-09-26 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-2019:
-
Attachment: (was: 0002-KYLIN-2019-Remove-unused-checkstyle-config.patch)

> Add license checker into checkstyle rule
> 
>
> Key: KYLIN-2019
> URL: https://issues.apache.org/jira/browse/KYLIN-2019
> Project: Kylin
>  Issue Type: Improvement
>Affects Versions: v1.5.4
>Reporter: Billy(Yiming) Liu
>Assignee: Billy(Yiming) Liu
>Priority: Minor
>
> Currently, not all files begin with the same format Apache Licence, 
> especially from different developers among the community. 
> In this update, the standard license file would be added into source repo, 
> and checkstyle plugin will check it in validate phase.



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


[jira] [Updated] (KYLIN-2019) Add license checker into checkstyle rule

2016-09-26 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-2019:
-
Attachment: (was: 
0001-KYLIN-2019-add-license-checker-in-checkstyle-plugin.patch)

> Add license checker into checkstyle rule
> 
>
> Key: KYLIN-2019
> URL: https://issues.apache.org/jira/browse/KYLIN-2019
> Project: Kylin
>  Issue Type: Improvement
>Affects Versions: v1.5.4
>Reporter: Billy(Yiming) Liu
>Assignee: Billy(Yiming) Liu
>Priority: Minor
>
> Currently, not all files begin with the same format Apache Licence, 
> especially from different developers among the community. 
> In this update, the standard license file would be added into source repo, 
> and checkstyle plugin will check it in validate phase.



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


[jira] [Comment Edited] (KYLIN-1770) Upgrade Calcite dependency (v1.9)

2016-09-25 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-1770?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15477446#comment-15477446
 ] 

Billy(Yiming) Liu edited comment on KYLIN-1770 at 9/26/16 12:16 AM:


https://issues.apache.org/jira/browse/CALCITE-1371
one more bug fixed for Avatica 1.9


was (Author: yimingliu):
https://issues.apache.org/jira/browse/CALCITE-1371
one more bug fixed for Calcite 1.9

> Upgrade Calcite dependency (v1.9)
> -
>
> Key: KYLIN-1770
> URL: https://issues.apache.org/jira/browse/KYLIN-1770
> Project: Kylin
>  Issue Type: Bug
>  Components: Driver - JDBC
>Affects Versions: v1.5.1, v1.5.2
>Reporter: Dayue Gao
>Assignee: Billy(Yiming) Liu
> Attachments: KYLIN-1770.patch
>
>
> Sample code to reproduce:
> {code:java}
> final String sql = "select count(*) from kylin_sales where 
> LSTG_SITE_ID between ? and ?";
> try (PreparedStatement stmt = conn.prepareStatement(sql)) {
> stmt.setInt(1, 0);
> stmt.setInt(2, 5);
> try (ResultSet rs = stmt.executeQuery()) {
> printResultSet(rs);
> }
> }
> {code}
> Exception stack trace from server log:
> {noformat}
> java.sql.SQLException: Error while preparing statement [select count(*) from 
> kylin_sales where LSTG_SITE_ID between ? and ?]
> at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
> at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
> at 
> org.apache.calcite.jdbc.CalciteConnectionImpl.prepareStatement_(CalciteConnectionImpl.java:203)
> at 
> org.apache.calcite.jdbc.CalciteConnectionImpl.prepareStatement(CalciteConnectionImpl.java:184)
> at 
> org.apache.calcite.jdbc.CalciteConnectionImpl.prepareStatement(CalciteConnectionImpl.java:85)
> at 
> org.apache.calcite.avatica.AvaticaConnection.prepareStatement(AvaticaConnection.java:153)
> at 
> org.apache.kylin.rest.service.QueryService.execute(QueryService.java:353)
> at 
> org.apache.kylin.rest.service.QueryService.queryWithSqlMassage(QueryService.java:274)
> at 
> org.apache.kylin.rest.service.QueryService.query(QueryService.java:120)
> at 
> org.apache.kylin.rest.service.QueryService$$FastClassByCGLIB$$4957273f.invoke()
> at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
> at 
> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:618)
> at 
> org.apache.kylin.rest.service.QueryService$$EnhancerByCGLIB$$8610374f.query()
> at 
> org.apache.kylin.rest.controller.QueryController.doQueryWithCache(QueryController.java:192)
> at 
> org.apache.kylin.rest.controller.QueryController.prepareQuery(QueryController.java:101)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at 
> org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213)
> at 
> org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
> at 
> org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
> at 
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
> at 
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
> at 
> org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
> at 
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
> at 
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
> at 
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
> at 
> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at 
> 

[jira] [Updated] (KYLIN-1770) Upgrade Calcite dependency (v1.9)

2016-09-25 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-1770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-1770:
-
Attachment: KYLIN-1770.patch

Patch is ready.

> Upgrade Calcite dependency (v1.9)
> -
>
> Key: KYLIN-1770
> URL: https://issues.apache.org/jira/browse/KYLIN-1770
> Project: Kylin
>  Issue Type: Bug
>  Components: Driver - JDBC
>Affects Versions: v1.5.1, v1.5.2
>Reporter: Dayue Gao
>Assignee: Billy(Yiming) Liu
> Attachments: KYLIN-1770.patch
>
>
> Sample code to reproduce:
> {code:java}
> final String sql = "select count(*) from kylin_sales where 
> LSTG_SITE_ID between ? and ?";
> try (PreparedStatement stmt = conn.prepareStatement(sql)) {
> stmt.setInt(1, 0);
> stmt.setInt(2, 5);
> try (ResultSet rs = stmt.executeQuery()) {
> printResultSet(rs);
> }
> }
> {code}
> Exception stack trace from server log:
> {noformat}
> java.sql.SQLException: Error while preparing statement [select count(*) from 
> kylin_sales where LSTG_SITE_ID between ? and ?]
> at org.apache.calcite.avatica.Helper.createException(Helper.java:56)
> at org.apache.calcite.avatica.Helper.createException(Helper.java:41)
> at 
> org.apache.calcite.jdbc.CalciteConnectionImpl.prepareStatement_(CalciteConnectionImpl.java:203)
> at 
> org.apache.calcite.jdbc.CalciteConnectionImpl.prepareStatement(CalciteConnectionImpl.java:184)
> at 
> org.apache.calcite.jdbc.CalciteConnectionImpl.prepareStatement(CalciteConnectionImpl.java:85)
> at 
> org.apache.calcite.avatica.AvaticaConnection.prepareStatement(AvaticaConnection.java:153)
> at 
> org.apache.kylin.rest.service.QueryService.execute(QueryService.java:353)
> at 
> org.apache.kylin.rest.service.QueryService.queryWithSqlMassage(QueryService.java:274)
> at 
> org.apache.kylin.rest.service.QueryService.query(QueryService.java:120)
> at 
> org.apache.kylin.rest.service.QueryService$$FastClassByCGLIB$$4957273f.invoke()
> at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
> at 
> org.springframework.aop.framework.Cglib2AopProxy$DynamicAdvisedInterceptor.intercept(Cglib2AopProxy.java:618)
> at 
> org.apache.kylin.rest.service.QueryService$$EnhancerByCGLIB$$8610374f.query()
> at 
> org.apache.kylin.rest.controller.QueryController.doQueryWithCache(QueryController.java:192)
> at 
> org.apache.kylin.rest.controller.QueryController.prepareQuery(QueryController.java:101)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at 
> org.springframework.web.method.support.InvocableHandlerMethod.invoke(InvocableHandlerMethod.java:213)
> at 
> org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:126)
> at 
> org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:96)
> at 
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:617)
> at 
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:578)
> at 
> org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
> at 
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:923)
> at 
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:852)
> at 
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:882)
> at 
> org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:789)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
> at 
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
> at 
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
> at 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
> at 
> 

[jira] [Commented] (KYLIN-2050) Potentially ineffective call to close() in QueryCli

2016-09-25 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2050?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15520797#comment-15520797
 ] 

Billy(Yiming) Liu commented on KYLIN-2050:
--

The patch is ready for review. Has changed most resource close method to 
DBUtils.closeQuietly or IOUtils.closeQuietly in the finally block.

> Potentially ineffective call to close() in QueryCli
> ---
>
> Key: KYLIN-2050
> URL: https://issues.apache.org/jira/browse/KYLIN-2050
> Project: Kylin
>  Issue Type: Bug
>Reporter: Ted Yu
>Assignee: Billy(Yiming) Liu
>Priority: Minor
> Attachments: KYLIN-2050
>
>
> Here is related code:
> {code}
> } finally {
> if (rs != null) {
> rs.close();
> }
> if (stmt != null) {
> stmt.close();
> }
> if (conn != null) {
> conn.close();
> }
> }
> {code}
> If the first or second close() throws exception, the subsequent close() would 
> be skipped.
> This pattern may appear in other class(es).
> See 
> http://stackoverflow.com/questions/2225221/closing-database-connections-in-java



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


[jira] [Assigned] (KYLIN-2050) Potentially ineffective call to close() in QueryCli

2016-09-25 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu reassigned KYLIN-2050:


Assignee: Billy(Yiming) Liu

> Potentially ineffective call to close() in QueryCli
> ---
>
> Key: KYLIN-2050
> URL: https://issues.apache.org/jira/browse/KYLIN-2050
> Project: Kylin
>  Issue Type: Bug
>Reporter: Ted Yu
>Assignee: Billy(Yiming) Liu
>Priority: Minor
> Attachments: KYLIN-2050
>
>
> Here is related code:
> {code}
> } finally {
> if (rs != null) {
> rs.close();
> }
> if (stmt != null) {
> stmt.close();
> }
> if (conn != null) {
> conn.close();
> }
> }
> {code}
> If the first or second close() throws exception, the subsequent close() would 
> be skipped.
> This pattern may appear in other class(es).
> See 
> http://stackoverflow.com/questions/2225221/closing-database-connections-in-java



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


[jira] [Updated] (KYLIN-2050) Potentially ineffective call to close() in QueryCli

2016-09-25 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2050?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-2050:
-
Attachment: KYLIN-2050

Better closeQuietly method is provided as DBUtils.

> Potentially ineffective call to close() in QueryCli
> ---
>
> Key: KYLIN-2050
> URL: https://issues.apache.org/jira/browse/KYLIN-2050
> Project: Kylin
>  Issue Type: Bug
>Reporter: Ted Yu
>Priority: Minor
> Attachments: KYLIN-2050
>
>
> Here is related code:
> {code}
> } finally {
> if (rs != null) {
> rs.close();
> }
> if (stmt != null) {
> stmt.close();
> }
> if (conn != null) {
> conn.close();
> }
> }
> {code}
> If the first or second close() throws exception, the subsequent close() would 
> be skipped.
> This pattern may appear in other class(es).
> See 
> http://stackoverflow.com/questions/2225221/closing-database-connections-in-java



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


[jira] [Commented] (KYLIN-2039) Refactor REST Request/Response Object into standalone library

2016-09-24 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2039?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15519961#comment-15519961
 ] 

Billy(Yiming) Liu commented on KYLIN-2039:
--

Otherwise, there are some duplicated code between JDBC project and Server-Base. 

> Refactor REST Request/Response Object into standalone library
> -
>
> Key: KYLIN-2039
> URL: https://issues.apache.org/jira/browse/KYLIN-2039
> Project: Kylin
>  Issue Type: Improvement
>  Components: REST Service
>Reporter: Billy(Yiming) Liu
>Assignee: Zhong,Jason
>Priority: Minor
>
> Currently, the Request/Response objects locate at server-base project under 
> org/apache/kylin/rest/request[response,model]. They are POJOs which are used 
> to communicate between any REST client and Kylin Server. If someone wants to 
> integrate Kylin by REST API, he has to import kylin-server library. The 
> kylin-server is the project to host the Query/Job web server. This is library 
> will introduce almost all kylin backend libraries indirectly(by pom 
> dependency). But those are not the required components in client side. So I 
> will suggest refactoring some REST code into standalone lightweight library, 
> and make the client-server communication much easier. 



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


[jira] [Closed] (KYLIN-1843) LRU cache for in memory dimensions

2016-09-24 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-1843?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu closed KYLIN-1843.


> LRU cache for in memory dimensions
> --
>
> Key: KYLIN-1843
> URL: https://issues.apache.org/jira/browse/KYLIN-1843
> Project: Kylin
>  Issue Type: Improvement
>  Components: Query Engine
>Affects Versions: v1.2, v1.5.2
>Reporter: Abhilash L L
>Assignee: Billy(Yiming) Liu
> Fix For: v1.5.3
>
> Attachments: KYLIN-1843.patch
>
>
> The dimensions are kept in memory to fill up the result set.
> Now as and when more cubes are created, all the dimensions keep accumulating 
> in the memory
> This means tomcat memory requirements always keep increasing
> It would help if less frequently used dimensions are swapped out to keep 
> memory in check.
> We can have a Cache Manager which gets to decide which dimensions are kept in 
> memory and brings in as and when its required. The size of the cache should 
> be tuneable.



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


[jira] [Commented] (KYLIN-2048) After save model, the new model dialog shows again.

2016-09-24 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2048?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15519926#comment-15519926
 ] 

Billy(Yiming) Liu commented on KYLIN-2048:
--

It actually happens everytime. 
Landing Page ->Click button to New Model -> Save Model ->Should be Landing 
Page, but be New Model again. 
>From original process, you may suppose user could create model by model 
>sequentially. But at most cases, one model is enough.   

> After save model, the new model dialog shows again.
> ---
>
> Key: KYLIN-2048
> URL: https://issues.apache.org/jira/browse/KYLIN-2048
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v1.5.4
>Reporter: liyang
>Assignee: Zhong,Jason
>
> After save model, the new model dialog shows again, which is not expected. 
> Instead, it should go back to model landing page.



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


[jira] [Resolved] (KYLIN-2041) Wrong parameter definition in Get Hive Tables REST API

2016-09-23 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu resolved KYLIN-2041.
--
Resolution: Fixed

> Wrong parameter definition in Get Hive Tables REST API
> --
>
> Key: KYLIN-2041
> URL: https://issues.apache.org/jira/browse/KYLIN-2041
> Project: Kylin
>  Issue Type: Bug
>  Components: REST Service
>Reporter: Billy(Yiming) Liu
>Assignee: Billy(Yiming) Liu
>Priority: Minor
> Attachments: KYLIN-2041.patch
>
>
> According to document: 
> http://kylin.apache.org/docs15/howto/howto_use_restapi.html#get-hive-tables
> the "project" is a required parameter. But the source code is "required = 
> false" which will lead Internal Server Error when wrong parameter. The fix is 
> simple.



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


[jira] [Resolved] (KYLIN-1999) Use some compression at UT/IT

2016-09-23 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-1999?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu resolved KYLIN-1999.
--
Resolution: Fixed

> Use some compression at UT/IT
> -
>
> Key: KYLIN-1999
> URL: https://issues.apache.org/jira/browse/KYLIN-1999
> Project: Kylin
>  Issue Type: Improvement
>Reporter: hongbin ma
>Assignee: Billy(Yiming) Liu
>Priority: Minor
> Attachments: 0001-KYLIN-1999-for-UT-IT-enable-compress.patch
>
>
> KYLIN-1984 disabled compression in packaging configurations to maximum ease 
> of use. Still we need to make sure everything will work if we want 
> compression enabled, especially for snappy. Currently in IT, hbase are 
> compressed by gzip, and mapreduce seems not enabling any compression



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


[jira] [Resolved] (KYLIN-1995) Upgrade MapReduce properties which are deprecated

2016-09-23 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-1995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu resolved KYLIN-1995.
--

> Upgrade MapReduce properties which are deprecated
> -
>
> Key: KYLIN-1995
> URL: https://issues.apache.org/jira/browse/KYLIN-1995
> Project: Kylin
>  Issue Type: Task
>  Components: Job Engine
>Affects Versions: v1.5.2
>Reporter: Billy(Yiming) Liu
>Assignee: Billy(Yiming) Liu
>Priority: Minor
> Attachments: 
> 0001-KYLIN-1995-Upgrade-deprecated-properties-for-Hadoop-.patch, 
> 0002-KYLIN-1995-Upgrade-deprecated-properties-in-testcase.patch
>
>
> Currently, Kylin use Hadoop 2.6 API. There are many properties are deprecated 
> in Hadoop 2.6, but still used in kylin's kylin_hive_conf.xml and 
> kylin_job_conf.xml, such as mapred.compress.map.output, 
> mapred.map.output.compression.codec and more. The full list is 
> https://hadoop.apache.org/docs/r2.6.0/hadoop-project-dist/hadoop-common/DeprecatedProperties.html
>  
> In this JIRA task, the deprecated properties will be upgraded to hadoop 2.6 
> effective name and value.



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


[jira] [Resolved] (KYLIN-1978) kylin.sh compatible issue on Ubuntu

2016-09-23 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu resolved KYLIN-1978.
--
   Resolution: Fixed
Fix Version/s: (was: Backlog)

> kylin.sh compatible issue on Ubuntu
> ---
>
> Key: KYLIN-1978
> URL: https://issues.apache.org/jira/browse/KYLIN-1978
> Project: Kylin
>  Issue Type: Bug
>  Components: Environment 
>Affects Versions: v1.5.3
>Reporter: Shaofeng SHI
>Assignee: Billy(Yiming) Liu
> Attachments: KYLIN-1978.patch
>
>
> Reported by Marcelo(marcelo.n...@quantium.com.au) in the mailing list:
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=14.04
> DISTRIB_CODENAME=trusty
> DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS"
> NAME="Ubuntu"
> VERSION="14.04.4 LTS, Trusty Tahr"
> ID=ubuntu
> ID_LIKE=debian
> PRETTY_NAME="Ubuntu 14.04.4 LTS"
> VERSION_ID="14.04"
> HOME_URL="http://www.ubuntu.com/;
> SUPPORT_URL="http://help.ubuntu.com/;
> BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/;
> mapr@qtausc-vpcsdev04:~/kylin/apache-kylin-1.5.3-HBase1.x-bin/bin$ ./kylin.sh
> start
> *KYLIN_HOME is set to /home/mapr/kylin/apache-kylin-1.5.3-HBase1.x-bin*
> cat: invalid option -- '1'
> Try 'cat --help' for more information.
> -mkdir: Not enough arguments: expected 1 but got 0
> Usage: hadoop fs [generic options] -mkdir [-p]  ...
> failed to create , Please make sure the user has right to access
> That is what is happening when I try to start kylin.
> I traced the error and the first one come from get-properties.sh at these
> line
> for i in `cat ${KYLIN_HOME}/conf/kylin.properties | grep -w "^$1" | grep -v
> '^#' | awk -F= '{ n = index($0,"="); print substr($0,n+1)}' | cut -c 1-`
> and as you can see kylin home is set.



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


[jira] [Assigned] (KYLIN-2041) Wrong parameter definition in Get Hive Tables REST API

2016-09-23 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu reassigned KYLIN-2041:


Assignee: Billy(Yiming) Liu  (was: Zhong,Jason)

> Wrong parameter definition in Get Hive Tables REST API
> --
>
> Key: KYLIN-2041
> URL: https://issues.apache.org/jira/browse/KYLIN-2041
> Project: Kylin
>  Issue Type: Bug
>  Components: REST Service
>Reporter: Billy(Yiming) Liu
>Assignee: Billy(Yiming) Liu
>Priority: Minor
> Attachments: KYLIN-2041.patch
>
>
> According to document: 
> http://kylin.apache.org/docs15/howto/howto_use_restapi.html#get-hive-tables
> the "project" is a required parameter. But the source code is "required = 
> false" which will lead Internal Server Error when wrong parameter. The fix is 
> simple.



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


[jira] [Updated] (KYLIN-2041) Wrong parameter definition in Get Hive Tables REST API

2016-09-23 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-2041:
-
Attachment: KYLIN-2041.patch

Patch is ready.

> Wrong parameter definition in Get Hive Tables REST API
> --
>
> Key: KYLIN-2041
> URL: https://issues.apache.org/jira/browse/KYLIN-2041
> Project: Kylin
>  Issue Type: Bug
>  Components: REST Service
>Reporter: Billy(Yiming) Liu
>Assignee: Billy(Yiming) Liu
>Priority: Minor
> Attachments: KYLIN-2041.patch
>
>
> According to document: 
> http://kylin.apache.org/docs15/howto/howto_use_restapi.html#get-hive-tables
> the "project" is a required parameter. But the source code is "required = 
> false" which will lead Internal Server Error when wrong parameter. The fix is 
> simple.



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


[jira] [Created] (KYLIN-2041) Wrong parameter definition in Get Hive Tables REST API

2016-09-23 Thread Billy(Yiming) Liu (JIRA)
Billy(Yiming) Liu created KYLIN-2041:


 Summary: Wrong parameter definition in Get Hive Tables REST API
 Key: KYLIN-2041
 URL: https://issues.apache.org/jira/browse/KYLIN-2041
 Project: Kylin
  Issue Type: Bug
  Components: REST Service
Reporter: Billy(Yiming) Liu
Assignee: Zhong,Jason
Priority: Minor


According to document: 
http://kylin.apache.org/docs15/howto/howto_use_restapi.html#get-hive-tables
the "project" is a required parameter. But the source code is "required = 
false" which will lead Internal Server Error when wrong parameter. The fix is 
simple.



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


[jira] [Created] (KYLIN-2039) Refactor REST Request/Response Object into standalone library

2016-09-22 Thread Billy(Yiming) Liu (JIRA)
Billy(Yiming) Liu created KYLIN-2039:


 Summary: Refactor REST Request/Response Object into standalone 
library
 Key: KYLIN-2039
 URL: https://issues.apache.org/jira/browse/KYLIN-2039
 Project: Kylin
  Issue Type: Improvement
  Components: REST Service
Reporter: Billy(Yiming) Liu
Assignee: Zhong,Jason
Priority: Minor


Currently, the Request/Response objects locate at server-base project under 
org/apache/kylin/rest/request[response,model]. They are POJOs which are used to 
communicate between any REST client and Kylin Server. If someone wants to 
integrate Kylin by REST API, he has to import kylin-server library. The 
kylin-server is the project to host the Query/Job web server. This is library 
will introduce almost all kylin backend libraries indirectly(by pom 
dependency). But those are not the required components in client side. So I 
will suggest refactoring some REST code into standalone lightweight library, 
and make the client-server communication much easier. 



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


[jira] [Assigned] (KYLIN-2010) Date dictionary return wrong SQL result

2016-09-20 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2010?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu reassigned KYLIN-2010:


Assignee: liyang  (was: Billy(Yiming) Liu)

> Date dictionary return wrong SQL result
> ---
>
> Key: KYLIN-2010
> URL: https://issues.apache.org/jira/browse/KYLIN-2010
> Project: Kylin
>  Issue Type: Bug
>  Components: Query Engine
>Affects Versions: v1.5.3
>Reporter: Billy(Yiming) Liu
>Assignee: liyang
>
> One dimension calls DAY_ID, varchar type, data likes "20160401". The cube is 
> built successfully with "Date" dictionary for the DAY_ID column. But query 
> 'select count(*), DAY_ID from table group by DAY_ID', the result DAY_ID 
> column is '145946880', not '20160401'. If build with "Dict" dictionary, 
> the result will be '20160401'. 



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


[jira] [Commented] (KYLIN-2027) Error "connection timed out" occurs when zookeeper's port is set in hbase.zookeeper.quorum of hbase-site.xml

2016-09-18 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2027?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15502086#comment-15502086
 ] 

Billy(Yiming) Liu commented on KYLIN-2027:
--

This is not a bug. According to hbase doc: 
http://hbase.apache.org/0.94/book/zookeeper.html


  hbase.zookeeper.property.clientPort
  
  Property from ZooKeeper's config zoo.cfg.
  The port at which the clients will connect.
  


  hbase.zookeeper.quorum
  
rs1.example.com,rs2.example.com,rs3.example.com,rs4.example.com,rs5.example.com
  Comma separated list of servers in the ZooKeeper Quorum.
  For example, "host1.mydomain.com,host2.mydomain.com,host3.mydomain.com".
  By default this is set to localhost for local and pseudo-distributed modes
  of operation. For a fully-distributed setup, this should be set to a full
  list of ZooKeeper quorum servers. If HBASE_MANAGES_ZK is set in 
hbase-env.sh
  this is the list of servers which we will start/stop ZooKeeper on.
  


port should be set in 'hbase.zookeeper.property.clientPort', not 
'hbase.zookeeper.quorum'

> Error "connection timed out" occurs when zookeeper's port is set in 
> hbase.zookeeper.quorum of hbase-site.xml
> 
>
> Key: KYLIN-2027
> URL: https://issues.apache.org/jira/browse/KYLIN-2027
> Project: Kylin
>  Issue Type: Bug
>  Components: Storage - HBase
>Affects Versions: v1.5.4
>Reporter: nichunen
>Assignee: nichunen
>Priority: Minor
>  Labels: patch
> Fix For: v1.6.0
>
> Attachments: KYLIN-2027.patch
>
>
> In our hadoop cluster, we specified ports of zk servers in 
> hbase.zookeeper.quorum of hbase-site.xml like 
>   
> hbase.zookeeper.quorum
> hadoop1:2181,hadoop2:2181,hadoop3:2181
>   
> And we get the error "ERROR [Thread-12] curator.ConnectionState:201 : 
> Connection timed out for connection string 
> (hadoop1:2181:2181,hadoop2:2181:2181,hadoop3:2181:2181) and timeout (15000) / 
> elapsed (15214)"
> I think 
> org.apache.kylin.storage.hbase.util.ZookeeperJobLock#getZKConnectString 
> should check whether it ends with a port before adding a port to the string.
> Attached is the patch.



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


[jira] [Commented] (KYLIN-2022) Kylin support change HBASE_HOME at runtime.

2016-09-17 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15500232#comment-15500232
 ] 

Billy(Yiming) Liu commented on KYLIN-2022:
--

It's a mutil-tenancy requirement, currently Kylin has not supported yet. Hi 
[~liguohui] Do you have patch for it? The contribution is welcomed. But I don't 
think there is guarantee to finish it in 1.6.0. 

> Kylin support change HBASE_HOME at runtime.
> ---
>
> Key: KYLIN-2022
> URL: https://issues.apache.org/jira/browse/KYLIN-2022
> Project: Kylin
>  Issue Type: New Feature
>Reporter: Guohui LI
> Fix For: v1.6.0
>
>
> In multi-tenancy system. each tenant can create one or more hbase cluster.  
> Different user may use different HBASE_HOME when using Kylin. So it's better 
> for user to point out HBASE_HOME when operating Cube or query.



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


[jira] [Updated] (KYLIN-1978) kylin.sh compatible issue on Ubuntu

2016-09-17 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-1978:
-
Attachment: (was: KYLIN-1978)

> kylin.sh compatible issue on Ubuntu
> ---
>
> Key: KYLIN-1978
> URL: https://issues.apache.org/jira/browse/KYLIN-1978
> Project: Kylin
>  Issue Type: Bug
>  Components: Environment 
>Affects Versions: v1.5.3
>Reporter: Shaofeng SHI
>Assignee: Billy(Yiming) Liu
> Fix For: Backlog
>
> Attachments: KYLIN-1978.patch
>
>
> Reported by Marcelo(marcelo.n...@quantium.com.au) in the mailing list:
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=14.04
> DISTRIB_CODENAME=trusty
> DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS"
> NAME="Ubuntu"
> VERSION="14.04.4 LTS, Trusty Tahr"
> ID=ubuntu
> ID_LIKE=debian
> PRETTY_NAME="Ubuntu 14.04.4 LTS"
> VERSION_ID="14.04"
> HOME_URL="http://www.ubuntu.com/;
> SUPPORT_URL="http://help.ubuntu.com/;
> BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/;
> mapr@qtausc-vpcsdev04:~/kylin/apache-kylin-1.5.3-HBase1.x-bin/bin$ ./kylin.sh
> start
> *KYLIN_HOME is set to /home/mapr/kylin/apache-kylin-1.5.3-HBase1.x-bin*
> cat: invalid option -- '1'
> Try 'cat --help' for more information.
> -mkdir: Not enough arguments: expected 1 but got 0
> Usage: hadoop fs [generic options] -mkdir [-p]  ...
> failed to create , Please make sure the user has right to access
> That is what is happening when I try to start kylin.
> I traced the error and the first one come from get-properties.sh at these
> line
> for i in `cat ${KYLIN_HOME}/conf/kylin.properties | grep -w "^$1" | grep -v
> '^#' | awk -F= '{ n = index($0,"="); print substr($0,n+1)}' | cut -c 1-`
> and as you can see kylin home is set.



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


[jira] [Updated] (KYLIN-1978) kylin.sh compatible issue on Ubuntu

2016-09-17 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-1978:
-
Attachment: KYLIN-1978.patch

> kylin.sh compatible issue on Ubuntu
> ---
>
> Key: KYLIN-1978
> URL: https://issues.apache.org/jira/browse/KYLIN-1978
> Project: Kylin
>  Issue Type: Bug
>  Components: Environment 
>Affects Versions: v1.5.3
>Reporter: Shaofeng SHI
>Assignee: Billy(Yiming) Liu
> Fix For: Backlog
>
> Attachments: KYLIN-1978.patch
>
>
> Reported by Marcelo(marcelo.n...@quantium.com.au) in the mailing list:
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=14.04
> DISTRIB_CODENAME=trusty
> DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS"
> NAME="Ubuntu"
> VERSION="14.04.4 LTS, Trusty Tahr"
> ID=ubuntu
> ID_LIKE=debian
> PRETTY_NAME="Ubuntu 14.04.4 LTS"
> VERSION_ID="14.04"
> HOME_URL="http://www.ubuntu.com/;
> SUPPORT_URL="http://help.ubuntu.com/;
> BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/;
> mapr@qtausc-vpcsdev04:~/kylin/apache-kylin-1.5.3-HBase1.x-bin/bin$ ./kylin.sh
> start
> *KYLIN_HOME is set to /home/mapr/kylin/apache-kylin-1.5.3-HBase1.x-bin*
> cat: invalid option -- '1'
> Try 'cat --help' for more information.
> -mkdir: Not enough arguments: expected 1 but got 0
> Usage: hadoop fs [generic options] -mkdir [-p]  ...
> failed to create , Please make sure the user has right to access
> That is what is happening when I try to start kylin.
> I traced the error and the first one come from get-properties.sh at these
> line
> for i in `cat ${KYLIN_HOME}/conf/kylin.properties | grep -w "^$1" | grep -v
> '^#' | awk -F= '{ n = index($0,"="); print substr($0,n+1)}' | cut -c 1-`
> and as you can see kylin home is set.



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


[jira] [Updated] (KYLIN-1978) kylin.sh compatible issue on Ubuntu

2016-09-17 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-1978:
-
Attachment: KYLIN-1978

The patch is updated to support multiple spaces split value.

> kylin.sh compatible issue on Ubuntu
> ---
>
> Key: KYLIN-1978
> URL: https://issues.apache.org/jira/browse/KYLIN-1978
> Project: Kylin
>  Issue Type: Bug
>  Components: Environment 
>Affects Versions: v1.5.3
>Reporter: Shaofeng SHI
>Assignee: Billy(Yiming) Liu
> Fix For: Backlog
>
> Attachments: KYLIN-1978
>
>
> Reported by Marcelo(marcelo.n...@quantium.com.au) in the mailing list:
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=14.04
> DISTRIB_CODENAME=trusty
> DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS"
> NAME="Ubuntu"
> VERSION="14.04.4 LTS, Trusty Tahr"
> ID=ubuntu
> ID_LIKE=debian
> PRETTY_NAME="Ubuntu 14.04.4 LTS"
> VERSION_ID="14.04"
> HOME_URL="http://www.ubuntu.com/;
> SUPPORT_URL="http://help.ubuntu.com/;
> BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/;
> mapr@qtausc-vpcsdev04:~/kylin/apache-kylin-1.5.3-HBase1.x-bin/bin$ ./kylin.sh
> start
> *KYLIN_HOME is set to /home/mapr/kylin/apache-kylin-1.5.3-HBase1.x-bin*
> cat: invalid option -- '1'
> Try 'cat --help' for more information.
> -mkdir: Not enough arguments: expected 1 but got 0
> Usage: hadoop fs [generic options] -mkdir [-p]  ...
> failed to create , Please make sure the user has right to access
> That is what is happening when I try to start kylin.
> I traced the error and the first one come from get-properties.sh at these
> line
> for i in `cat ${KYLIN_HOME}/conf/kylin.properties | grep -w "^$1" | grep -v
> '^#' | awk -F= '{ n = index($0,"="); print substr($0,n+1)}' | cut -c 1-`
> and as you can see kylin home is set.



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


[jira] [Updated] (KYLIN-1978) kylin.sh compatible issue on Ubuntu

2016-09-17 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-1978:
-
Attachment: (was: KYLIN-1978.patch)

> kylin.sh compatible issue on Ubuntu
> ---
>
> Key: KYLIN-1978
> URL: https://issues.apache.org/jira/browse/KYLIN-1978
> Project: Kylin
>  Issue Type: Bug
>  Components: Environment 
>Affects Versions: v1.5.3
>Reporter: Shaofeng SHI
>Assignee: Billy(Yiming) Liu
> Fix For: Backlog
>
>
> Reported by Marcelo(marcelo.n...@quantium.com.au) in the mailing list:
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=14.04
> DISTRIB_CODENAME=trusty
> DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS"
> NAME="Ubuntu"
> VERSION="14.04.4 LTS, Trusty Tahr"
> ID=ubuntu
> ID_LIKE=debian
> PRETTY_NAME="Ubuntu 14.04.4 LTS"
> VERSION_ID="14.04"
> HOME_URL="http://www.ubuntu.com/;
> SUPPORT_URL="http://help.ubuntu.com/;
> BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/;
> mapr@qtausc-vpcsdev04:~/kylin/apache-kylin-1.5.3-HBase1.x-bin/bin$ ./kylin.sh
> start
> *KYLIN_HOME is set to /home/mapr/kylin/apache-kylin-1.5.3-HBase1.x-bin*
> cat: invalid option -- '1'
> Try 'cat --help' for more information.
> -mkdir: Not enough arguments: expected 1 but got 0
> Usage: hadoop fs [generic options] -mkdir [-p]  ...
> failed to create , Please make sure the user has right to access
> That is what is happening when I try to start kylin.
> I traced the error and the first one come from get-properties.sh at these
> line
> for i in `cat ${KYLIN_HOME}/conf/kylin.properties | grep -w "^$1" | grep -v
> '^#' | awk -F= '{ n = index($0,"="); print substr($0,n+1)}' | cut -c 1-`
> and as you can see kylin home is set.



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


[jira] [Issue Comment Deleted] (KYLIN-1978) kylin.sh compatible issue on Ubuntu

2016-09-17 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-1978:
-
Comment: was deleted

(was: Patch is ready for review)

> kylin.sh compatible issue on Ubuntu
> ---
>
> Key: KYLIN-1978
> URL: https://issues.apache.org/jira/browse/KYLIN-1978
> Project: Kylin
>  Issue Type: Bug
>  Components: Environment 
>Affects Versions: v1.5.3
>Reporter: Shaofeng SHI
>Assignee: Billy(Yiming) Liu
> Fix For: Backlog
>
>
> Reported by Marcelo(marcelo.n...@quantium.com.au) in the mailing list:
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=14.04
> DISTRIB_CODENAME=trusty
> DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS"
> NAME="Ubuntu"
> VERSION="14.04.4 LTS, Trusty Tahr"
> ID=ubuntu
> ID_LIKE=debian
> PRETTY_NAME="Ubuntu 14.04.4 LTS"
> VERSION_ID="14.04"
> HOME_URL="http://www.ubuntu.com/;
> SUPPORT_URL="http://help.ubuntu.com/;
> BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/;
> mapr@qtausc-vpcsdev04:~/kylin/apache-kylin-1.5.3-HBase1.x-bin/bin$ ./kylin.sh
> start
> *KYLIN_HOME is set to /home/mapr/kylin/apache-kylin-1.5.3-HBase1.x-bin*
> cat: invalid option -- '1'
> Try 'cat --help' for more information.
> -mkdir: Not enough arguments: expected 1 but got 0
> Usage: hadoop fs [generic options] -mkdir [-p]  ...
> failed to create , Please make sure the user has right to access
> That is what is happening when I try to start kylin.
> I traced the error and the first one come from get-properties.sh at these
> line
> for i in `cat ${KYLIN_HOME}/conf/kylin.properties | grep -w "^$1" | grep -v
> '^#' | awk -F= '{ n = index($0,"="); print substr($0,n+1)}' | cut -c 1-`
> and as you can see kylin home is set.



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


[jira] [Updated] (KYLIN-1978) kylin.sh compatible issue on Ubuntu

2016-09-17 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-1978:
-
Attachment: KYLIN-1978.patch

Patch is ready for review

> kylin.sh compatible issue on Ubuntu
> ---
>
> Key: KYLIN-1978
> URL: https://issues.apache.org/jira/browse/KYLIN-1978
> Project: Kylin
>  Issue Type: Bug
>  Components: Environment 
>Affects Versions: v1.5.3
>Reporter: Shaofeng SHI
>Assignee: Billy(Yiming) Liu
> Fix For: Backlog
>
> Attachments: KYLIN-1978.patch
>
>
> Reported by Marcelo(marcelo.n...@quantium.com.au) in the mailing list:
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=14.04
> DISTRIB_CODENAME=trusty
> DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS"
> NAME="Ubuntu"
> VERSION="14.04.4 LTS, Trusty Tahr"
> ID=ubuntu
> ID_LIKE=debian
> PRETTY_NAME="Ubuntu 14.04.4 LTS"
> VERSION_ID="14.04"
> HOME_URL="http://www.ubuntu.com/;
> SUPPORT_URL="http://help.ubuntu.com/;
> BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/;
> mapr@qtausc-vpcsdev04:~/kylin/apache-kylin-1.5.3-HBase1.x-bin/bin$ ./kylin.sh
> start
> *KYLIN_HOME is set to /home/mapr/kylin/apache-kylin-1.5.3-HBase1.x-bin*
> cat: invalid option -- '1'
> Try 'cat --help' for more information.
> -mkdir: Not enough arguments: expected 1 but got 0
> Usage: hadoop fs [generic options] -mkdir [-p]  ...
> failed to create , Please make sure the user has right to access
> That is what is happening when I try to start kylin.
> I traced the error and the first one come from get-properties.sh at these
> line
> for i in `cat ${KYLIN_HOME}/conf/kylin.properties | grep -w "^$1" | grep -v
> '^#' | awk -F= '{ n = index($0,"="); print substr($0,n+1)}' | cut -c 1-`
> and as you can see kylin home is set.



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


[jira] [Commented] (KYLIN-1978) kylin.sh compatible issue on Ubuntu

2016-09-17 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-1978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15500032#comment-15500032
 ] 

Billy(Yiming) Liu commented on KYLIN-1978:
--

The issue is not related with 'awk statement' which trims the whitespace. It's 
related the variable 'IFS'. 
If we remove the IFS, it works. But I have no idea why IFS was defined '\n'. 
[~shaofengniu] What do you think ,could we remove the IFS?

> kylin.sh compatible issue on Ubuntu
> ---
>
> Key: KYLIN-1978
> URL: https://issues.apache.org/jira/browse/KYLIN-1978
> Project: Kylin
>  Issue Type: Bug
>  Components: Environment 
>Affects Versions: v1.5.3
>Reporter: Shaofeng SHI
>Assignee: Billy(Yiming) Liu
> Fix For: Backlog
>
>
> Reported by Marcelo(marcelo.n...@quantium.com.au) in the mailing list:
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=14.04
> DISTRIB_CODENAME=trusty
> DISTRIB_DESCRIPTION="Ubuntu 14.04.4 LTS"
> NAME="Ubuntu"
> VERSION="14.04.4 LTS, Trusty Tahr"
> ID=ubuntu
> ID_LIKE=debian
> PRETTY_NAME="Ubuntu 14.04.4 LTS"
> VERSION_ID="14.04"
> HOME_URL="http://www.ubuntu.com/;
> SUPPORT_URL="http://help.ubuntu.com/;
> BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/;
> mapr@qtausc-vpcsdev04:~/kylin/apache-kylin-1.5.3-HBase1.x-bin/bin$ ./kylin.sh
> start
> *KYLIN_HOME is set to /home/mapr/kylin/apache-kylin-1.5.3-HBase1.x-bin*
> cat: invalid option -- '1'
> Try 'cat --help' for more information.
> -mkdir: Not enough arguments: expected 1 but got 0
> Usage: hadoop fs [generic options] -mkdir [-p]  ...
> failed to create , Please make sure the user has right to access
> That is what is happening when I try to start kylin.
> I traced the error and the first one come from get-properties.sh at these
> line
> for i in `cat ${KYLIN_HOME}/conf/kylin.properties | grep -w "^$1" | grep -v
> '^#' | awk -F= '{ n = index($0,"="); print substr($0,n+1)}' | cut -c 1-`
> and as you can see kylin home is set.



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


[jira] [Commented] (KYLIN-1801) Project level cube admin can not see the cubes of the projects after login

2016-09-17 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-1801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15499047#comment-15499047
 ] 

Billy(Yiming) Liu commented on KYLIN-1801:
--

What kinds of authentication you use? Which Kylin version? Could you list the 
reproduce steps?

> Project level cube admin can not see the cubes of the projects after login
> --
>
> Key: KYLIN-1801
> URL: https://issues.apache.org/jira/browse/KYLIN-1801
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Reporter: qianqiaoneng
>Assignee: qianqiaoneng
>




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


[jira] [Commented] (KYLIN-2012) more robust approach to hive schema changes

2016-09-17 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-2012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15498907#comment-15498907
 ] 

Billy(Yiming) Liu commented on KYLIN-2012:
--

Thanks, [~gaodayue]. The check rules make sense. As you figured out, KYLIN-1985 
has been fixed recently. Could you update the rules on lookup table? Then all 
tables has same rules. 

> more robust approach to hive schema changes
> ---
>
> Key: KYLIN-2012
> URL: https://issues.apache.org/jira/browse/KYLIN-2012
> Project: Kylin
>  Issue Type: Bug
>  Components: Metadata, REST Service, Web 
>Affects Versions: v1.5.3
>Reporter: Dayue Gao
>Assignee: Dayue Gao
> Fix For: v1.6.0
>
>
> Our users occasionally want to change their existing cube, such as 
> adding/renaming/removing a dimension. Some of these changes require 
> modifications to its source hive table. So our user changed the table schema 
> and reloaded its metadata in Kylin, then several issues can happen depends on 
> what he changed.
> I did some schema changing tests based on 1.5.3, the results after reloading 
> table are listed below
> || type of changes || fact table || lookup table ||
> | *minor* | both query and build still works | query can fail or return wrong 
> answer |
> | *major* | fail to load related cube | fail to load related cube |
> {{minor}} changes refer to those doesn't change columns used in cubes, such 
> as insert/append new column, remove/change unused column.
> {{major}} changes are the opposite, like remove/rename/change type of used 
> column.
> Clearly from the table, reload a changed table is problematic in certain 
> cases. KYLIN-1536 reports a similar problem.
> So what can we do to support this kind of iterative development process (load 
> -> define cube -> build -> reload -> change cube -> rebuild)?
> My first thought is simply detect-and-prohibit reloading used table. User 
> should be able to know which cube is preventing him from reloading, and then 
> he could drop and recreate cube after reloading. However, defining a cube is 
> not an easy task (consider editing 100 measures). Force users to recreate 
> their cube over and over again will certainly not make them happy.
> A better idea is to allow cube to be editable even if it's broken due to some 
> columns changed after reloading. Broken cube can't be built or queried, it 
> can only be edit or dropped. In fact, there is a cube status called 
> {{RealizationStatusEnum.DESCBROKEN}} in code, but was never used. We should 
> take advantage of it.
> An enabled cube shouldn't allow schema changes, otherwise an unintentional 
> reload could make it unavailable. Similarly, a disabled but unpurged cube 
> shouldn't allow schema changes since it still has data in it.



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


[jira] [Commented] (KYLIN-1962) Split kylin.properties into two files

2016-09-17 Thread Billy(Yiming) Liu (JIRA)

[ 
https://issues.apache.org/jira/browse/KYLIN-1962?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15498884#comment-15498884
 ] 

Billy(Yiming) Liu commented on KYLIN-1962:
--

If no need, I'd like remove the changed code.

> Split kylin.properties into two files
> -
>
> Key: KYLIN-1962
> URL: https://issues.apache.org/jira/browse/KYLIN-1962
> Project: Kylin
>  Issue Type: Improvement
>Reporter: liyang
>Assignee: Billy(Yiming) Liu
>
> Split kylin.properties into two files: normal properties and security 
> sensitive properties



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


[jira] [Updated] (KYLIN-1565) Read the kv max size from HBase config

2016-09-15 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-1565?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-1565:
-
Attachment: KYLIN-1565.patch

The patch is ready for review. Hi [~liyang.g...@gmail.com], could you help?

> Read the kv max size from HBase config
> --
>
> Key: KYLIN-1565
> URL: https://issues.apache.org/jira/browse/KYLIN-1565
> Project: Kylin
>  Issue Type: Bug
>Reporter: liyang
>Assignee: Billy(Yiming) Liu
>  Labels: newbie
> Attachments: KYLIN-1565.patch
>
>
> Kylin should try read the kv max size from HBase config rather than ask user 
> to repeat again in kylin.properties.
> Suggest drop "kylin.hbase.client.keyvalue.maxsize", and read similar config 
> from HBase.



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


[jira] [Updated] (KYLIN-2019) Add license checker into checkstyle rule

2016-09-15 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-2019:
-
Attachment: 0002-KYLIN-2019-Remove-unused-checkstyle-config.patch
0001-KYLIN-2019-add-license-checker-in-checkstyle-plugin.patch

In the first patch, the checker header is added into checkstyle plugin.

In the second patch, some unused checkstyle config file were removed.

> Add license checker into checkstyle rule
> 
>
> Key: KYLIN-2019
> URL: https://issues.apache.org/jira/browse/KYLIN-2019
> Project: Kylin
>  Issue Type: Improvement
>Affects Versions: v1.5.4
>Reporter: Billy(Yiming) Liu
>Assignee: Billy(Yiming) Liu
>Priority: Minor
> Attachments: 
> 0001-KYLIN-2019-add-license-checker-in-checkstyle-plugin.patch, 
> 0002-KYLIN-2019-Remove-unused-checkstyle-config.patch
>
>
> Currently, not all files begin with the same format Apache Licence, 
> especially from different developers among the community. 
> In this update, the standard license file would be added into source repo, 
> and checkstyle plugin will check it in validate phase.



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


[jira] [Updated] (KYLIN-2019) Add license checker into checkstyle rule

2016-09-15 Thread Billy(Yiming) Liu (JIRA)

 [ 
https://issues.apache.org/jira/browse/KYLIN-2019?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Billy(Yiming) Liu updated KYLIN-2019:
-
Attachment: (was: KYLIN-2019.patch)

> Add license checker into checkstyle rule
> 
>
> Key: KYLIN-2019
> URL: https://issues.apache.org/jira/browse/KYLIN-2019
> Project: Kylin
>  Issue Type: Improvement
>Affects Versions: v1.5.4
>Reporter: Billy(Yiming) Liu
>Assignee: Billy(Yiming) Liu
>Priority: Minor
>
> Currently, not all files begin with the same format Apache Licence, 
> especially from different developers among the community. 
> In this update, the standard license file would be added into source repo, 
> and checkstyle plugin will check it in validate phase.



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


  1   2   3   >