[jira] [Created] (KYLIN-3477) Spark job size wasn't displayed when submit deployMode is cluster

2018-07-31 Thread Na Zhai (JIRA)
Na Zhai created KYLIN-3477:
--

 Summary: Spark job size wasn't displayed when submit deployMode is 
cluster
 Key: KYLIN-3477
 URL: https://issues.apache.org/jira/browse/KYLIN-3477
 Project: Kylin
  Issue Type: Bug
  Components: Spark Engine
Reporter: Na Zhai


When "spark.submit.deployMode=cluster", the Yarn job size can't be printed in 
console, Kylin can't get that.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KYLIN-3498) Chinese translation of community, development, blog docs

2018-08-14 Thread Na Zhai (JIRA)
Na Zhai created KYLIN-3498:
--

 Summary: Chinese translation of community, development, blog docs
 Key: KYLIN-3498
 URL: https://issues.apache.org/jira/browse/KYLIN-3498
 Project: Kylin
  Issue Type: Improvement
  Components: Documentation
Reporter: Na Zhai
Assignee: Na Zhai


There are many active Chinese users in Kylin community, a Chinese translation 
of community, development, blog docs will be very helpful to Kylin newbies and 
experienced Kylin users as well.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KYLIN-3628) The wrong result when a query with one lookup table

2018-10-13 Thread Na Zhai (JIRA)
Na Zhai created KYLIN-3628:
--

 Summary: The wrong result when a query with one lookup table
 Key: KYLIN-3628
 URL: https://issues.apache.org/jira/browse/KYLIN-3628
 Project: Kylin
  Issue Type: Improvement
Reporter: Na Zhai
Assignee: Na Zhai
 Fix For: v2.6.0


Two cubes use the same lookup table, and then the lookup table data in Hive 
changes. One of Kylin's cubes builds the new data, and the other doesn't. When 
Kylin queries the lookup table, the data gets confused.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KYLIN-3529) Prompt not friendly

2018-09-03 Thread Na Zhai (JIRA)
Na Zhai created KYLIN-3529:
--

 Summary: Prompt not friendly
 Key: KYLIN-3529
 URL: https://issues.apache.org/jira/browse/KYLIN-3529
 Project: Kylin
  Issue Type: Bug
  Components: Web 
Reporter: Na Zhai


 *Scene 1:*When I create a hybrid with duplicate name, then I click submit, the 
error message "error execute org.apache.kylin.rest.job.HybridCubeCLI" will pop 
up.
 
*Scene 2:*When I create a hybrid with duplicate date/time cube, then I click 
submit, the error message "error execute 
org.apache.kylin.rest.job.HybridCubeCLI" will pop up.
 
I think the error message should be more friendly.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KYLIN-3528) No details page for hybrid

2018-09-03 Thread Na Zhai (JIRA)
Na Zhai created KYLIN-3528:
--

 Summary: No details page for hybrid
 Key: KYLIN-3528
 URL: https://issues.apache.org/jira/browse/KYLIN-3528
 Project: Kylin
  Issue Type: Improvement
  Components: Web 
Reporter: Na Zhai


When I click hybrid name, there is no detail page for that hybrid.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KYLIN-3530) All cubes disabled but table still can be seen in Insight page

2018-09-03 Thread Na Zhai (JIRA)
Na Zhai created KYLIN-3530:
--

 Summary: All cubes disabled but table still can be seen in Insight 
page
 Key: KYLIN-3530
 URL: https://issues.apache.org/jira/browse/KYLIN-3530
 Project: Kylin
  Issue Type: Bug
Reporter: Na Zhai


When I disable all cubes with table KYLIN_SALES,KYLIN_SALES still can be seen 
in Insight page



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KYLIN-3526) No check for hybrid name with special character

2018-09-03 Thread Na Zhai (JIRA)
Na Zhai created KYLIN-3526:
--

 Summary: No check for hybrid name with special character
 Key: KYLIN-3526
 URL: https://issues.apache.org/jira/browse/KYLIN-3526
 Project: Kylin
  Issue Type: Improvement
  Components: Web 
Reporter: Na Zhai
 Attachments: 名称没做限制.png

When create hybrid,there is no check for hybrid name with special character. 
Such as !@&.

Hybrid can be created successfully with name like hy!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KYLIN-3533) Can not save hybrid

2018-09-04 Thread Na Zhai (JIRA)
Na Zhai created KYLIN-3533:
--

 Summary: Can not save hybrid
 Key: KYLIN-3533
 URL: https://issues.apache.org/jira/browse/KYLIN-3533
 Project: Kylin
  Issue Type: Bug
Reporter: Na Zhai
Assignee: Chao Long


Steps:
 # create hybrid with 3 cube, cube A's status is disable(not build), cube B and 
C are ready(build successful without segment overlap)
 # click submit
 # build cube A, the partition date is early than cube B and C
 # add cube D(not build) to hybrid, click submit

hybrid can not save and error message will pop up



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KYLIN-3532) Inconsistent results of the query

2018-09-04 Thread Na Zhai (JIRA)
Na Zhai created KYLIN-3532:
--

 Summary: Inconsistent results of the query
 Key: KYLIN-3532
 URL: https://issues.apache.org/jira/browse/KYLIN-3532
 Project: Kylin
  Issue Type: Bug
  Components: Query Engine
Reporter: Na Zhai


When I query with sql "select count(*) from KYLIN_CATEGORY_GROUPINGS where 
KYLIN_CATEGORY_GROUPINGS.KYLIN_GROUPINGS_CRE_DATE > DATE '2012-09-02'". The 
query result shows 0 which is correct. When I query with sql "select count(*) 
from KYLIN_CATEGORY_GROUPINGS where 
KYLIN_CATEGORY_GROUPINGS.KYLIN_GROUPINGS_CRE_DATE < DATE '2012-09-02'". The 
query result shows 0 which is wrong. It should be 14. When I query with sql 
"select count(*) from KYLIN_CATEGORY_GROUPINGS where 
KYLIN_CATEGORY_GROUPINGS.KYLIN_GROUPINGS_CRE_DATE > DATE '2010-09-02'". The 
query result shows 14 which is correct.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KYLIN-3781) Can not start Kylin in Idea on Windows

2019-01-22 Thread Na Zhai (JIRA)
Na Zhai created KYLIN-3781:
--

 Summary: Can not start Kylin in Idea on Windows
 Key: KYLIN-3781
 URL: https://issues.apache.org/jira/browse/KYLIN-3781
 Project: Kylin
  Issue Type: Bug
 Environment: Windows
Reporter: Na Zhai
Assignee: Chao Long


After merge pr of issue https://issues.apache.org/jira/browse/KYLIN-3734, I get 
an error about ZookeeperDistributedLock when starting Kylin in Idea.

After check code, I find that "return new File(path).getCanonicalPath();" in 
ZookeeperDistributedLock.java  add the drive letter of my operating system. It 
will make zookeeper not get the lock. My environment is Windows.

Error message:
Caused by: java.lang.IllegalStateException: Error while 6260@NaZhai-PC trying 
to lock F:\kylin\kylin_metadata_idea\job_engine\global_job_engine_lock
at 
org.apache.kylin.storage.hbase.util.ZookeeperDistributedLock.lock(ZookeeperDistributedLock.java:153)
at 
org.apache.kylin.storage.hbase.util.ZookeeperDistributedLock.lock(ZookeeperDistributedLock.java:170)
at 
org.apache.kylin.storage.hbase.util.ZookeeperDistributedLock.lockJobEngine(ZookeeperDistributedLock.java:316)
at 
org.apache.kylin.storage.hbase.util.ZookeeperJobLock.lockJobEngine(ZookeeperJobLock.java:81)
at 
org.apache.kylin.job.impl.threadpool.DefaultScheduler.init(DefaultScheduler.java:152)
at 
org.apache.kylin.rest.service.JobService.afterPropertiesSet(JobService.java:126)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1687)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1624)
... 61 more
Caused by: java.lang.IllegalArgumentException: Path must start with / character
at org.apache.curator.utils.PathUtils.validatePath(PathUtils.java:54)
at org.apache.curator.utils.PathUtils.validatePath(PathUtils.java:37)
at org.apache.curator.utils.ZKPaths.fixForNamespace(ZKPaths.java:63)
at 
org.apache.curator.framework.imps.NamespaceImpl.fixForNamespace(NamespaceImpl.java:82)
at 
org.apache.curator.framework.imps.CuratorFrameworkImpl.fixForNamespace(CuratorFrameworkImpl.java:579)
at 
org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:434)
at 
org.apache.curator.framework.imps.CreateBuilderImpl.forPath(CreateBuilderImpl.java:44)
at 
org.apache.kylin.storage.hbase.util.ZookeeperDistributedLock.lock(ZookeeperDistributedLock.java:149)
... 68 more



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KYLIN-3766) Add docs for Query SQL Function and Data Type

2019-01-11 Thread Na Zhai (JIRA)
Na Zhai created KYLIN-3766:
--

 Summary: Add docs for Query SQL Function and Data Type
 Key: KYLIN-3766
 URL: https://issues.apache.org/jira/browse/KYLIN-3766
 Project: Kylin
  Issue Type: Improvement
  Components: Documentation
Reporter: Na Zhai
Assignee: Na Zhai


Kylin is lack of docs for SQL Function and data type that Kylin supported.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KYLIN-3935) ZKUtil acquire the wrong Zookeeper Path on windows

2019-04-04 Thread Na Zhai (JIRA)
Na Zhai created KYLIN-3935:
--

 Summary: ZKUtil acquire the wrong Zookeeper Path on windows
 Key: KYLIN-3935
 URL: https://issues.apache.org/jira/browse/KYLIN-3935
 Project: Kylin
  Issue Type: Bug
Affects Versions: v2.6.1
Reporter: Na Zhai
Assignee: Na Zhai
 Fix For: v2.6.2


In my windows env, when I run Kylin, Kylin service can't start. In class 
ZKUtil, I found Kylin use File(path).getCanonicalPath() to norm windows path, 
however this will get a path like ' C:\kylin\kylin_metadata'.For Zookeeper, the 
path must start with / character.

{color:#FF}return new File(path).toURI().getPath(){color} might be better!!!

Below is stackTrace:

: java.lang.RuntimeException: 
com.google.common.util.concurrent.UncheckedExecutionException: 
java.lang.RuntimeException: Fail to check or create znode for chRoot 
F:\kylin\kylin_metadata_idea due to 
 at org.apache.kylin.common.util.ZKUtil.getZookeeperClient(ZKUtil.java:137)
 at org.apache.kylin.common.util.ZKUtil.getZookeeperClient(ZKUtil.java:115)
 at 
org.apache.kylin.job.lock.zookeeper.ZookeeperDistributedLock$Factory.(ZookeeperDistributedLock.java:57)
 at 
org.apache.kylin.job.lock.zookeeper.ZookeeperDistributedLock$Factory.(ZookeeperDistributedLock.java:53)
 at 
org.apache.kylin.job.lock.zookeeper.ZookeeperJobLock.(ZookeeperJobLock.java:32)
 at 
org.apache.kylin.rest.service.JobService.afterPropertiesSet(JobService.java:132)
 at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1687)
 at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1624)
 ... 61 more
Caused by: com.google.common.util.concurrent.UncheckedExecutionException: 
java.lang.RuntimeException: Fail to check or create znode for chRoot 
F:\kylin\kylin_metadata_idea due to 
 at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2263)
 at com.google.common.cache.LocalCache.get(LocalCache.java:4000)
 at 
com.google.common.cache.LocalCache$LocalManualCache.get(LocalCache.java:4789)
 at org.apache.kylin.common.util.ZKUtil.getZookeeperClient(ZKUtil.java:123)
 ... 68 more



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KYLIN-3817) Duration in Cube building is negative number

2019-02-18 Thread Na Zhai (JIRA)
Na Zhai created KYLIN-3817:
--

 Summary: Duration in Cube building is negative number
 Key: KYLIN-3817
 URL: https://issues.apache.org/jira/browse/KYLIN-3817
 Project: Kylin
  Issue Type: Bug
Affects Versions: v2.6.0
Reporter: Na Zhai
Assignee: Na Zhai
 Attachments: Duration error.png

After building the cube for a few minutes, click the Refresh button and the 
duration of the job becomes negative. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KYLIN-3818) After Cube disabled, merge cube job still running

2019-02-19 Thread Na Zhai (JIRA)
Na Zhai created KYLIN-3818:
--

 Summary: After Cube disabled, merge cube job still running
 Key: KYLIN-3818
 URL: https://issues.apache.org/jira/browse/KYLIN-3818
 Project: Kylin
  Issue Type: Bug
Affects Versions: v2.6.0
Reporter: Na Zhai
Assignee: Na Zhai


There is a merge cube job with an error status, then I discard the job, then I 
disable the cube, but the merge cube job still running.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KYLIN-3805) Add documentation about the purpose of each HDFS directory

2019-02-02 Thread Na Zhai (JIRA)
Na Zhai created KYLIN-3805:
--

 Summary: Add documentation about the purpose of each HDFS directory
 Key: KYLIN-3805
 URL: https://issues.apache.org/jira/browse/KYLIN-3805
 Project: Kylin
  Issue Type: Improvement
  Components: Documentation
Reporter: Na Zhai
Assignee: Na Zhai


Kylin is lack of docs about the purpose of each HDFS directory.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KYLIN-4034) The table should not display in Insight page when the user has no access to the table

2019-06-05 Thread Na Zhai (JIRA)
Na Zhai created KYLIN-4034:
--

 Summary: The table should not display in Insight page when the 
user has no access to the table
 Key: KYLIN-4034
 URL: https://issues.apache.org/jira/browse/KYLIN-4034
 Project: Kylin
  Issue Type: Bug
Affects Versions: v2.6.2
Reporter: Na Zhai
Assignee: Na Zhai






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Created] (KYLIN-3981) Auto Merge Job failed to execute on windows

2019-04-25 Thread Na Zhai (JIRA)
Na Zhai created KYLIN-3981:
--

 Summary: Auto Merge Job failed to execute on windows
 Key: KYLIN-3981
 URL: https://issues.apache.org/jira/browse/KYLIN-3981
 Project: Kylin
  Issue Type: Bug
Affects Versions: v2.6.1
Reporter: Na Zhai
Assignee: Na Zhai
 Fix For: v2.6.2


Auto Merge Job failed to execute on windows. It will throw the following errors.

 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)