[jira] [Commented] (KYLIN-4133) support override configuration in kafka job

2019-08-13 Thread Zhixiong Chen (JIRA)


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

Zhixiong Chen commented on KYLIN-4133:
--

Yes,

but KYLIN-4115 is override config with consumer,

this Jira is is override config with kafka job

> support override configuration in kafka job
> ---
>
> Key: KYLIN-4133
> URL: https://issues.apache.org/jira/browse/KYLIN-4133
> Project: Kylin
>  Issue Type: Improvement
>  Components: NRT Streaming
>Reporter: Zhixiong Chen
>Assignee: Zhixiong Chen
>Priority: Minor
>
> we can't override 'kafka.split.rows' config in kafka job.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Created] (KYLIN-4133) support override configuration in kafka job

2019-08-13 Thread Zhixiong Chen (JIRA)
Zhixiong Chen created KYLIN-4133:


 Summary: support override configuration in kafka job
 Key: KYLIN-4133
 URL: https://issues.apache.org/jira/browse/KYLIN-4133
 Project: Kylin
  Issue Type: Improvement
  Components: NRT Streaming
Reporter: Zhixiong Chen
Assignee: Zhixiong Chen


we can't override 'kafka.split.rows' config in kafka job.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Created] (KYLIN-4115) Always load KafkaConsumerProperties

2019-07-26 Thread Zhixiong Chen (JIRA)
Zhixiong Chen created KYLIN-4115:


 Summary: Always load KafkaConsumerProperties
 Key: KYLIN-4115
 URL: https://issues.apache.org/jira/browse/KYLIN-4115
 Project: Kylin
  Issue Type: Bug
  Components: NRT Streaming
Reporter: Zhixiong Chen
Assignee: Zhixiong Chen


KafkaConsumerProperties can't override by conf/kylin-kafka-consumer.xml or 
“kylin.source.kafka.config-override.”



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Created] (KYLIN-4023) timestamp and date with timezone in jdbc

2019-05-30 Thread Zhixiong Chen (JIRA)
Zhixiong Chen created KYLIN-4023:


 Summary: timestamp and date with timezone in jdbc
 Key: KYLIN-4023
 URL: https://issues.apache.org/jira/browse/KYLIN-4023
 Project: Kylin
  Issue Type: Bug
  Components: Driver - JDBC
Reporter: Zhixiong Chen
Assignee: Zhixiong Chen


query with timestamp or date type column

the result with timezone in jdbc



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


[jira] [Assigned] (KYLIN-3995) config data type may make oom

2019-05-07 Thread Zhixiong Chen (JIRA)


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

Zhixiong Chen reassigned KYLIN-3995:


Assignee: Zhixiong Chen

> config data type may make oom
> -
>
> Key: KYLIN-3995
> URL: https://issues.apache.org/jira/browse/KYLIN-3995
> Project: Kylin
>  Issue Type: Bug
>  Components: Others
>Reporter: Zhixiong Chen
>Assignee: Zhixiong Chen
>Priority: Major
>
> getTrieDictionaryForestMaxTrieSizeMB()  data type is int
> however in TrieDictionaryForestBuilder  "maxTrieTreeSizeMB * 1024 * 1024" 
> it could over integer.max



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


[jira] [Created] (KYLIN-3995) config data type may make oom

2019-05-07 Thread Zhixiong Chen (JIRA)
Zhixiong Chen created KYLIN-3995:


 Summary: config data type may make oom
 Key: KYLIN-3995
 URL: https://issues.apache.org/jira/browse/KYLIN-3995
 Project: Kylin
  Issue Type: Bug
  Components: Others
Reporter: Zhixiong Chen


getTrieDictionaryForestMaxTrieSizeMB()  data type is int

however in TrieDictionaryForestBuilder  "maxTrieTreeSizeMB * 1024 * 1024" 

it could over integer.max



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


[jira] [Issue Comment Deleted] (KYLIN-3870) Kylin support count(column)

2019-03-14 Thread Zhixiong Chen (JIRA)


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

Zhixiong Chen updated KYLIN-3870:
-
Comment: was deleted

(was: So this jira is meaning to support count(column) as a measure ?)

> Kylin support count(column)
> ---
>
> Key: KYLIN-3870
> URL: https://issues.apache.org/jira/browse/KYLIN-3870
> Project: Kylin
>  Issue Type: Improvement
>Reporter: jinguowei
>Assignee: xiaodongzhang
>Priority: Major
>




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


[jira] [Commented] (KYLIN-3870) Kylin support count(column)

2019-03-12 Thread Zhixiong Chen (JIRA)


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

Zhixiong Chen commented on KYLIN-3870:
--

So this jira is meaning to support count(column) as a measure ?

> Kylin support count(column)
> ---
>
> Key: KYLIN-3870
> URL: https://issues.apache.org/jira/browse/KYLIN-3870
> Project: Kylin
>  Issue Type: Improvement
>Reporter: jinguowei
>Assignee: xiaodongzhang
>Priority: Major
>




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


[jira] [Commented] (KYLIN-3790) return wrong error code when command executor is interrupted

2019-01-25 Thread Zhixiong Chen (JIRA)


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

Zhixiong Chen commented on KYLIN-3790:
--

please review this pr  [https://github.com/apache/kylin/pull/446]

thanks!

> return wrong error code when command executor is  interrupted 
> --
>
> Key: KYLIN-3790
> URL: https://issues.apache.org/jira/browse/KYLIN-3790
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine
>Affects Versions: v2.5.2
>Reporter: Zhixiong Chen
>Assignee: Zhixiong Chen
>Priority: Major
>
> in  CliCommandExecutor.java if command cli is interrupted, in  
> runNativeCommand() it return  
> Pair.newPair(0, "Killed").
> However, the error code 0 is mean not throw RuntimeException.And it will 
> execute next step.
>   



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


[jira] [Created] (KYLIN-3790) return wrong error code when command executor is interrupted

2019-01-25 Thread Zhixiong Chen (JIRA)
Zhixiong Chen created KYLIN-3790:


 Summary: return wrong error code when command executor is  
interrupted 
 Key: KYLIN-3790
 URL: https://issues.apache.org/jira/browse/KYLIN-3790
 Project: Kylin
  Issue Type: Bug
  Components: Job Engine
Affects Versions: v2.5.2
Reporter: Zhixiong Chen
Assignee: Zhixiong Chen


in  CliCommandExecutor.java if command cli is interrupted, in  
runNativeCommand() it return  

Pair.newPair(0, "Killed").

However, the error code 0 is mean not throw RuntimeException.And it will 
execute next step.

  



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


[jira] [Created] (KYLIN-3680) buid spark cubing failed in JDBC resource

2018-11-11 Thread Zhixiong Chen (JIRA)
Zhixiong Chen created KYLIN-3680:


 Summary: buid spark cubing failed in JDBC resource
 Key: KYLIN-3680
 URL: https://issues.apache.org/jira/browse/KYLIN-3680
 Project: Kylin
  Issue Type: Improvement
Reporter: Zhixiong Chen


I find in JdbcHiveMRInput.java , the  system save flat table with TextFile.

However in SparkCubingByLayer.java, the system getFlatTableStorageFormat is 
SequenceFile .It read the flat table as SequenceFile and failed.

I workaround with add property 
"kylin.source.hive.flat-table-storage-format=TEXTFILE" in cube.

But I think maybe we could do it better.



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


[jira] [Assigned] (KYLIN-3418) User interface for hybrid model

2018-06-20 Thread Zhixiong Chen (JIRA)


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

Zhixiong Chen reassigned KYLIN-3418:


Assignee: Zhixiong Chen

> User interface for hybrid model
> ---
>
> Key: KYLIN-3418
> URL: https://issues.apache.org/jira/browse/KYLIN-3418
> Project: Kylin
>  Issue Type: Improvement
>  Components: Web 
>Reporter: Shaofeng SHI
>Assignee: Zhixiong Chen
>Priority: Major
>
> Hybrid model is useful for model change. While now there is no entry for it 
> from GUI, this makes many users don't see such feature.



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


[jira] [Commented] (KYLIN-3397) Kylin UI Timestemp(GMT) issue

2018-06-07 Thread Zhixiong Chen (JIRA)


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

Zhixiong Chen commented on KYLIN-3397:
--

Sorry for late to reply you. 

However I think this issue maybe about system cube.

I don't know the detail about the steps for building system cube .

@Julian Pan 

Could you check this issue?

> Kylin UI Timestemp(GMT) issue
> -
>
> Key: KYLIN-3397
> URL: https://issues.apache.org/jira/browse/KYLIN-3397
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Reporter: praveenece
>Priority: Major
>
>  
> Kylin Version 2.3.1 
> In Kylin React-the Data has inserted into System Cube table based on GMT 
> format,but the user
>  Changed option GMT to GMT+5.30 in kylin UI (Kylin.properties).
>  when we build segment wise in System Cube(Kylin UI).the system has generated 
> select statement in first step of build,its
>  taken internally GMT+5.30 format not for GMT.
> below i given generated select query from First step of Create Intermediate 
> Flat Hive Table(log)
> SELECT x,y,z 
>  FROM KYLIN.HIVE_METRICS_QUERY_CUBE_QA as HIVE_METRICS_QUERY_CUBE_QA 
>  WHERE 1=1 AND (((HIVE_METRICS_QUERY_CUBE_QA.KDAY_DATE = '2018-06-01' AND 
> HIVE_METRICS_QUERY_CUBE_QA.KDAY_TIME >= '17:10:00')
>  OR (HIVE_METRICS_QUERY_CUBE_QA.KDAY_DATE > '2018-06-01')) 
>  AND ((HIVE_METRICS_QUERY_CUBE_QA.KDAY_DATE = '2018-06-04' AND 
> HIVE_METRICS_QUERY_CUBE_QA.KDAY_TIME < '16:27:00') 
>  OR (HIVE_METRICS_QUERY_CUBE_QA.KDAY_DATE < '2018-06-04')))
>  
>  
>  



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


[jira] [Assigned] (KYLIN-3397) Kylin UI Timestemp(GMT) issue

2018-06-06 Thread Zhixiong Chen (JIRA)


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

Zhixiong Chen reassigned KYLIN-3397:


Assignee: (was: Zhixiong Chen)

> Kylin UI Timestemp(GMT) issue
> -
>
> Key: KYLIN-3397
> URL: https://issues.apache.org/jira/browse/KYLIN-3397
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Reporter: praveenece
>Priority: Major
>
>  
> Kylin Version 2.3.1 
> In Kylin React-the Data has inserted into System Cube table based on GMT 
> format,but the user
>  Changed option GMT to GMT+5.30 in kylin UI (Kylin.properties).
>  when we build segment wise in System Cube(Kylin UI).the system has generated 
> select statement in first step of build,its
>  taken internally GMT+5.30 format not for GMT.
> below i given generated select query from First step of Create Intermediate 
> Flat Hive Table(log)
> SELECT x,y,z 
>  FROM KYLIN.HIVE_METRICS_QUERY_CUBE_QA as HIVE_METRICS_QUERY_CUBE_QA 
>  WHERE 1=1 AND (((HIVE_METRICS_QUERY_CUBE_QA.KDAY_DATE = '2018-06-01' AND 
> HIVE_METRICS_QUERY_CUBE_QA.KDAY_TIME >= '17:10:00')
>  OR (HIVE_METRICS_QUERY_CUBE_QA.KDAY_DATE > '2018-06-01')) 
>  AND ((HIVE_METRICS_QUERY_CUBE_QA.KDAY_DATE = '2018-06-04' AND 
> HIVE_METRICS_QUERY_CUBE_QA.KDAY_TIME < '16:27:00') 
>  OR (HIVE_METRICS_QUERY_CUBE_QA.KDAY_DATE < '2018-06-04')))
>  
>  
>  



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


[jira] [Commented] (KYLIN-3397) Kylin UI Timestemp(GMT) issue

2018-06-05 Thread Zhixiong Chen (JIRA)


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

Zhixiong Chen commented on KYLIN-3397:
--

Hi,[~praveenece]

The system will  generate the time format by timezone which in kylin.properties.

And GMT+5.30 is meaning the timezone that you set.

So I think it's right in Kylin UI.

If you have any questions,you could reply to me and show me more detail.

> Kylin UI Timestemp(GMT) issue
> -
>
> Key: KYLIN-3397
> URL: https://issues.apache.org/jira/browse/KYLIN-3397
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Reporter: praveenece
>Assignee: Zhixiong Chen
>Priority: Major
>
>  
> Kylin Version 2.3.1 
> In Kylin React-the Data has inserted into System Cube table based on GMT 
> format,but the user
>  Changed option GMT to GMT+5.30 in kylin UI (Kylin.properties).
>  when we build segment wise in System Cube(Kylin UI).the system has generated 
> select statement in first step of build,its
>  taken internally GMT+5.30 format not for GMT.
> below i given generated select query from First step of Create Intermediate 
> Flat Hive Table(log)
> SELECT x,y,z 
>  FROM KYLIN.HIVE_METRICS_QUERY_CUBE_QA as HIVE_METRICS_QUERY_CUBE_QA 
>  WHERE 1=1 AND (((HIVE_METRICS_QUERY_CUBE_QA.KDAY_DATE = '2018-06-01' AND 
> HIVE_METRICS_QUERY_CUBE_QA.KDAY_TIME >= '17:10:00')
>  OR (HIVE_METRICS_QUERY_CUBE_QA.KDAY_DATE > '2018-06-01')) 
>  AND ((HIVE_METRICS_QUERY_CUBE_QA.KDAY_DATE = '2018-06-04' AND 
> HIVE_METRICS_QUERY_CUBE_QA.KDAY_TIME < '16:27:00') 
>  OR (HIVE_METRICS_QUERY_CUBE_QA.KDAY_DATE < '2018-06-04')))
>  
>  
>  



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


[jira] [Assigned] (KYLIN-3397) Kylin UI Timestemp(GMT) issue

2018-06-05 Thread Zhixiong Chen (JIRA)


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

Zhixiong Chen reassigned KYLIN-3397:


Assignee: Zhixiong Chen

> Kylin UI Timestemp(GMT) issue
> -
>
> Key: KYLIN-3397
> URL: https://issues.apache.org/jira/browse/KYLIN-3397
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Reporter: praveenece
>Assignee: Zhixiong Chen
>Priority: Major
>
>  
> Kylin Version 2.3.1 
> In Kylin React-the Data has inserted into System Cube table based on GMT 
> format,but the user
> Changed option GMT to GMT+5.30 in kylin UI (Kylin.properties).
> when we build segement wise in System Cube(Kylin UI).the system has generated 
> select statment in first step of build,its
> taken GMT+5.30 format not for GMT.
> below i given generated select query from First step of Create Intermediate 
> Flat Hive Table(log)
> SELECT x,y,z 
> FROM KYLIN.HIVE_METRICS_QUERY_CUBE_QA as HIVE_METRICS_QUERY_CUBE_QA 
> WHERE 1=1 AND (((HIVE_METRICS_QUERY_CUBE_QA.KDAY_DATE = '2018-06-01' AND 
> HIVE_METRICS_QUERY_CUBE_QA.KDAY_TIME >= '17:10:00')
>  OR (HIVE_METRICS_QUERY_CUBE_QA.KDAY_DATE > '2018-06-01')) 
>  AND ((HIVE_METRICS_QUERY_CUBE_QA.KDAY_DATE = '2018-06-04' AND 
> HIVE_METRICS_QUERY_CUBE_QA.KDAY_TIME < '16:27:00') 
>  OR (HIVE_METRICS_QUERY_CUBE_QA.KDAY_DATE < '2018-06-04')))
>  
>  
>  



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


[jira] [Updated] (KYLIN-3397) Kylin UI Timestemp(GMT) issue

2018-06-05 Thread Zhixiong Chen (JIRA)


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

Zhixiong Chen updated KYLIN-3397:
-
Component/s: Web 

> Kylin UI Timestemp(GMT) issue
> -
>
> Key: KYLIN-3397
> URL: https://issues.apache.org/jira/browse/KYLIN-3397
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Reporter: praveenece
>Priority: Major
>
>  
> Kylin Version 2.3.1 
> In Kylin React-the Data has inserted into System Cube table based on GMT 
> format,but the user
> Changed option GMT to GMT+5.30 in kylin UI (Kylin.properties).
> when we build segement wise in System Cube(Kylin UI).the system has generated 
> select statment in first step of build,its
> taken GMT+5.30 format not for GMT.
> below i given generated select query from First step of Create Intermediate 
> Flat Hive Table(log)
> SELECT x,y,z 
> FROM KYLIN.HIVE_METRICS_QUERY_CUBE_QA as HIVE_METRICS_QUERY_CUBE_QA 
> WHERE 1=1 AND (((HIVE_METRICS_QUERY_CUBE_QA.KDAY_DATE = '2018-06-01' AND 
> HIVE_METRICS_QUERY_CUBE_QA.KDAY_TIME >= '17:10:00')
>  OR (HIVE_METRICS_QUERY_CUBE_QA.KDAY_DATE > '2018-06-01')) 
>  AND ((HIVE_METRICS_QUERY_CUBE_QA.KDAY_DATE = '2018-06-04' AND 
> HIVE_METRICS_QUERY_CUBE_QA.KDAY_TIME < '16:27:00') 
>  OR (HIVE_METRICS_QUERY_CUBE_QA.KDAY_DATE < '2018-06-04')))
>  
>  
>  



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


[jira] [Commented] (KYLIN-3346) kylin.web.hide-measures=RAW影响普通sum下钻查询

2018-04-23 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3346:
--

In https://issues.apache.org/jira/browse/KYLIN-3062 we discussed why we decide 
to hide RWA measure.

And the config 'kylin.web.hide-measures' is fine with me.

Meanwhile if you modify the config, you should restart your Kylin.

> kylin.web.hide-measures=RAW影响普通sum下钻查询
> --
>
> Key: KYLIN-3346
> URL: https://issues.apache.org/jira/browse/KYLIN-3346
> Project: Kylin
>  Issue Type: Bug
>  Components: Query Engine
>Affects Versions: v2.3.0
>Reporter: chenchen
>Priority: Major
>
> 我的场景是在在查询时候需要下钻查询,既能支持聚合又能支持下钻。在kylin2.2版本,measure中sum是默认支持下钻查询的。但是升级到kylin2.3版本后,就不能支持了(还添加了这个配置:kylin.web.hide-measures=RAW),想问一下kylin问啥不能兼容低版本呢。



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


[jira] [Commented] (KYLIN-3346) kylin.web.hide-measures=RAW影响普通sum下钻查询

2018-04-23 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3346:
--

Hi, we discussed about hiding RAW measure in 
https://issues.apache.org/jira/browse/KYLIN-3062.

So you could check it.

> kylin.web.hide-measures=RAW影响普通sum下钻查询
> --
>
> Key: KYLIN-3346
> URL: https://issues.apache.org/jira/browse/KYLIN-3346
> Project: Kylin
>  Issue Type: Bug
>  Components: Query Engine
>Affects Versions: v2.3.0
>Reporter: chenchen
>Priority: Major
>
> 我的场景是在在查询时候需要下钻查询,既能支持聚合又能支持下钻。在kylin2.2版本,measure中sum是默认支持下钻查询的。但是升级到kylin2.3版本后,就不能支持了(还添加了这个配置:kylin.web.hide-measures=RAW),想问一下kylin问啥不能兼容低版本呢。



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


[jira] [Resolved] (KYLIN-3343) Support JDBC source on UI

2018-04-23 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen resolved KYLIN-3343.
--
   Resolution: Fixed
Fix Version/s: v2.4.0

> Support JDBC source on UI
> -
>
> Key: KYLIN-3343
> URL: https://issues.apache.org/jira/browse/KYLIN-3343
> Project: Kylin
>  Issue Type: Improvement
>  Components: Web 
>Reporter: Zhixiong Chen
>Assignee: Zhixiong Chen
>Priority: Major
> Fix For: v2.4.0
>
> Attachments: 0001-KYLIN-3343-support-RDBMS-on-GUI.patch
>
>




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


[jira] [Updated] (KYLIN-3343) Support JDBC source on UI

2018-04-23 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen updated KYLIN-3343:
-
Component/s: Web 

> Support JDBC source on UI
> -
>
> Key: KYLIN-3343
> URL: https://issues.apache.org/jira/browse/KYLIN-3343
> Project: Kylin
>  Issue Type: Improvement
>  Components: Web 
>Reporter: Zhixiong Chen
>Assignee: Zhixiong Chen
>Priority: Major
> Attachments: 0001-KYLIN-3343-support-RDBMS-on-GUI.patch
>
>




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


[jira] [Comment Edited] (KYLIN-3333) Web ui shows successfully adding global dictionary, but it does not actually

2018-04-22 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen edited comment on KYLIN- at 4/23/18 5:54 AM:
---

I find there is limitation for count distinct measure which 'param  value' is 
int type column.

Hi,[~kangkaisen] I remember you add the limitation in 
https://issues.apache.org/jira/browse/KYLIN-2604

Could you explain why you do this?

 


was (Author: zhixiong chen):
I find there is limitation for count distinct measure which 'param ** value' is 
int type column.

Hi,[~kangkaisen] I remember you add the limitation in 
https://issues.apache.org/jira/browse/KYLIN-2604

Could you explain why you do this?

 

> Web ui shows successfully adding global dictionary, but it does not actually
> 
>
> Key: KYLIN-
> URL: https://issues.apache.org/jira/browse/KYLIN-
> Project: Kylin
>  Issue Type: Bug
>  Components: Web , Website
>Affects Versions: v2.3.1
> Environment: cdh 5.14 
> centos 6.9
> oracle jdk 1.8_131
>Reporter: YIJIANHUI
>Assignee: Zhixiong Chen
>Priority: Major
>
> I define a measure is count_distinct(order_id),when i add the column 
> "order_id" as global dictionary,web ui prompt created successfully.but global 
> dictionary column are not displayed on the web ui ,and there are no any 
> errors in the log file.
>  
> 2018-04-02 10:43:22,354 DEBUG [http-bio-7070-exec-6] 
> controller.CubeController:1010 : Saving cube {
>   "name": "GLD_MR_TEST",
>   "model_name": "M_ORDER",
>   "description": "",
>   "dimensions": [
>     {
>       "name": "CALENDAR_DATE",
>       "table": "OD",
>       "column": "CALENDAR_DATE",
>       "normal": "true"
>     },
>     {
>       "name": "YEAR_MONTH",
>       "table": "OD",
>       "column": "YEAR_MONTH",
>       "normal": "true"
>     }
>   ],
>   "measures": [
>     {
>       "name": "_COUNT_",
>       "function": {
>         "expression": "COUNT",
>         "returntype": "bigint",
>         "parameter": {
>           "type": "constant",
>           "value": "1"
>         },
>         "configuration": {}
>       }
>     },
>     {
>       "name": "CD",
>       "function": {
>         "expression": "COUNT_DISTINCT",
>         "returntype": "bitmap",
>         "parameter": {
>           "type": "column",
>           "value": "FACT_ORDER_DETAIL.ORDER_ID"
>         }
>       },
>       "showDim": false
>     }
>   ],
>   "dictionaries": [],
>   "rowkey": {
>     "rowkey_columns": [
>       {
>         "column": "OD.CALENDAR_DATE",
>         "encoding": "dict",
>         "isShardBy": "false",
>         "encoding_version": 1
>       },
>       {
>         "column": "OD.YEAR_MONTH",
>         "encoding": "dict",
>         "isShardBy": "false",
>         "encoding_version": 1
>       }
>     ]
>   },
>   "aggregation_groups": [
>     {
>       "includes": [
>         "OD.CALENDAR_DATE",
>         "OD.YEAR_MONTH"
>       ],
>       "select_rule": {
>         "hierarchy_dims": [],
>         "mandatory_dims": [
>           "OD.CALENDAR_DATE",
>           "OD.YEAR_MONTH"
>         ],
>         "joint_dims": []
>       }
>     }
>   ],
>   "mandatory_dimension_set_list": [],
>   "partition_date_start": 151476480,
>   "notify_list": [],
>   "hbase_mapping": {
>     "column_family": [
>       {
>         "name": "F1",
>         "columns": [
>           {
>             "qualifier": "M",
>             "measure_refs": [
>               "_COUNT_"
>             ]
>           }
>         ]
>       },
>       {
>         "name": "F2",
>         "columns": [
>           {
>             "qualifier": "M",
>             "measure_refs": [
>               "CD"
>             ]
>           }
>         ]
>       }
>     ]
>   },
>   "volatile_range": "0",
>   "retention_range": "0",
>   "status_need_notify": [
>     "ERROR",
>     "DISCARDED",
>     "SUCCEED"
>   ],
>   "auto_merge_time_ranges": [],
>   "engine_type": 2,
>   "storage_type": "2",
>   "override_kylin_properties": {}
> }
> 2018-04-02 10:43:22,356 DEBUG [http-bio-7070-exec-6] 
> cachesync.CachedCrudAssist:190 : Saving CubeDesc at 
> /cube_desc/GLD_MR_TEST.json
> 2018-04-02 10:43:22,359 DEBUG [pool-6-thread-1] cachesync.Broadcaster:113 : 
> Servers in the cluster: [localhost:7070]
> 2018-04-02 10:43:22,359 DEBUG [pool-6-thread-1] cachesync.Broadcaster:123 : 
> Announcing new broadcast to all: BroadcastEvent\{entity=cube_desc, 
> event=create, cacheKey=GLD_MR_TEST}
> 2018-04-02 10:43:22,361 DEBUG [http-bio-7070-exec-4] 
> cachesync.Broadcaster:247 : Broadcasting CREATE, cube_desc, GLD_MR_TEST
> 2018-04-02 10:43:22,361 INFO  [http-bio-7070-exec-6] service.CubeService:211 
> : New cube GLD_MR_TEST has 1 cuboids
> 2018-04-02 10:43:22,362 INFO  [http-bio-7070-exec-6] 

[jira] [Commented] (KYLIN-3333) Web ui shows successfully adding global dictionary, but it does not actually

2018-04-22 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-:
--

I find there is limitation for count distinct measure which 'param ** value' is 
int type column.

Hi,[~kangkaisen] I remember you add the limitation in 
https://issues.apache.org/jira/browse/KYLIN-2604

Could you explain why you do this?

 

> Web ui shows successfully adding global dictionary, but it does not actually
> 
>
> Key: KYLIN-
> URL: https://issues.apache.org/jira/browse/KYLIN-
> Project: Kylin
>  Issue Type: Bug
>  Components: Web , Website
>Affects Versions: v2.3.1
> Environment: cdh 5.14 
> centos 6.9
> oracle jdk 1.8_131
>Reporter: YIJIANHUI
>Assignee: Zhixiong Chen
>Priority: Major
>
> I define a measure is count_distinct(order_id),when i add the column 
> "order_id" as global dictionary,web ui prompt created successfully.but global 
> dictionary column are not displayed on the web ui ,and there are no any 
> errors in the log file.
>  
> 2018-04-02 10:43:22,354 DEBUG [http-bio-7070-exec-6] 
> controller.CubeController:1010 : Saving cube {
>   "name": "GLD_MR_TEST",
>   "model_name": "M_ORDER",
>   "description": "",
>   "dimensions": [
>     {
>       "name": "CALENDAR_DATE",
>       "table": "OD",
>       "column": "CALENDAR_DATE",
>       "normal": "true"
>     },
>     {
>       "name": "YEAR_MONTH",
>       "table": "OD",
>       "column": "YEAR_MONTH",
>       "normal": "true"
>     }
>   ],
>   "measures": [
>     {
>       "name": "_COUNT_",
>       "function": {
>         "expression": "COUNT",
>         "returntype": "bigint",
>         "parameter": {
>           "type": "constant",
>           "value": "1"
>         },
>         "configuration": {}
>       }
>     },
>     {
>       "name": "CD",
>       "function": {
>         "expression": "COUNT_DISTINCT",
>         "returntype": "bitmap",
>         "parameter": {
>           "type": "column",
>           "value": "FACT_ORDER_DETAIL.ORDER_ID"
>         }
>       },
>       "showDim": false
>     }
>   ],
>   "dictionaries": [],
>   "rowkey": {
>     "rowkey_columns": [
>       {
>         "column": "OD.CALENDAR_DATE",
>         "encoding": "dict",
>         "isShardBy": "false",
>         "encoding_version": 1
>       },
>       {
>         "column": "OD.YEAR_MONTH",
>         "encoding": "dict",
>         "isShardBy": "false",
>         "encoding_version": 1
>       }
>     ]
>   },
>   "aggregation_groups": [
>     {
>       "includes": [
>         "OD.CALENDAR_DATE",
>         "OD.YEAR_MONTH"
>       ],
>       "select_rule": {
>         "hierarchy_dims": [],
>         "mandatory_dims": [
>           "OD.CALENDAR_DATE",
>           "OD.YEAR_MONTH"
>         ],
>         "joint_dims": []
>       }
>     }
>   ],
>   "mandatory_dimension_set_list": [],
>   "partition_date_start": 151476480,
>   "notify_list": [],
>   "hbase_mapping": {
>     "column_family": [
>       {
>         "name": "F1",
>         "columns": [
>           {
>             "qualifier": "M",
>             "measure_refs": [
>               "_COUNT_"
>             ]
>           }
>         ]
>       },
>       {
>         "name": "F2",
>         "columns": [
>           {
>             "qualifier": "M",
>             "measure_refs": [
>               "CD"
>             ]
>           }
>         ]
>       }
>     ]
>   },
>   "volatile_range": "0",
>   "retention_range": "0",
>   "status_need_notify": [
>     "ERROR",
>     "DISCARDED",
>     "SUCCEED"
>   ],
>   "auto_merge_time_ranges": [],
>   "engine_type": 2,
>   "storage_type": "2",
>   "override_kylin_properties": {}
> }
> 2018-04-02 10:43:22,356 DEBUG [http-bio-7070-exec-6] 
> cachesync.CachedCrudAssist:190 : Saving CubeDesc at 
> /cube_desc/GLD_MR_TEST.json
> 2018-04-02 10:43:22,359 DEBUG [pool-6-thread-1] cachesync.Broadcaster:113 : 
> Servers in the cluster: [localhost:7070]
> 2018-04-02 10:43:22,359 DEBUG [pool-6-thread-1] cachesync.Broadcaster:123 : 
> Announcing new broadcast to all: BroadcastEvent\{entity=cube_desc, 
> event=create, cacheKey=GLD_MR_TEST}
> 2018-04-02 10:43:22,361 DEBUG [http-bio-7070-exec-4] 
> cachesync.Broadcaster:247 : Broadcasting CREATE, cube_desc, GLD_MR_TEST
> 2018-04-02 10:43:22,361 INFO  [http-bio-7070-exec-6] service.CubeService:211 
> : New cube GLD_MR_TEST has 1 cuboids
> 2018-04-02 10:43:22,362 INFO  [http-bio-7070-exec-6] cube.CubeManager:219 : 
> Creating cube 'dw_zyb-->GLD_MR_TEST' from desc 'GLD_MR_TEST'
> 2018-04-02 10:43:22,362 INFO  [http-bio-7070-exec-6] cube.CubeManager:297 : 
> Updating cube instance 'GLD_MR_TEST'
> 2018-04-02 10:43:22,362 DEBUG [http-bio-7070-exec-6] 
> cachesync.CachedCrudAssist:190 : Saving CubeInstance at 

[jira] [Assigned] (KYLIN-3333) Web ui shows successfully adding global dictionary, but it does not actually

2018-04-22 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen reassigned KYLIN-:


Assignee: Zhixiong Chen

> Web ui shows successfully adding global dictionary, but it does not actually
> 
>
> Key: KYLIN-
> URL: https://issues.apache.org/jira/browse/KYLIN-
> Project: Kylin
>  Issue Type: Bug
>  Components: Web , Website
>Affects Versions: v2.3.1
> Environment: cdh 5.14 
> centos 6.9
> oracle jdk 1.8_131
>Reporter: YIJIANHUI
>Assignee: Zhixiong Chen
>Priority: Major
>
> I define a measure is count_distinct(order_id),when i add the column 
> "order_id" as global dictionary,web ui prompt created successfully.but global 
> dictionary column are not displayed on the web ui ,and there are no any 
> errors in the log file.
>  
> 2018-04-02 10:43:22,354 DEBUG [http-bio-7070-exec-6] 
> controller.CubeController:1010 : Saving cube {
>   "name": "GLD_MR_TEST",
>   "model_name": "M_ORDER",
>   "description": "",
>   "dimensions": [
>     {
>       "name": "CALENDAR_DATE",
>       "table": "OD",
>       "column": "CALENDAR_DATE",
>       "normal": "true"
>     },
>     {
>       "name": "YEAR_MONTH",
>       "table": "OD",
>       "column": "YEAR_MONTH",
>       "normal": "true"
>     }
>   ],
>   "measures": [
>     {
>       "name": "_COUNT_",
>       "function": {
>         "expression": "COUNT",
>         "returntype": "bigint",
>         "parameter": {
>           "type": "constant",
>           "value": "1"
>         },
>         "configuration": {}
>       }
>     },
>     {
>       "name": "CD",
>       "function": {
>         "expression": "COUNT_DISTINCT",
>         "returntype": "bitmap",
>         "parameter": {
>           "type": "column",
>           "value": "FACT_ORDER_DETAIL.ORDER_ID"
>         }
>       },
>       "showDim": false
>     }
>   ],
>   "dictionaries": [],
>   "rowkey": {
>     "rowkey_columns": [
>       {
>         "column": "OD.CALENDAR_DATE",
>         "encoding": "dict",
>         "isShardBy": "false",
>         "encoding_version": 1
>       },
>       {
>         "column": "OD.YEAR_MONTH",
>         "encoding": "dict",
>         "isShardBy": "false",
>         "encoding_version": 1
>       }
>     ]
>   },
>   "aggregation_groups": [
>     {
>       "includes": [
>         "OD.CALENDAR_DATE",
>         "OD.YEAR_MONTH"
>       ],
>       "select_rule": {
>         "hierarchy_dims": [],
>         "mandatory_dims": [
>           "OD.CALENDAR_DATE",
>           "OD.YEAR_MONTH"
>         ],
>         "joint_dims": []
>       }
>     }
>   ],
>   "mandatory_dimension_set_list": [],
>   "partition_date_start": 151476480,
>   "notify_list": [],
>   "hbase_mapping": {
>     "column_family": [
>       {
>         "name": "F1",
>         "columns": [
>           {
>             "qualifier": "M",
>             "measure_refs": [
>               "_COUNT_"
>             ]
>           }
>         ]
>       },
>       {
>         "name": "F2",
>         "columns": [
>           {
>             "qualifier": "M",
>             "measure_refs": [
>               "CD"
>             ]
>           }
>         ]
>       }
>     ]
>   },
>   "volatile_range": "0",
>   "retention_range": "0",
>   "status_need_notify": [
>     "ERROR",
>     "DISCARDED",
>     "SUCCEED"
>   ],
>   "auto_merge_time_ranges": [],
>   "engine_type": 2,
>   "storage_type": "2",
>   "override_kylin_properties": {}
> }
> 2018-04-02 10:43:22,356 DEBUG [http-bio-7070-exec-6] 
> cachesync.CachedCrudAssist:190 : Saving CubeDesc at 
> /cube_desc/GLD_MR_TEST.json
> 2018-04-02 10:43:22,359 DEBUG [pool-6-thread-1] cachesync.Broadcaster:113 : 
> Servers in the cluster: [localhost:7070]
> 2018-04-02 10:43:22,359 DEBUG [pool-6-thread-1] cachesync.Broadcaster:123 : 
> Announcing new broadcast to all: BroadcastEvent\{entity=cube_desc, 
> event=create, cacheKey=GLD_MR_TEST}
> 2018-04-02 10:43:22,361 DEBUG [http-bio-7070-exec-4] 
> cachesync.Broadcaster:247 : Broadcasting CREATE, cube_desc, GLD_MR_TEST
> 2018-04-02 10:43:22,361 INFO  [http-bio-7070-exec-6] service.CubeService:211 
> : New cube GLD_MR_TEST has 1 cuboids
> 2018-04-02 10:43:22,362 INFO  [http-bio-7070-exec-6] cube.CubeManager:219 : 
> Creating cube 'dw_zyb-->GLD_MR_TEST' from desc 'GLD_MR_TEST'
> 2018-04-02 10:43:22,362 INFO  [http-bio-7070-exec-6] cube.CubeManager:297 : 
> Updating cube instance 'GLD_MR_TEST'
> 2018-04-02 10:43:22,362 DEBUG [http-bio-7070-exec-6] 
> cachesync.CachedCrudAssist:190 : Saving CubeInstance at /cube/GLD_MR_TEST.json
> 2018-04-02 10:43:22,362 DEBUG [http-bio-7070-exec-4] 
> cachesync.Broadcaster:247 : Broadcasting UPDATE, project_schema, dw_zyb
> 2018-04-02 10:43:22,364 DEBUG [pool-6-thread-1] cachesync.Broadcaster:113 : 
> Servers in the 

[jira] [Commented] (KYLIN-3343) Support JDBC source on UI

2018-04-20 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3343:
--

I have completed this jira.

Please review it.

Thanks!

[~bob123]

> Support JDBC source on UI
> -
>
> Key: KYLIN-3343
> URL: https://issues.apache.org/jira/browse/KYLIN-3343
> Project: Kylin
>  Issue Type: Improvement
>Reporter: Zhixiong Chen
>Assignee: Zhixiong Chen
>Priority: Major
> Attachments: 0001-KYLIN-3343-support-RDBMS-on-GUI.patch
>
>




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


[jira] [Updated] (KYLIN-3343) Support JDBC source on UI

2018-04-20 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen updated KYLIN-3343:
-
Attachment: 0001-KYLIN-3343-support-RDBMS-on-GUI.patch

> Support JDBC source on UI
> -
>
> Key: KYLIN-3343
> URL: https://issues.apache.org/jira/browse/KYLIN-3343
> Project: Kylin
>  Issue Type: Improvement
>Reporter: Zhixiong Chen
>Assignee: Zhixiong Chen
>Priority: Major
> Attachments: 0001-KYLIN-3343-support-RDBMS-on-GUI.patch
>
>




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


[jira] [Created] (KYLIN-3343) Support JDBC source on UI

2018-04-19 Thread Zhixiong Chen (JIRA)
Zhixiong Chen created KYLIN-3343:


 Summary: Support JDBC source on UI
 Key: KYLIN-3343
 URL: https://issues.apache.org/jira/browse/KYLIN-3343
 Project: Kylin
  Issue Type: Improvement
Reporter: Zhixiong Chen
Assignee: Zhixiong Chen






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


[jira] [Closed] (KYLIN-3269) 把project的权限授权给不存在用户时,出现错误。

2018-03-22 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen closed KYLIN-3269.

Resolution: Fixed

I think this issue had been fixed in version 2.2

So I close this jira.

> 把project的权限授权给不存在用户时,出现错误。
> --
>
> Key: KYLIN-3269
> URL: https://issues.apache.org/jira/browse/KYLIN-3269
> Project: Kylin
>  Issue Type: Bug
>  Components: REST Service, Web 
>Affects Versions: v2.0.0
>Reporter: RenZhiMin
>Priority: Major
> Fix For: v2.2.0
>
> Attachments: aclService.patch
>
>
> 把project的权限授权给不存在用户时,会提示用户不存在,并且project上之前的权限都丢失了!所以应该在删除前先判断新的数据是否正确



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


[jira] [Updated] (KYLIN-3269) 把project的权限授权给不存在用户时,出现错误。

2018-03-22 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen updated KYLIN-3269:
-
Fix Version/s: v2.2.0

> 把project的权限授权给不存在用户时,出现错误。
> --
>
> Key: KYLIN-3269
> URL: https://issues.apache.org/jira/browse/KYLIN-3269
> Project: Kylin
>  Issue Type: Bug
>  Components: REST Service, Web 
>Affects Versions: v2.0.0
>Reporter: RenZhiMin
>Priority: Major
> Fix For: v2.2.0
>
> Attachments: aclService.patch
>
>
> 把project的权限授权给不存在用户时,会提示用户不存在,并且project上之前的权限都丢失了!所以应该在删除前先判断新的数据是否正确



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


[jira] [Resolved] (KYLIN-3292) The setting config dialog will cause NPE in Kylin server

2018-03-22 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen resolved KYLIN-3292.
--
   Resolution: Fixed
Fix Version/s: v2.4.0

Thanks,[~xingpeng1]

I had merged it into master.

> The setting config dialog will cause NPE in Kylin server
> 
>
> Key: KYLIN-3292
> URL: https://issues.apache.org/jira/browse/KYLIN-3292
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.3.0
>Reporter: Peng Xing
>Assignee: Peng Xing
>Priority: Minor
> Fix For: v2.4.0
>
> Attachments: Set_config_null.png
>
>
> Open the 'Set Config' dialog, when the default key and value are null, the 
> update button should be disabled, please refer to the attach picture.
> Otherwise it will cause NPE in Kylin server, as follows.
> {code:java}
> java.lang.NullPointerException
> at 
> java.util.concurrent.ConcurrentHashMap.hash(ConcurrentHashMap.java:333)
> at 
> java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:988)
> at 
> org.apache.kylin.common.BackwardCompatibilityConfig.check(BackwardCompatibilityConfig.java:91)
> at 
> org.apache.kylin.common.KylinConfigBase.setProperty(KylinConfigBase.java:197)
> at 
> org.apache.kylin.rest.service.AdminService.updateConfig(AdminService.java:87)
> at 
> org.apache.kylin.rest.service.AdminService$$FastClassBySpringCGLIB$$e043a6d8.invoke()
> at 
> org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
> at 
> org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
> at 
> org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:69)
> at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
> at 
> org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
> at 
> org.apache.kylin.rest.service.AdminService$$EnhancerBySpringCGLIB$$f1977d91.updateConfig()
> at 
> org.apache.kylin.rest.controller.AdminController.updateKylinConfig(AdminController.java:106)
> {code}



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


[jira] [Commented] (KYLIN-3236) The function 'reGenerateAdvancedDict()' has an error logical judgment, which will cause an exception when you edit the cube.

2018-03-01 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3236:
--

OK, 

Sorry for late to review this patch.

It is fine with me.

Could you make a pull request in Kylin master ?

> The function 'reGenerateAdvancedDict()' has an error logical judgment, which 
> will cause an exception when you edit the cube.
> 
>
> Key: KYLIN-3236
> URL: https://issues.apache.org/jira/browse/KYLIN-3236
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.3.0
>Reporter: Peng Xing
>Assignee: Peng Xing
>Priority: Major
>  Labels: patch
> Attachments: 
> 0001-KYLIN-3236-The-function-reGenerateAdvancedDict-has-a.patch, 1.PNG, 
> 2.PNG, 3.PNG
>
>
> # When remove deprecated distinct measures, the code has an error logical 
> judgment In function 'reGenerateAdvancedDict()', as follows:
> {code:java}
> //remove deprecated distinct measures
> angular.forEach($scope.cubeMetaFrame.dictionaries, function (dict, index) 
> {
>   if (distinctMeasures.indexOf(dict.column) === -1 && 
> reuseColumns.indexOf(dict.column) === -1) {
> $scope.cubeMetaFrame.dictionaries.splice(index, 1);
>   }
> });
> {code}
> This will result in accidental deletion of advanced dictionaries.
>  Please review the patch, thanks!



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


[jira] [Commented] (KYLIN-3269) 把project的权限授权给不存在用户时,出现错误。

2018-02-28 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3269:
--

Hi,[~renzm]

We have make adjustments about ACL in Kylin 2.2.0.

So I think this bug had fixed in Kylin 2.2.0.

You can check it in Kylin 2.2.0.

> 把project的权限授权给不存在用户时,出现错误。
> --
>
> Key: KYLIN-3269
> URL: https://issues.apache.org/jira/browse/KYLIN-3269
> Project: Kylin
>  Issue Type: Bug
>  Components: REST Service, Web 
>Affects Versions: v2.0.0
>Reporter: RenZhiMin
>Priority: Major
> Attachments: aclService.patch
>
>
> 把project的权限授权给不存在用户时,会提示用户不存在,并且project上之前的权限都丢失了!所以应该在删除前先判断新的数据是否正确



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


[jira] [Resolved] (KYLIN-3265) Add "jobSearchMode" as a condition to "/kylin/api/jobs" API

2018-02-28 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen resolved KYLIN-3265.
--
Resolution: Fixed

> Add "jobSearchMode" as a condition to "/kylin/api/jobs" API
> ---
>
> Key: KYLIN-3265
> URL: https://issues.apache.org/jira/browse/KYLIN-3265
> Project: Kylin
>  Issue Type: Improvement
>  Components: REST Service
>Affects Versions: v2.3.0
>Reporter: Shaofeng SHI
>Priority: Major
> Fix For: v2.3.0
>
> Attachments: KYLIN-3265.master.002.patch, 
> KYLIN-3265.master.003.patch, Screen Shot 2018-02-26 at 1.55.21 PM.png
>
>
> In kylin 2.3, the "/kylin/jobs" API will return both cubing job and 
> checkpoint job together, this changed the API's behavior as there isn't 
> checkpoint job before. We should keep the api only return cubing jobs to be 
> compitable as before, and extend the API to add another condition 
> 'jobSearchMode' to determine which kind of job should be returned. 



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


[jira] [Commented] (KYLIN-3265) Add "jobSearchMode" as a condition to "/kylin/api/jobs" API

2018-02-28 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3265:
--

The patch "003" is fine with me.

 

> Add "jobSearchMode" as a condition to "/kylin/api/jobs" API
> ---
>
> Key: KYLIN-3265
> URL: https://issues.apache.org/jira/browse/KYLIN-3265
> Project: Kylin
>  Issue Type: Improvement
>  Components: REST Service
>Affects Versions: v2.3.0
>Reporter: Shaofeng SHI
>Priority: Major
> Fix For: v2.3.0
>
> Attachments: KYLIN-3265.master.002.patch, 
> KYLIN-3265.master.003.patch, Screen Shot 2018-02-26 at 1.55.21 PM.png
>
>
> In kylin 2.3, the "/kylin/jobs" API will return both cubing job and 
> checkpoint job together, this changed the API's behavior as there isn't 
> checkpoint job before. We should keep the api only return cubing jobs to be 
> compitable as before, and extend the API to add another condition 
> 'jobSearchMode' to determine which kind of job should be returned. 



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


[jira] [Resolved] (KYLIN-2884) Add delete segment function for portal

2018-02-24 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen resolved KYLIN-2884.
--
   Resolution: Fixed
Fix Version/s: (was: Future)
   v2.4.0

> Add delete segment function for portal
> --
>
> Key: KYLIN-2884
> URL: https://issues.apache.org/jira/browse/KYLIN-2884
> Project: Kylin
>  Issue Type: Improvement
>  Components: Web 
>Reporter: Pan, Julian
>Assignee: Pan, Julian
>Priority: Major
> Fix For: v2.4.0
>
> Attachments: KYLIN-2884.patch, KYLIN-2884.patch, KYLIN-2884.patch, 
> KYLIN-2884.patch, KYLIN-2884.patch, screenshot-1.png, screenshot-2.png
>
>
> Kylin restful already support delete segment function. Could we add a action 
> button for front-end to user?



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


[jira] [Comment Edited] (KYLIN-2884) Add delete segment function for portal

2018-02-23 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen edited comment on KYLIN-2884 at 2/24/18 5:34 AM:
---

OK, this patch is fine with me.

[~julianpan] Could you make a pull request about this patch in master branch.

Then I will merge it.


was (Author: zhixiong chen):
OK, then this patch is fine with me.

> Add delete segment function for portal
> --
>
> Key: KYLIN-2884
> URL: https://issues.apache.org/jira/browse/KYLIN-2884
> Project: Kylin
>  Issue Type: Improvement
>  Components: Web 
>Reporter: Pan, Julian
>Assignee: Pan, Julian
>Priority: Major
> Fix For: Future
>
> Attachments: KYLIN-2884.patch, KYLIN-2884.patch, KYLIN-2884.patch, 
> KYLIN-2884.patch, KYLIN-2884.patch, screenshot-1.png, screenshot-2.png
>
>
> Kylin restful already support delete segment function. Could we add a action 
> button for front-end to user?



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


[jira] [Commented] (KYLIN-2884) Add delete segment function for portal

2018-02-23 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-2884:
--

OK, then this patch is fine with me.

> Add delete segment function for portal
> --
>
> Key: KYLIN-2884
> URL: https://issues.apache.org/jira/browse/KYLIN-2884
> Project: Kylin
>  Issue Type: Improvement
>  Components: Web 
>Reporter: Pan, Julian
>Assignee: Pan, Julian
>Priority: Major
> Fix For: Future
>
> Attachments: KYLIN-2884.patch, KYLIN-2884.patch, KYLIN-2884.patch, 
> KYLIN-2884.patch, KYLIN-2884.patch, screenshot-1.png, screenshot-2.png
>
>
> Kylin restful already support delete segment function. Could we add a action 
> button for front-end to user?



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


[jira] [Commented] (KYLIN-2884) Add delete segment function for portal

2018-02-23 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-2884:
--

Hi,[~julianpan]

You don't need combine 2 commits.

But could you put 'loadDetail(cube)' into  function  'startDeleteSegment' like 
cube's merge action?

Because it can reduce the call of api.

 

> Add delete segment function for portal
> --
>
> Key: KYLIN-2884
> URL: https://issues.apache.org/jira/browse/KYLIN-2884
> Project: Kylin
>  Issue Type: Improvement
>  Components: Web 
>Reporter: Pan, Julian
>Assignee: Pan, Julian
>Priority: Major
> Fix For: v2.3.0
>
> Attachments: KYLIN-2884.patch, KYLIN-2884.patch, KYLIN-2884.patch, 
> KYLIN-2884.patch, screenshot-1.png, screenshot-2.png
>
>
> Kylin restful already support delete segment function. Could we add a action 
> button for front-end to user?



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


[jira] [Resolved] (KYLIN-2884) Add delete segment function for portal

2018-02-08 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen resolved KYLIN-2884.
--
Resolution: Fixed

> Add delete segment function for portal
> --
>
> Key: KYLIN-2884
> URL: https://issues.apache.org/jira/browse/KYLIN-2884
> Project: Kylin
>  Issue Type: Improvement
>  Components: Web 
>Reporter: Pan, Julian
>Assignee: Pan, Julian
>Priority: Major
> Fix For: v2.3.0
>
> Attachments: KYLIN-2884.patch, KYLIN-2884.patch, KYLIN-2884.patch
>
>
> Kylin restful already support delete segment function. Could we add a action 
> button for front-end to user?



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


[jira] [Commented] (KYLIN-2884) Add delete segment function for portal

2018-02-08 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-2884:
--

OK.

It's fine with me.

I will merge it into kYLIN.

> Add delete segment function for portal
> --
>
> Key: KYLIN-2884
> URL: https://issues.apache.org/jira/browse/KYLIN-2884
> Project: Kylin
>  Issue Type: Improvement
>  Components: Web 
>Reporter: Pan, Julian
>Assignee: Pan, Julian
>Priority: Major
> Fix For: v2.3.0
>
> Attachments: KYLIN-2884.patch, KYLIN-2884.patch, KYLIN-2884.patch
>
>
> Kylin restful already support delete segment function. Could we add a action 
> button for front-end to user?



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


[jira] [Commented] (KYLIN-3224) data can't show when use kylin pushdown model

2018-02-08 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3224:
--

Hi,[~peng.jianhua]

You mean you want to fix this issue by front-end ?
Do you fine why query by cube and query by pushdown show differently ?

 

 

> data can't show when use kylin pushdown model 
> --
>
> Key: KYLIN-3224
> URL: https://issues.apache.org/jira/browse/KYLIN-3224
> Project: Kylin
>  Issue Type: Bug
>  Components: Query Engine, Web 
>Affects Versions: v2.2.0, v2.3.0
>Reporter: peng.jianhua
>Assignee: peng.jianhua
>Priority: Major
> Fix For: v2.3.0
>
> Attachments: 0001-KYLIN-3224.patch, 01.PNG, 02.PNG, 03.PNG
>
>
> select * from kylin_sales
> use pushdown model,and the result shows like 01.png



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


[jira] [Commented] (KYLIN-2884) Add delete segment function for portal

2018-02-08 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-2884:
--

Hi,[~julianpan]

This patch is fine with me.

However I can't merge it into Kylin.Please check the code.

Thanks! 

> Add delete segment function for portal
> --
>
> Key: KYLIN-2884
> URL: https://issues.apache.org/jira/browse/KYLIN-2884
> Project: Kylin
>  Issue Type: Improvement
>  Components: Web 
>Reporter: Pan, Julian
>Assignee: Pan, Julian
>Priority: Major
> Fix For: v2.3.0
>
> Attachments: KYLIN-2884.patch, KYLIN-2884.patch
>
>
> Kylin restful already support delete segment function. Could we add a action 
> button for front-end to user?



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


[jira] [Resolved] (KYLIN-3247) REST API 'GET /api/cubes/{cubeName}/segs/{segmentName}/sql' should return a cube segment sql

2018-02-08 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen resolved KYLIN-3247.
--
Resolution: Fixed

> REST API 'GET /api/cubes/{cubeName}/segs/{segmentName}/sql' should return a 
> cube segment sql
> 
>
> Key: KYLIN-3247
> URL: https://issues.apache.org/jira/browse/KYLIN-3247
> Project: Kylin
>  Issue Type: Bug
>  Components: REST Service
>Reporter: Peng Xing
>Assignee: Peng Xing
>Priority: Major
> Fix For: v2.3.0
>
> Attachments: 0001-KYLIN-3247.patch
>
>
> Currently, the API 'GET /api/cubes/{cubeName}/segs/{segmentName}/sql' return 
> cube's sql, it should return cube segment sql



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


[jira] [Commented] (KYLIN-3247) REST API 'GET /api/cubes/{cubeName}/segs/{segmentName}/sql' should return a cube segment sql

2018-02-08 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3247:
--

OK. Thanks.

I will merge it into Kylin.

> REST API 'GET /api/cubes/{cubeName}/segs/{segmentName}/sql' should return a 
> cube segment sql
> 
>
> Key: KYLIN-3247
> URL: https://issues.apache.org/jira/browse/KYLIN-3247
> Project: Kylin
>  Issue Type: Bug
>  Components: REST Service
>Reporter: Peng Xing
>Assignee: Peng Xing
>Priority: Major
> Fix For: v2.3.0
>
> Attachments: 0001-KYLIN-3247.patch
>
>
> Currently, the API 'GET /api/cubes/{cubeName}/segs/{segmentName}/sql' return 
> cube's sql, it should return cube segment sql



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


[jira] [Updated] (KYLIN-2884) Add delete segment function for portal

2018-02-08 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen updated KYLIN-2884:
-
Component/s: Web 

> Add delete segment function for portal
> --
>
> Key: KYLIN-2884
> URL: https://issues.apache.org/jira/browse/KYLIN-2884
> Project: Kylin
>  Issue Type: Improvement
>  Components: Web 
>Reporter: Pan, Julian
>Assignee: Pan, Julian
>Priority: Major
> Fix For: v2.3.0
>
> Attachments: KYLIN-2884.patch, KYLIN-2884.patch
>
>
> Kylin restful already support delete segment function. Could we add a action 
> button for front-end to user?



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


[jira] [Commented] (KYLIN-3247) REST API 'GET /api/cubes/{cubeName}/segs/{segmentName}/sql' should return a cube segment sql

2018-02-08 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3247:
--

Hi ,[~xingpeng1]

Could you show more detail about why you want to change it ?

Because the segments' sql should be the same with cube's sql.

 

> REST API 'GET /api/cubes/{cubeName}/segs/{segmentName}/sql' should return a 
> cube segment sql
> 
>
> Key: KYLIN-3247
> URL: https://issues.apache.org/jira/browse/KYLIN-3247
> Project: Kylin
>  Issue Type: Bug
>  Components: REST Service
>Reporter: Peng Xing
>Assignee: Peng Xing
>Priority: Major
> Fix For: v2.3.0
>
> Attachments: 0001-KYLIN-3247.patch
>
>
> Currently, the API 'GET /api/cubes/{cubeName}/segs/{segmentName}/sql' return 
> cube's sql, it should return cube segment sql



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


[jira] [Resolved] (KYLIN-3130) If we add new cube then refresh the page,the page is blank

2018-02-07 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen resolved KYLIN-3130.
--
Resolution: Fixed

> If we add new cube then refresh the page,the page is blank
> --
>
> Key: KYLIN-3130
> URL: https://issues.apache.org/jira/browse/KYLIN-3130
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.2.0, v2.3.0
>Reporter: peng.jianhua
>Assignee: peng.jianhua
>Priority: Minor
> Fix For: v2.3.0
>
> Attachments: 
> 0001-KYLIN-3130-If-we-add-new-cube-then-refresh-the-page-.patch, 
> 0001-KYLIN-3241.patch, 01.PNG, 02.PNG, 03.PNG
>
>
> reproduce steps:
> 01:click 'New Cube' button.
> 02:refresh the page.



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


[jira] [Commented] (KYLIN-3130) If we add new cube then refresh the page,the page is blank

2018-02-07 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3130:
--

Ok,thinks [~xingpeng1]. 

It is fine with me.

I will merge it into Kylin.

> If we add new cube then refresh the page,the page is blank
> --
>
> Key: KYLIN-3130
> URL: https://issues.apache.org/jira/browse/KYLIN-3130
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.2.0, v2.3.0
>Reporter: peng.jianhua
>Assignee: peng.jianhua
>Priority: Minor
> Fix For: v2.3.0
>
> Attachments: 
> 0001-KYLIN-3130-If-we-add-new-cube-then-refresh-the-page-.patch, 
> 0001-KYLIN-3241.patch, 01.PNG, 02.PNG, 03.PNG
>
>
> reproduce steps:
> 01:click 'New Cube' button.
> 02:refresh the page.



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


[jira] [Resolved] (KYLIN-3245) Searching cube support fuzzy search

2018-02-07 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen resolved KYLIN-3245.
--
Resolution: Fixed

> Searching cube support fuzzy search
> ---
>
> Key: KYLIN-3245
> URL: https://issues.apache.org/jira/browse/KYLIN-3245
> Project: Kylin
>  Issue Type: Improvement
>  Components: REST Service
>Reporter: Peng Xing
>Assignee: Peng Xing
>Priority: Minor
> Fix For: v2.3.0
>
> Attachments: 0001-KYLIN-3245-Searching-cube-support-fuzzy-search.patch
>
>
> Rest API:
> List cubes 
> GET /kylin/api/cubes
> Searching cube support fuzzy search



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


[jira] [Resolved] (KYLIN-3243) Optimize the code and keep the code consistent in the access.html

2018-02-07 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen resolved KYLIN-3243.
--
Resolution: Fixed

> Optimize the code and keep the code consistent in the access.html
> -
>
> Key: KYLIN-3243
> URL: https://issues.apache.org/jira/browse/KYLIN-3243
> Project: Kylin
>  Issue Type: Improvement
>  Components: Web 
>Reporter: Peng Xing
>Assignee: Peng Xing
>Priority: Trivial
> Fix For: v2.3.0
>
> Attachments: 0001-KYLIN-3243.patch
>
>
> Using "$rootScope.permissions.xxx.mask" instead of figure will be more uniform



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


[jira] [Commented] (KYLIN-3245) Searching cube support fuzzy search

2018-02-07 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3245:
--

OK, Thanks.

I will merge it into Kylin master.

> Searching cube support fuzzy search
> ---
>
> Key: KYLIN-3245
> URL: https://issues.apache.org/jira/browse/KYLIN-3245
> Project: Kylin
>  Issue Type: Improvement
>  Components: REST Service
>Reporter: Peng Xing
>Assignee: Peng Xing
>Priority: Minor
> Fix For: v2.3.0
>
> Attachments: 0001-KYLIN-3245-Searching-cube-support-fuzzy-search.patch
>
>
> Rest API:
> List cubes 
> GET /kylin/api/cubes
> Searching cube support fuzzy search



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


[jira] [Commented] (KYLIN-3130) If we add new cube then refresh the page,the page is blank

2018-02-07 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3130:
--

Hi, [~xingpeng1]

I remember you had attach a patch about this issue.

Could you move it to this jira?

> If we add new cube then refresh the page,the page is blank
> --
>
> Key: KYLIN-3130
> URL: https://issues.apache.org/jira/browse/KYLIN-3130
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.2.0, v2.3.0
>Reporter: peng.jianhua
>Assignee: peng.jianhua
>Priority: Minor
> Fix For: v2.3.0
>
> Attachments: 
> 0001-KYLIN-3130-If-we-add-new-cube-then-refresh-the-page-.patch, 01.PNG, 
> 02.PNG, 03.PNG
>
>
> reproduce steps:
> 01:click 'New Cube' button.
> 02:refresh the page.



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


[jira] [Commented] (KYLIN-3243) Optimize the code and keep the code consistent in the access.html

2018-02-06 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3243:
--

OK, Thanks.

I will merge it into Kylin master.

> Optimize the code and keep the code consistent in the access.html
> -
>
> Key: KYLIN-3243
> URL: https://issues.apache.org/jira/browse/KYLIN-3243
> Project: Kylin
>  Issue Type: Improvement
>  Components: Web 
>Reporter: Peng Xing
>Assignee: Peng Xing
>Priority: Trivial
> Fix For: v2.3.0
>
> Attachments: 0001-KYLIN-3243.patch
>
>
> Using "$rootScope.permissions.xxx.mask" instead of figure will be more uniform



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


[jira] [Commented] (KYLIN-3243) Optimize the code and keep the code consistent in the access.html

2018-02-06 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3243:
--

Hi,[~xingpeng1]

Could you check other pages to use permissions.xxx.mask instead of figure ?

> Optimize the code and keep the code consistent in the access.html
> -
>
> Key: KYLIN-3243
> URL: https://issues.apache.org/jira/browse/KYLIN-3243
> Project: Kylin
>  Issue Type: Improvement
>  Components: Web 
>Reporter: Peng Xing
>Assignee: Peng Xing
>Priority: Trivial
> Fix For: v2.3.0
>
> Attachments: 0001-KYLIN-3243.patch
>
>
> Using "$rootScope.permissions.xxx.mask" instead of figure will be more uniform



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


[jira] [Resolved] (KYLIN-3226) When user logs in with only query permission, 'N/A' is displayed in the cube's action list.

2018-02-05 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen resolved KYLIN-3226.
--
Resolution: Fixed

> When user logs in with only query permission, 'N/A' is displayed in the 
> cube's action list.
> ---
>
> Key: KYLIN-3226
> URL: https://issues.apache.org/jira/browse/KYLIN-3226
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.3.0
>Reporter: Peng Xing
>Assignee: Peng Xing
>Priority: Major
>  Labels: patch
> Fix For: v2.3.0
>
> Attachments: 
> 0001-KYLIN-3226-When-user-logs-in-with-only-query-permiss.patch, 
> NA_action.png, only_query_permission.png
>
>
> 1. Only give the 'QUERY' permission of project 'learn_kylin' for user 'xp', 
> refer to 'only_query_permission.png'.
> 2. When user 'xp' logins in, 'N/A' is displayed in the cube's action list, 
> refer to  'NA_action.png'.
> Please review the patch, thanks!



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


[jira] [Resolved] (KYLIN-3222) The function of editing 'Advanced Dictionaries' in cube is unavailable.

2018-02-05 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen resolved KYLIN-3222.
--
Resolution: Fixed

> The function of editing 'Advanced Dictionaries' in cube is unavailable.
> ---
>
> Key: KYLIN-3222
> URL: https://issues.apache.org/jira/browse/KYLIN-3222
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.3.0
>Reporter: Peng Xing
>Assignee: Peng Xing
>Priority: Major
>  Labels: patch
> Fix For: v2.3.0
>
> Attachments: 
> 0001-KYLIN-3222-The-function-of-editing-Advanced-Dictiona.patch, 
> modify_advanced_dictionary.png, modify_advanced_dictionary_no_effect.png
>
>
> There is a problem about editing 'Advanced Dictionaries' in cube, refer to 
> 'modify_advanced_dictionary.png' and 
> 'modify_advanced_dictionary_no_effect.png'.
> Please review the patch, thanks!



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


[jira] [Resolved] (KYLIN-3199) The login dialog should be closed when ldap user with no permission login correctly

2018-02-05 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen resolved KYLIN-3199.
--
Resolution: Fixed

> The login dialog should be closed when ldap user with no permission login 
> correctly
> ---
>
> Key: KYLIN-3199
> URL: https://issues.apache.org/jira/browse/KYLIN-3199
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.3.0
>Reporter: Peng Xing
>Assignee: Peng Xing
>Priority: Minor
>  Labels: patch
> Fix For: v2.3.0
>
> Attachments: 
> 0001-KYLIN-3199-The-login-dialog-should-be-closed-when-ld.patch, 
> ldap_user_login.png
>
>
> 1. Open ldap authentication, but I do not give the admin permission to group 
> 'xpGroup';
> 2. Create a ldap user 'xp', who belongs to group 'xpGroup', so this user has 
> none permission.
> 3. When user 'xp' login in, the above bar has showed and been enabled, but 
> the login dialog still show.
> 4. Then you can click any button on above bar.
> Please refer to 'ldap_user_login.png'
> I think the login dialog should be closed when you login in correctly, and 
> redirect to the 'Model' page, but this user has no permission.
> I have modified this issue, please review the patch, thanks!



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


[jira] [Commented] (KYLIN-3226) When user logs in with only query permission, 'N/A' is displayed in the cube's action list.

2018-02-05 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3226:
--

Thanks [~xingpeng1]

This patch is fine with me.

I will merge it into Kylin master.

> When user logs in with only query permission, 'N/A' is displayed in the 
> cube's action list.
> ---
>
> Key: KYLIN-3226
> URL: https://issues.apache.org/jira/browse/KYLIN-3226
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.3.0
>Reporter: Peng Xing
>Assignee: Peng Xing
>Priority: Major
>  Labels: patch
> Fix For: v2.3.0
>
> Attachments: 
> 0001-KYLIN-3226-When-user-logs-in-with-only-query-permiss.patch, 
> NA_action.png, only_query_permission.png
>
>
> 1. Only give the 'QUERY' permission of project 'learn_kylin' for user 'xp', 
> refer to 'only_query_permission.png'.
> 2. When user 'xp' logins in, 'N/A' is displayed in the cube's action list, 
> refer to  'NA_action.png'.
> Please review the patch, thanks!



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


[jira] [Commented] (KYLIN-3222) The function of editing 'Advanced Dictionaries' in cube is unavailable.

2018-02-05 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3222:
--

Thanks [~xingpeng1]

This patch is fine with me.

I will merge it into Kylin master.

> The function of editing 'Advanced Dictionaries' in cube is unavailable.
> ---
>
> Key: KYLIN-3222
> URL: https://issues.apache.org/jira/browse/KYLIN-3222
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.3.0
>Reporter: Peng Xing
>Assignee: Peng Xing
>Priority: Major
>  Labels: patch
> Fix For: v2.3.0
>
> Attachments: 
> 0001-KYLIN-3222-The-function-of-editing-Advanced-Dictiona.patch, 
> modify_advanced_dictionary.png, modify_advanced_dictionary_no_effect.png
>
>
> There is a problem about editing 'Advanced Dictionaries' in cube, refer to 
> 'modify_advanced_dictionary.png' and 
> 'modify_advanced_dictionary_no_effect.png'.
> Please review the patch, thanks!



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


[jira] [Commented] (KYLIN-3241) When refresh on 'Add Cube Page', a blank page will appear.

2018-02-05 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3241:
--

Hi,[~xingpeng1]

There is a jira about this issue already.  KYLIN-3130

https://issues.apache.org/jira/browse/KYLIN-3130

So I close this jira.

You could comment and attach patch in that jira

> When refresh on 'Add Cube Page', a blank page will appear.
> --
>
> Key: KYLIN-3241
> URL: https://issues.apache.org/jira/browse/KYLIN-3241
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.3.0
>Reporter: Peng Xing
>Assignee: Peng Xing
>Priority: Minor
> Fix For: v2.3.0
>
> Attachments: 0001-KYLIN-3241.patch
>
>
> When refresh on 'Add Cube Page', a blank page will appear,
> there is a "Cannot read property 'indexOf' of undefined" error in the console



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


[jira] [Commented] (KYLIN-3224) data can't show when use kylin pushdown model

2018-02-05 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3224:
--

However if you query by cube , the data is normal.

So I don't think the issue is in front-end.

Maybe you could fine why query by cube and query by pushdown show differently ?

> data can't show when use kylin pushdown model 
> --
>
> Key: KYLIN-3224
> URL: https://issues.apache.org/jira/browse/KYLIN-3224
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.2.0, v2.3.0
>Reporter: peng.jianhua
>Assignee: peng.jianhua
>Priority: Major
> Fix For: v2.3.0
>
> Attachments: 0001-KYLIN-3224.patch, 01.PNG, 02.PNG, 03.PNG
>
>
> select * from kylin_sales
> use pushdown model,and the result shows like 01.png



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


[jira] [Commented] (KYLIN-3236) The function 'reGenerateAdvancedDict()' has an error logical judgment, which will cause an exception when you edit the cube.

2018-02-05 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3236:
--

Do you use TRANS_ID in count_distinct measure ?

> The function 'reGenerateAdvancedDict()' has an error logical judgment, which 
> will cause an exception when you edit the cube.
> 
>
> Key: KYLIN-3236
> URL: https://issues.apache.org/jira/browse/KYLIN-3236
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.3.0
>Reporter: Peng Xing
>Assignee: Peng Xing
>Priority: Major
>  Labels: patch
> Attachments: 
> 0001-KYLIN-3236-The-function-reGenerateAdvancedDict-has-a.patch, 1.PNG, 
> 2.PNG, 3.PNG
>
>
> # When remove deprecated distinct measures, the code has an error logical 
> judgment In function 'reGenerateAdvancedDict()', as follows:
> {code:java}
> //remove deprecated distinct measures
> angular.forEach($scope.cubeMetaFrame.dictionaries, function (dict, index) 
> {
>   if (distinctMeasures.indexOf(dict.column) === -1 && 
> reuseColumns.indexOf(dict.column) === -1) {
> $scope.cubeMetaFrame.dictionaries.splice(index, 1);
>   }
> });
> {code}
> This will result in accidental deletion of advanced dictionaries.
>  Please review the patch, thanks!



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


[jira] [Commented] (KYLIN-3236) The function 'reGenerateAdvancedDict()' has an error logical judgment, which will cause an exception when you edit the cube.

2018-02-05 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3236:
--

Hi,[~xingpeng1]

I think it isn't a bug.

Global dictionary only used in count_distinct measure that return type is 
'bitmap'.

So Kaisen in KYLIN-2604 remove the dictionary that not be used in 
count_distinct.

 

> The function 'reGenerateAdvancedDict()' has an error logical judgment, which 
> will cause an exception when you edit the cube.
> 
>
> Key: KYLIN-3236
> URL: https://issues.apache.org/jira/browse/KYLIN-3236
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.3.0
>Reporter: Peng Xing
>Assignee: Peng Xing
>Priority: Major
>  Labels: patch
> Attachments: 
> 0001-KYLIN-3236-The-function-reGenerateAdvancedDict-has-a.patch
>
>
> # When remove deprecated distinct measures, the code has an error logical 
> judgment In function 'reGenerateAdvancedDict()', as follows:
> {code:java}
> //remove deprecated distinct measures
> angular.forEach($scope.cubeMetaFrame.dictionaries, function (dict, index) 
> {
>   if (distinctMeasures.indexOf(dict.column) === -1 && 
> reuseColumns.indexOf(dict.column) === -1) {
> $scope.cubeMetaFrame.dictionaries.splice(index, 1);
>   }
> });
> {code}
> This will result in accidental deletion of advanced dictionaries.
>  Please review the patch, thanks!



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


[jira] [Updated] (KYLIN-3236) The function 'reGenerateAdvancedDict()' has an error logical judgment, which will cause an exception when you edit the cube.

2018-02-05 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen updated KYLIN-3236:
-
Description: 
# When remove deprecated distinct measures, the code has an error logical 
judgment In function 'reGenerateAdvancedDict()', as follows:

{code:java}
//remove deprecated distinct measures
angular.forEach($scope.cubeMetaFrame.dictionaries, function (dict, index) {
  if (distinctMeasures.indexOf(dict.column) === -1 && 
reuseColumns.indexOf(dict.column) === -1) {
$scope.cubeMetaFrame.dictionaries.splice(index, 1);
  }
});
{code}
This will result in accidental deletion of advanced dictionaries.
 Please review the patch, thanks!

  was:
When remove deprecated distinct measures, the code has an error logical 
judgment In function 'reGenerateAdvancedDict()', as follows:

{code:java}
//remove deprecated distinct measures
angular.forEach($scope.cubeMetaFrame.dictionaries, function (dict, index) {
  if (distinctMeasures.indexOf(dict.column) === -1 && 
reuseColumns.indexOf(dict.column) === -1) {
$scope.cubeMetaFrame.dictionaries.splice(index, 1);
  }
});
{code}

This will result in accidental deletion of advanced dictionaries.
Please review the patch, thanks!



> The function 'reGenerateAdvancedDict()' has an error logical judgment, which 
> will cause an exception when you edit the cube.
> 
>
> Key: KYLIN-3236
> URL: https://issues.apache.org/jira/browse/KYLIN-3236
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.3.0
>Reporter: Peng Xing
>Assignee: Peng Xing
>Priority: Major
>  Labels: patch
> Attachments: 
> 0001-KYLIN-3236-The-function-reGenerateAdvancedDict-has-a.patch
>
>
> # When remove deprecated distinct measures, the code has an error logical 
> judgment In function 'reGenerateAdvancedDict()', as follows:
> {code:java}
> //remove deprecated distinct measures
> angular.forEach($scope.cubeMetaFrame.dictionaries, function (dict, index) 
> {
>   if (distinctMeasures.indexOf(dict.column) === -1 && 
> reuseColumns.indexOf(dict.column) === -1) {
> $scope.cubeMetaFrame.dictionaries.splice(index, 1);
>   }
> });
> {code}
> This will result in accidental deletion of advanced dictionaries.
>  Please review the patch, thanks!



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


[jira] [Commented] (KYLIN-3224) data can't show when use kylin pushdown model

2018-02-05 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3224:
--

Hi,[~peng.jianhua]

There isn't different part in query pushdown or query cube in web.

So I think it isn't issue in web.

Could you check the data in Hive ?

> data can't show when use kylin pushdown model 
> --
>
> Key: KYLIN-3224
> URL: https://issues.apache.org/jira/browse/KYLIN-3224
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.2.0, v2.3.0
>Reporter: peng.jianhua
>Assignee: peng.jianhua
>Priority: Major
> Fix For: v2.3.0
>
> Attachments: 0001-KYLIN-3224.patch, 01.PNG
>
>
> select * from kylin_sales
> use pushdown model,and the result shows like 01.png



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


[jira] [Resolved] (KYLIN-3215) remove 'drop' option when job status is stopped and error

2018-02-05 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen resolved KYLIN-3215.
--
Resolution: Fixed

> remove 'drop' option when job status is stopped and error
> -
>
> Key: KYLIN-3215
> URL: https://issues.apache.org/jira/browse/KYLIN-3215
> Project: Kylin
>  Issue Type: Improvement
>  Components: Web 
>Affects Versions: v2.2.0, v2.3.0
>Reporter: peng.jianhua
>Assignee: peng.jianhua
>Priority: Minor
> Fix For: v2.3.0
>
> Attachments: 0001-KYLIN-3215.patch
>
>




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


[jira] [Commented] (KYLIN-3215) remove 'drop' option when job status is stopped and error

2018-02-05 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3215:
--

OK.

It is fine with me.

I will merge it into Kylin master.

> remove 'drop' option when job status is stopped and error
> -
>
> Key: KYLIN-3215
> URL: https://issues.apache.org/jira/browse/KYLIN-3215
> Project: Kylin
>  Issue Type: Improvement
>  Components: Web 
>Affects Versions: v2.2.0, v2.3.0
>Reporter: peng.jianhua
>Assignee: peng.jianhua
>Priority: Minor
> Fix For: v2.3.0
>
> Attachments: 0001-KYLIN-3215.patch
>
>




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


[jira] [Resolved] (KYLIN-3069) Add proper time zone support to the WebUI instead of GMT/PST kludge

2018-02-05 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen resolved KYLIN-3069.
--
Resolution: Fixed

> Add proper time zone support to the WebUI instead of GMT/PST kludge
> ---
>
> Key: KYLIN-3069
> URL: https://issues.apache.org/jira/browse/KYLIN-3069
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.2.0
> Environment: HDP 2.5.3, Kylin 2.2.0
>Reporter: Vsevolod Ostapenko
>Assignee: peng.jianhua
>Priority: Minor
> Fix For: v2.3.0
>
> Attachments: 
> 0001-KYLIN-3069-Add-proper-time-zone-support-to-the-WebUI.patch, Screen Shot 
> 2017-12-05 at 10.01.39 PM.png, kylin_pic1.png, kylin_pic2.png, kylin_pic3.png
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Time zone handling logic in the WebUI is a kludge, coded to parse only 
> "GMT-N" time zone specifications and defaulting to PST, if parsing is not 
> successful (kylin/webapp/app/js/filters/filter.js)
> Integrating moment and moment time zone (http://momentjs.com/timezone/docs/) 
> into the product, would allow correct time zone handling.
> For the users who happen to reside in the geographical locations that do 
> observe day light savings time, usage of GMT-N format is very inconvenient 
> and info reported by the UI in various places is perplexing.
> Needless to say that the GMT moniker itself is long deprecated.



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


[jira] [Commented] (KYLIN-3069) Add proper time zone support to the WebUI instead of GMT/PST kludge

2018-02-05 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3069:
--

Thanks jianhua.

It is fine with me.

I will merge it into master branch.

> Add proper time zone support to the WebUI instead of GMT/PST kludge
> ---
>
> Key: KYLIN-3069
> URL: https://issues.apache.org/jira/browse/KYLIN-3069
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.2.0
> Environment: HDP 2.5.3, Kylin 2.2.0
>Reporter: Vsevolod Ostapenko
>Assignee: peng.jianhua
>Priority: Minor
> Fix For: v2.3.0
>
> Attachments: 
> 0001-KYLIN-3069-Add-proper-time-zone-support-to-the-WebUI.patch, Screen Shot 
> 2017-12-05 at 10.01.39 PM.png, kylin_pic1.png, kylin_pic2.png, kylin_pic3.png
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> Time zone handling logic in the WebUI is a kludge, coded to parse only 
> "GMT-N" time zone specifications and defaulting to PST, if parsing is not 
> successful (kylin/webapp/app/js/filters/filter.js)
> Integrating moment and moment time zone (http://momentjs.com/timezone/docs/) 
> into the product, would allow correct time zone handling.
> For the users who happen to reside in the geographical locations that do 
> observe day light savings time, usage of GMT-N format is very inconvenient 
> and info reported by the UI in various places is perplexing.
> Needless to say that the GMT moniker itself is long deprecated.



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


[jira] [Resolved] (KYLIN-2962) drop error job not delete segment

2018-02-04 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen resolved KYLIN-2962.
--
   Resolution: Fixed
Fix Version/s: v2.3.0

> drop error job not delete segment
> -
>
> Key: KYLIN-2962
> URL: https://issues.apache.org/jira/browse/KYLIN-2962
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine, REST Service
>Reporter: Pan, Julian
>Assignee: Dong Li
>Priority: Major
>  Labels: scope
> Fix For: v2.3.0
>
>
> When job error and user drop the job, which may cause issue if drop job does 
> not clean the error segment.



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


[jira] [Commented] (KYLIN-2962) drop error job not delete segment

2018-02-04 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-2962:
--

This jira is duplicated with KYLIN-3228.

https://issues.apache.org/jira/browse/KYLIN-3228

You could check comments in KYLIN-3228.

So I close this jira.

> drop error job not delete segment
> -
>
> Key: KYLIN-2962
> URL: https://issues.apache.org/jira/browse/KYLIN-2962
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine, REST Service
>Reporter: Pan, Julian
>Assignee: Dong Li
>Priority: Major
>  Labels: scope
>
> When job error and user drop the job, which may cause issue if drop job does 
> not clean the error segment.



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


[jira] [Assigned] (KYLIN-2886) export csv file error

2018-02-04 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen reassigned KYLIN-2886:


Assignee: Zhixiong Chen  (was: Zhong,Jason)

> export csv file error
> -
>
> Key: KYLIN-2886
> URL: https://issues.apache.org/jira/browse/KYLIN-2886
> Project: Kylin
>  Issue Type: Bug
>  Components: REST Service
>Reporter: lynn
>Assignee: Zhixiong Chen
>Priority: Major
>  Labels: scope
> Attachments: 1.png, 21.png
>
>
> SQL:
> select price, sell_id from kylin_sales order by sell_id compute max(price) by 
> sell_id;
> when i run a "compute by sub statement",obviously, it does not support the 
> statement.
> !1.png|thumbnail!
> It doesn't matter! But when i want to export the results which  previously 
> executed successfully to the csv file, it still throws exception!
> !21.png|thumbnail!
> REST Service return message:
> {
> "code": "999",
> "data": null,
> "msg": "Encountered \"compute\" at line 1, column 57. Was expecting one 
> of:   \"LIMIT\" ... \"OFFSET\" ... \"FETCH\" ... 
> \",\" ... \"ASC\" ... \"DESC\" ... \"NULLS\" ... \"NOT\" ...  
>\"IN\" ... \"BETWEEN\" ... \"LIKE\" ... \"SIMILAR\" ... 
> \"=\" ... \">\" ... \"<\" ... \"<=\" ... \">=\" ... 
> \"<>\" ... \"!=\" ... \"+\" ... \"-\" ... \"*\" ... \"/\" 
> ... \"||\" ... \"AND\" ... \"OR\" ... \"IS\" ... 
> \"MEMBER\" ... \"SUBMULTISET\" ... \"MULTISET\" ... \"[\" ... 
> \".\" ... \"(\" ... ",
> "stacktrace": "org.apache.kylin.rest.exception.InternalErrorException: 
> Encountered \"compute\" at line 1, column 57. Was expecting one of:  
>  \"LIMIT\" ... \"OFFSET\" ... \"FETCH\" ... \",\" ... 
> \"ASC\" ... \"DESC\" ... \"NULLS\" ... \"NOT\" ... \"IN\" ... 
> \"BETWEEN\" ... \"LIKE\" ... \"SIMILAR\" ... \"=\" ... 
> \">\" ... \"<\" ... \"<=\" ... \">=\" ... \"<>\" ... 
> \"!=\" ... \"+\" ... \"-\" ... \"*\" ... \"/\" ... \"||\" 
> ... \"AND\" ... \"OR\" ... \"IS\" ... \"MEMBER\" ... 
> \"SUBMULTISET\" ... \"MULTISET\" ... \"[\" ... \".\" ... 
> \"(\" ... \n\tat 
> org.apache.kylin.rest.service.QueryService.doQueryWithCache(QueryService.java:440)\n\tat
>  
> org.apache.kylin.rest.controller.QueryController.downloadQueryResult(QueryController.java:121)\n\tat
>  sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat
>  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat
>  java.lang.reflect.Method.invoke(Method.java:498)\n\tat 
> org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)\n\tat
>  
> org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:136)\n\tat
>  
> org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)\n\tat
>  
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:832)\n\tat
>  
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:743)\n\tat
>  
> org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)\n\tat
>  
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:961)\n\tat
>  
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:895)\n\tat
>  
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967)\n\tat
>  
> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:858)\n\tat
>  javax.servlet.http.HttpServlet.service(HttpServlet.java:624)\n\tat 
> org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:843)\n\tat
>  javax.servlet.http.HttpServlet.service(HttpServlet.java:731)\n\tat 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)\n\tat
>  
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat
>  org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)\n\tat 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\n\tat
>  
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat
>  
> 

[jira] [Assigned] (KYLIN-2900) Web Interface MR Link BUG

2018-02-04 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen reassigned KYLIN-2900:


Assignee: Zhixiong Chen  (was: Zhong,Jason)

> Web Interface MR Link BUG
> -
>
> Key: KYLIN-2900
> URL: https://issues.apache.org/jira/browse/KYLIN-2900
> Project: Kylin
>  Issue Type: Bug
>  Components: REST Service
>Reporter: lynn
>Assignee: Zhixiong Chen
>Priority: Major
> Attachments: 1.png
>
>
> When I notice the detail info of the MR Job, I find the Link starts with 
> “unsafe” occasionally , as the picture "1.png".
> !1.png|thumbnail!



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


[jira] [Assigned] (KYLIN-3223) Query for the list of hybrid cubes results in NPE

2018-02-02 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen reassigned KYLIN-3223:


Assignee: nichunen  (was: Zhixiong Chen)

> Query for the list of hybrid cubes results in NPE
> -
>
> Key: KYLIN-3223
> URL: https://issues.apache.org/jira/browse/KYLIN-3223
> Project: Kylin
>  Issue Type: Bug
>  Components: REST Service
>Affects Versions: v2.2.0
> Environment: HDP 2.5.6, Kylin 2.2
>Reporter: Vsevolod Ostapenko
>Assignee: nichunen
>Priority: Major
>
> Calling REST API to get the list of hybrid cubes returns stack trace with NPE 
> exception.
> {quote}curl -u ADMIN:KYLIN -X GET -H 'Content-Type: application/json'  -d {} 
> [http://localhost:7070/kylin/api/hybrids]
> {"code":"999","data":null,"msg":null,"stacktrace":"java.lang.NullPointerException\n\tat
>  
> java.util.concurrent.ConcurrentSkipListMap.doGet(ConcurrentSkipListMap.java:778)\n\tat
>  
> java.util.concurrent.ConcurrentSkipListMap.get(ConcurrentSkipListMap.java:1546)\n\tat
>  
> org.apache.kylin.metadata.cachesync.SingleValueCache.get(SingleValueCache.java:85)\n\tat
>  
> org.apache.kylin.metadata.project.ProjectManager.getProject(ProjectManager.java:172)\n\tat
>  
> org.apache.kylin.rest.util.AclEvaluate.getProjectInstance(AclEvaluate.java:39)\n\tat
>  
> org.apache.kylin.rest.util.AclEvaluate.checkProjectReadPermission(AclEvaluate.java:61)\n\tat
>  
> org.apache.kylin.rest.service.HybridService.listHybrids(HybridService.java:115)\n\tat
>  
> org.apache.kylin.rest.controller.HybridController.list(HybridController.java:76)\n\tat
>  sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat
>  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat
>  java.lang.reflect.Method.invoke(Method.java:497)\n\tat 
> org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)\n\tat
>  
> org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)\n\tat
>  
> org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)\n\tat
>  
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)\n\tat
>  
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)\n\tat
>  
> org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)\n\tat
>  
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)\n\tat
>  
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)\n\tat
>  
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)\n\tat
>  
> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)\n\tat
>  javax.servlet.http.HttpServlet.service(HttpServlet.java:624)\n\tat 
> org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)\n\tat
>  javax.servlet.http.HttpServlet.service(HttpServlet.java:731)\n\tat 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)\n\tat
>  
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat
>  org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)\n\tat 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\n\tat
>  
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat
>  
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)\n\tat
>  
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)\n\tat
>  
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)\n\tat
>  
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)\n\tat
>  
> org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)\n\tat
>  
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)\n\tat
>  
> org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)\n\tat
>  
> 

[jira] [Assigned] (KYLIN-3223) Query for the list of hybrid cubes results in NPE

2018-02-01 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen reassigned KYLIN-3223:


Assignee: Zhixiong Chen  (was: luguosheng)

> Query for the list of hybrid cubes results in NPE
> -
>
> Key: KYLIN-3223
> URL: https://issues.apache.org/jira/browse/KYLIN-3223
> Project: Kylin
>  Issue Type: Bug
>  Components: REST Service
>Affects Versions: v2.2.0
> Environment: HDP 2.5.6, Kylin 2.2
>Reporter: Vsevolod Ostapenko
>Assignee: Zhixiong Chen
>Priority: Major
>
> Calling REST API to get the list of hybrid cubes returns stack trace with NPE 
> exception.
> {quote}curl -u ADMIN:KYLIN -X GET -H 'Content-Type: application/json'  -d {} 
> [http://localhost:7070/kylin/api/hybrids]
> {"code":"999","data":null,"msg":null,"stacktrace":"java.lang.NullPointerException\n\tat
>  
> java.util.concurrent.ConcurrentSkipListMap.doGet(ConcurrentSkipListMap.java:778)\n\tat
>  
> java.util.concurrent.ConcurrentSkipListMap.get(ConcurrentSkipListMap.java:1546)\n\tat
>  
> org.apache.kylin.metadata.cachesync.SingleValueCache.get(SingleValueCache.java:85)\n\tat
>  
> org.apache.kylin.metadata.project.ProjectManager.getProject(ProjectManager.java:172)\n\tat
>  
> org.apache.kylin.rest.util.AclEvaluate.getProjectInstance(AclEvaluate.java:39)\n\tat
>  
> org.apache.kylin.rest.util.AclEvaluate.checkProjectReadPermission(AclEvaluate.java:61)\n\tat
>  
> org.apache.kylin.rest.service.HybridService.listHybrids(HybridService.java:115)\n\tat
>  
> org.apache.kylin.rest.controller.HybridController.list(HybridController.java:76)\n\tat
>  sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat
>  
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat
>  java.lang.reflect.Method.invoke(Method.java:497)\n\tat 
> org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)\n\tat
>  
> org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)\n\tat
>  
> org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)\n\tat
>  
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)\n\tat
>  
> org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)\n\tat
>  
> org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)\n\tat
>  
> org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)\n\tat
>  
> org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)\n\tat
>  
> org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)\n\tat
>  
> org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:861)\n\tat
>  javax.servlet.http.HttpServlet.service(HttpServlet.java:624)\n\tat 
> org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)\n\tat
>  javax.servlet.http.HttpServlet.service(HttpServlet.java:731)\n\tat 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)\n\tat
>  
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat
>  org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)\n\tat 
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)\n\tat
>  
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)\n\tat
>  
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:317)\n\tat
>  
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:127)\n\tat
>  
> org.springframework.security.web.access.intercept.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:91)\n\tat
>  
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)\n\tat
>  
> org.springframework.security.web.access.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:114)\n\tat
>  
> org.springframework.security.web.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:331)\n\tat
>  
> org.springframework.security.web.session.SessionManagementFilter.doFilter(SessionManagementFilter.java:137)\n\tat
>  
> 

[jira] [Resolved] (KYLIN-3213) Kylin help has duplicate items

2018-01-31 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen resolved KYLIN-3213.
--
Resolution: Fixed

> Kylin help has duplicate items
> --
>
> Key: KYLIN-3213
> URL: https://issues.apache.org/jira/browse/KYLIN-3213
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.3.0
>Reporter: Peng Xing
>Assignee: Peng Xing
>Priority: Major
>  Labels: patch
> Fix For: v2.3.0
>
> Attachments: 0001-KYLIN-3213-Kylin-help-has-duplicate-items.patch, 
> help_duplicate_record.png
>
>
> Kylin help has duplicate items, refer to 'help_duplicate_record.png'.
> In some cases, such as opening two clients at the same time, the help of 
> kylin client will appear duplicate items.
> Through the code debug, I find the 'initWebConfigInfo' function has been 
> called twice, but the array parameter 'Config.documents' has not been cleaned 
> at the beginning, so after the second call, the array appears duplicate items.
> I have added code of initial array in the patch, please review it, thanks!



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


[jira] [Commented] (KYLIN-3199) The login dialog should be closed when ldap user with no permission login correctly

2018-01-31 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3199:
--

Hi,[~xingpeng1]

I find you update this patch.

But it looks like the last one.

 

> The login dialog should be closed when ldap user with no permission login 
> correctly
> ---
>
> Key: KYLIN-3199
> URL: https://issues.apache.org/jira/browse/KYLIN-3199
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.3.0
>Reporter: Peng Xing
>Assignee: Peng Xing
>Priority: Minor
>  Labels: patch
> Attachments: 
> 0001-KYLIN-3199-The-login-dialog-should-be-closed-when-ld.patch, 
> ldap_user_login.png
>
>
> 1. Open ldap authentication, but I do not give the admin permission to group 
> 'xpGroup';
> 2. Create a ldap user 'xp', who belongs to group 'xpGroup', so this user has 
> none permission.
> 3. When user 'xp' login in, the above bar has showed and been enabled, but 
> the login dialog still show.
> 4. Then you can click any button on above bar.
> Please refer to 'ldap_user_login.png'
> I think the login dialog should be closed when you login in correctly, and 
> redirect to the 'Model' page, but this user has no permission.
> I have modified this issue, please review the patch, thanks!



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


[jira] [Resolved] (KYLIN-3210) The project shows '_null' in result page.

2018-01-30 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen resolved KYLIN-3210.
--
   Resolution: Fixed
Fix Version/s: v2.3.0

> The project shows '_null' in result page.
> -
>
> Key: KYLIN-3210
> URL: https://issues.apache.org/jira/browse/KYLIN-3210
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.3.0
>Reporter: Peng Xing
>Assignee: Peng Xing
>Priority: Minor
>  Labels: patch
> Fix For: v2.3.0
>
> Attachments: 
> 0001-KYLIN-3210-The-project-shows-_null-in-result-page.patch, 
> _null_project_with_ldap_user.png
>
>
> 1. Open ldap authentication, but I do not give the admin permission to group 
> 'xpGroup';
> 2. Create a ldap user 'xp', who belongs to group 'xpGroup', so this user has 
> none permission.
> 3. When user 'xp' login in, click the 'Insight' tab page.
> 4. Input a any query sql, and click 'Submit'.
> 5. The project shows '_null' in result page, refer to 
> '_null_project_with_ldap_user.png'



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


[jira] [Commented] (KYLIN-3210) The project shows '_null' in result page.

2018-01-30 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3210:
--

Hi, [~xingpeng1] 

This patch is fine with me. I will merge it into Kylin master.

Thanks!

> The project shows '_null' in result page.
> -
>
> Key: KYLIN-3210
> URL: https://issues.apache.org/jira/browse/KYLIN-3210
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.3.0
>Reporter: Peng Xing
>Assignee: Peng Xing
>Priority: Minor
>  Labels: patch
> Attachments: 
> 0001-KYLIN-3210-The-project-shows-_null-in-result-page.patch, 
> _null_project_with_ldap_user.png
>
>
> 1. Open ldap authentication, but I do not give the admin permission to group 
> 'xpGroup';
> 2. Create a ldap user 'xp', who belongs to group 'xpGroup', so this user has 
> none permission.
> 3. When user 'xp' login in, click the 'Insight' tab page.
> 4. Input a any query sql, and click 'Submit'.
> 5. The project shows '_null' in result page, refer to 
> '_null_project_with_ldap_user.png'



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


[jira] [Commented] (KYLIN-3213) Kylin help has duplicate items

2018-01-29 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3213:
--

Hi, [~xingpeng1] 

This patch is fine with me. I will merge it into Kylin master.

Thanks!

> Kylin help has duplicate items
> --
>
> Key: KYLIN-3213
> URL: https://issues.apache.org/jira/browse/KYLIN-3213
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.3.0
>Reporter: Peng Xing
>Assignee: Peng Xing
>Priority: Major
>  Labels: patch
> Fix For: v2.3.0
>
> Attachments: 0001-KYLIN-3213-Kylin-help-has-duplicate-items.patch, 
> help_duplicate_record.png
>
>
> Kylin help has duplicate items, refer to 'help_duplicate_record.png'.
> In some cases, such as opening two clients at the same time, the help of 
> kylin client will appear duplicate items.
> Through the code debug, I find the 'initWebConfigInfo' function has been 
> called twice, but the array parameter 'Config.documents' has not been cleaned 
> at the beginning, so after the second call, the array appears duplicate items.
> I have added code of initial array in the patch, please review it, thanks!



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


[jira] [Updated] (KYLIN-3213) Kylin help has duplicate items

2018-01-29 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen updated KYLIN-3213:
-
Fix Version/s: v2.3.0

> Kylin help has duplicate items
> --
>
> Key: KYLIN-3213
> URL: https://issues.apache.org/jira/browse/KYLIN-3213
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.3.0
>Reporter: Peng Xing
>Assignee: Peng Xing
>Priority: Major
>  Labels: patch
> Fix For: v2.3.0
>
> Attachments: 0001-KYLIN-3213-Kylin-help-has-duplicate-items.patch, 
> help_duplicate_record.png
>
>
> Kylin help has duplicate items, refer to 'help_duplicate_record.png'.
> In some cases, such as opening two clients at the same time, the help of 
> kylin client will appear duplicate items.
> Through the code debug, I find the 'initWebConfigInfo' function has been 
> called twice, but the array parameter 'Config.documents' has not been cleaned 
> at the beginning, so after the second call, the array appears duplicate items.
> I have added code of initial array in the patch, please review it, thanks!



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


[jira] [Resolved] (KYLIN-3116) Fix cardinality caculate checkbox issue when loading tables

2018-01-25 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen resolved KYLIN-3116.
--
Resolution: Fixed

> Fix cardinality caculate checkbox issue when loading tables
> ---
>
> Key: KYLIN-3116
> URL: https://issues.apache.org/jira/browse/KYLIN-3116
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.2.0
> Environment: Centos 7, ambari, HDP 2.6
>Reporter: vu thanh dat
>Assignee: Zhixiong Chen
>Priority: Major
>  Labels: build
> Fix For: v2.3.0
>
> Attachments: 
> 0001-KYLIN-3116-Fix-cardinality-caculate-checkbox-issue-w.patch, 
> mapreduce.bmp, 屏幕快照 2017-12-19 上午10.31.06.png
>
>
> Hi all,
> im using Kylin to speed up query HDFS.
> Which 2.5 billions records per day. When i'm using Kylin and load hive table, 
> it make a mapreduce on my server, 2969 map and 1 reduce with only 1 table. My 
> datasource about 10 tables. And it so slow. I attached an image.
> So, can i speed up process "Load hive table" to create model and cubes so 
> quickly?
> Exam use spark (because mapreduce so slow)?
> Best regards, Thanks all



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


[jira] [Commented] (KYLIN-3116) Fix cardinality caculate checkbox issue when loading tables

2018-01-25 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3116:
--

This is my patch.

Please check it .Thanks!

[~bob123]

> Fix cardinality caculate checkbox issue when loading tables
> ---
>
> Key: KYLIN-3116
> URL: https://issues.apache.org/jira/browse/KYLIN-3116
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.2.0
> Environment: Centos 7, ambari, HDP 2.6
>Reporter: vu thanh dat
>Assignee: Zhixiong Chen
>Priority: Major
>  Labels: build
> Fix For: v2.3.0
>
> Attachments: 
> 0001-KYLIN-3116-Fix-cardinality-caculate-checkbox-issue-w.patch, 
> mapreduce.bmp, 屏幕快照 2017-12-19 上午10.31.06.png
>
>
> Hi all,
> im using Kylin to speed up query HDFS.
> Which 2.5 billions records per day. When i'm using Kylin and load hive table, 
> it make a mapreduce on my server, 2969 map and 1 reduce with only 1 table. My 
> datasource about 10 tables. And it so slow. I attached an image.
> So, can i speed up process "Load hive table" to create model and cubes so 
> quickly?
> Exam use spark (because mapreduce so slow)?
> Best regards, Thanks all



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


[jira] [Updated] (KYLIN-3116) Fix cardinality caculate checkbox issue when loading tables

2018-01-25 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen updated KYLIN-3116:
-
Attachment: 0001-KYLIN-3116-Fix-cardinality-caculate-checkbox-issue-w.patch

> Fix cardinality caculate checkbox issue when loading tables
> ---
>
> Key: KYLIN-3116
> URL: https://issues.apache.org/jira/browse/KYLIN-3116
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.2.0
> Environment: Centos 7, ambari, HDP 2.6
>Reporter: vu thanh dat
>Assignee: Zhixiong Chen
>Priority: Major
>  Labels: build
> Fix For: v2.3.0
>
> Attachments: 
> 0001-KYLIN-3116-Fix-cardinality-caculate-checkbox-issue-w.patch, 
> mapreduce.bmp, 屏幕快照 2017-12-19 上午10.31.06.png
>
>
> Hi all,
> im using Kylin to speed up query HDFS.
> Which 2.5 billions records per day. When i'm using Kylin and load hive table, 
> it make a mapreduce on my server, 2969 map and 1 reduce with only 1 table. My 
> datasource about 10 tables. And it so slow. I attached an image.
> So, can i speed up process "Load hive table" to create model and cubes so 
> quickly?
> Exam use spark (because mapreduce so slow)?
> Best regards, Thanks all



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


[jira] [Commented] (KYLIN-3113) Editing Measure supports fuzzy search in web

2018-01-25 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3113:
--

This patch is fine with me.

Thanks. [~kangkaisen]

> Editing Measure supports fuzzy search in web
> 
>
> Key: KYLIN-3113
> URL: https://issues.apache.org/jira/browse/KYLIN-3113
> Project: Kylin
>  Issue Type: Improvement
>  Components: Web 
>Affects Versions: v2.2.0
>Reporter: kangkaisen
>Assignee: kangkaisen
>Priority: Major
> Fix For: v2.3.0
>
> Attachments: KYLIN-3113.patch
>
>
> After Kylin 2.0,  the column in web contains table name and column name, so 
> the prefixal search is useless, which is a bad user experience. So we should 
> support fuzzy search when editing measure.



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


[jira] [Resolved] (KYLIN-3113) Editing Measure supports fuzzy search in web

2018-01-25 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen resolved KYLIN-3113.
--
Resolution: Fixed

> Editing Measure supports fuzzy search in web
> 
>
> Key: KYLIN-3113
> URL: https://issues.apache.org/jira/browse/KYLIN-3113
> Project: Kylin
>  Issue Type: Improvement
>  Components: Web 
>Affects Versions: v2.2.0
>Reporter: kangkaisen
>Assignee: kangkaisen
>Priority: Major
> Fix For: v2.3.0
>
> Attachments: KYLIN-3113.patch
>
>
> After Kylin 2.0,  the column in web contains table name and column name, so 
> the prefixal search is useless, which is a bad user experience. So we should 
> support fuzzy search when editing measure.



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


[jira] [Commented] (KYLIN-3130) If we add new cube then refresh the page,the page is blank

2018-01-25 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3130:
--

Hi, [~peng.jianhua]

You put '$promise.then' in cubeDescModel.js ,but if the api return is later 
than CubeDescModel.createNew(), the engine_type also is undifine.

> If we add new cube then refresh the page,the page is blank
> --
>
> Key: KYLIN-3130
> URL: https://issues.apache.org/jira/browse/KYLIN-3130
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.2.0, v2.3.0
>Reporter: peng.jianhua
>Assignee: peng.jianhua
>Priority: Minor
> Fix For: v2.3.0
>
> Attachments: 
> 0001-KYLIN-3130-If-we-add-new-cube-then-refresh-the-page-.patch, 
> 0001-KYLIN-3130-If-we-add-new-cube-then-refresh-the-page-.patch, 01.PNG, 
> 02.PNG, 03.PNG
>
>
> reproduce steps:
> 01:click 'New Cube' button.
> 02:refresh the page.



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


[jira] [Commented] (KYLIN-3131) After refresh the page,the cubes can't sort by 'create_time'

2018-01-24 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3131:
--

If we change the "create_time" to "create_time_utc" in the front-end code, 
cubes list will sort by 'create_time_utc'.

However frontend get 15 cubes a time, the cubes list only has 15 cubes. 

The frontend can't sort cubes that frontend doesn't get. So [~peng.jianhua] let 
all cubes sort by 'create_time_utc' in backend.

 

> After refresh the page,the cubes can't sort by 'create_time'
> 
>
> Key: KYLIN-3131
> URL: https://issues.apache.org/jira/browse/KYLIN-3131
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Reporter: peng.jianhua
>Assignee: peng.jianhua
>Priority: Minor
> Fix For: v2.3.0
>
> Attachments: 
> 0001-KYLIN-3131-After-refresh-the-page-the-cubes-can-t-so.patch, 01.PNG, 
> 02.PNG, 03.PNG, 04.PNG, 05.PNG
>
>
> When we open the page 'localhost:7070/kylin/models',the cubes was 
> disordered.Please refer to 01.png.
> Therefore,after we add or clone a new cube,then the page will be refreshed,we 
> may not find the cube that just add.
> And through debug the code,I find that the cubes were sorted by 'create_time' 
> default.But the cubes' attributes are not contain 'create_time'.
> So the cubes were disordered.Please refer to 02.png.
> Besides,in the back-end, cubes was sorted by created time from early to 
> late,so the cubes we get were not latest.
> At this time,I add 50 cubes,from c1 to c50,add in order,but the cubes we get 
> first were c1-c15,not c36-c50.



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


[jira] [Comment Edited] (KYLIN-2884) Add delete segment function for portal

2018-01-24 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen edited comment on KYLIN-2884 at 1/24/18 1:27 PM:
---

Hi, [~julianpan]

If there isn't 'metaModel.model.partition_desc.partition_date_column' in 
'deleteSegment.html'

It will show 'If you want to drop the cube, please click "Drop".'

However if model hasn't partition_date_column, the cube could full build. And 
the cube should support delete segment.


was (Author: zhixiong chen):
Hi, [~julianpan]

If there isn't metaModel.model.partition_desc.partition_date_column in 
deleteSegment.html

It will show 'If you want to drop the cube, please click "Drop".

However if model hasn't partition_date_column, the cube could full build. And 
the cube also support delete segment.

> Add delete segment function for portal
> --
>
> Key: KYLIN-2884
> URL: https://issues.apache.org/jira/browse/KYLIN-2884
> Project: Kylin
>  Issue Type: Improvement
>Reporter: Pan, Julian
>Assignee: Pan, Julian
>Priority: Major
> Attachments: KYLIN-2884.patch
>
>
> Kylin restful already support delete segment function. Could we add a action 
> button for front-end to user?



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


[jira] [Commented] (KYLIN-2884) Add delete segment function for portal

2018-01-24 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-2884:
--

Hi, [~julianpan]

If there isn't metaModel.model.partition_desc.partition_date_column in 
deleteSegment.html

It will show 'If you want to drop the cube, please click "Drop".

However if model hasn't partition_date_column, the cube could full build. And 
the cube also support delete segment.

> Add delete segment function for portal
> --
>
> Key: KYLIN-2884
> URL: https://issues.apache.org/jira/browse/KYLIN-2884
> Project: Kylin
>  Issue Type: Improvement
>Reporter: Pan, Julian
>Assignee: Pan, Julian
>Priority: Major
> Attachments: KYLIN-2884.patch
>
>
> Kylin restful already support delete segment function. Could we add a action 
> button for front-end to user?



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


[jira] [Comment Edited] (KYLIN-3116) Fix cardinality caculate checkbox issue when loading tables

2018-01-24 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen edited comment on KYLIN-3116 at 1/24/18 1:15 PM:
---

I find if user reload table.

It also will calculate column cardinality.

Should we add a message box to let the user make a choice to calculate or not?

[~yimingliu]


was (Author: zhixiong chen):
I find if user reload table.

It also will calculate column cardinality.

Should we add a message box to let the user make a choice to calculate or not?

> Fix cardinality caculate checkbox issue when loading tables
> ---
>
> Key: KYLIN-3116
> URL: https://issues.apache.org/jira/browse/KYLIN-3116
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.2.0
> Environment: Centos 7, ambari, HDP 2.6
>Reporter: vu thanh dat
>Assignee: Zhixiong Chen
>Priority: Major
>  Labels: build
> Attachments: mapreduce.bmp, 屏幕快照 2017-12-19 上午10.31.06.png
>
>
> Hi all,
> im using Kylin to speed up query HDFS.
> Which 2.5 billions records per day. When i'm using Kylin and load hive table, 
> it make a mapreduce on my server, 2969 map and 1 reduce with only 1 table. My 
> datasource about 10 tables. And it so slow. I attached an image.
> So, can i speed up process "Load hive table" to create model and cubes so 
> quickly?
> Exam use spark (because mapreduce so slow)?
> Best regards, Thanks all



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


[jira] [Commented] (KYLIN-3116) Fix cardinality caculate checkbox issue when loading tables

2018-01-24 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3116:
--

I find if user reload table.

It also will calculate column cardinality.

Should we add a message box to let the user make a choice to calculate or not?

> Fix cardinality caculate checkbox issue when loading tables
> ---
>
> Key: KYLIN-3116
> URL: https://issues.apache.org/jira/browse/KYLIN-3116
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.2.0
> Environment: Centos 7, ambari, HDP 2.6
>Reporter: vu thanh dat
>Assignee: Zhixiong Chen
>Priority: Major
>  Labels: build
> Attachments: mapreduce.bmp, 屏幕快照 2017-12-19 上午10.31.06.png
>
>
> Hi all,
> im using Kylin to speed up query HDFS.
> Which 2.5 billions records per day. When i'm using Kylin and load hive table, 
> it make a mapreduce on my server, 2969 map and 1 reduce with only 1 table. My 
> datasource about 10 tables. And it so slow. I attached an image.
> So, can i speed up process "Load hive table" to create model and cubes so 
> quickly?
> Exam use spark (because mapreduce so slow)?
> Best regards, Thanks all



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


[jira] [Commented] (KYLIN-3113) Editing Measure supports fuzzy search in web

2018-01-24 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3113:
--

Thanks! 

I will check it.

> Editing Measure supports fuzzy search in web
> 
>
> Key: KYLIN-3113
> URL: https://issues.apache.org/jira/browse/KYLIN-3113
> Project: Kylin
>  Issue Type: Improvement
>  Components: Web 
>Affects Versions: v2.2.0
>Reporter: kangkaisen
>Assignee: kangkaisen
>Priority: Major
> Attachments: KYLIN-3113.patch
>
>
> After Kylin 2.0,  the column in web contains table name and column name, so 
> the prefixal search is useless, which is a bad user experience. So we should 
> support fuzzy search when editing measure.



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


[jira] [Commented] (KYLIN-3130) If we add new cube then refresh the page,the page is blank

2018-01-23 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3130:
--

Hi [~peng.jianhua]

You add '$scope.cubeMetaFrame.engine_type = kylinConfig.getCubeEng(); ' and 
'$scope.cubeMetaFrame.storage_type = kylinConfig.getStorageEng();' after  
'$scope.cubeMetaFrame = CubeDescModel.createNew();'  in cubeEdit.js 

However you delete ' "engine_type": 
kylinConfig.getCubeEng(),"storage_type":kylinConfig.getStorageEng(),' in 
cubeDescModel.js.

Could you remove 'kylinConfig.getCubeEng()' and 'getStorageEng()' in 
cubeEdit.js  and save 'kylinConfig.getCubeEng()' and 
'kylinConfig.getStorageEng()' in cubeDescModel.js.

 Because createNew function should description what properties in cube  as 
default.

> If we add new cube then refresh the page,the page is blank
> --
>
> Key: KYLIN-3130
> URL: https://issues.apache.org/jira/browse/KYLIN-3130
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.2.0, v2.3.0
>Reporter: peng.jianhua
>Assignee: peng.jianhua
>Priority: Minor
> Attachments: 
> 0001-KYLIN-3130-If-we-add-new-cube-then-refresh-the-page-.patch, 01.PNG, 
> 02.PNG, 03.PNG
>
>
> reproduce steps:
> 01:click 'New Cube' button.
> 02:refresh the page.



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


[jira] [Commented] (KYLIN-3182) Update Kylin help menu links

2018-01-23 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3182:
--

However  if user modify the configurations which is strange in kylin.property.

Then the Kylin is broken is reasonable.

Beacuse we don't support user modify configurations that isn't necessary.

> Update Kylin help menu links
> 
>
> Key: KYLIN-3182
> URL: https://issues.apache.org/jira/browse/KYLIN-3182
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.3.0
>Reporter: peng.jianhua
>Assignee: Zhixiong Chen
>Priority: Major
>  Labels: patch
> Fix For: v2.3.0
>
> Attachments: 0001-KYLIN-3182-Kylin-Help-is-not-available.patch, 
> 0001-KYLIN-3182-complete-web-help-configuration.patch, help_blank.png
>
>
> Kylin Help is not available, look like
>   !help_blank.png! 
> Then I analyse the web code, and find the problem.
> The default help informations have been configured in the 
> 'kylin-defaults.properties', as follow
> {code:java}
> kylin.web.help.length=4
> kylin.web.help.0=start|Getting Started|
> kylin.web.help.1=odbc|ODBC Driver|
> kylin.web.help.2=tableau|Tableau Guide|
> kylin.web.help.3=onboard|Cube Design Tutorial|
> {code}
> The all links haven't been configured, but the web page will judge whether 
> the link is empty, if the link is empty, the item under the 'Help' will not 
> be showed.
> So I modified the web code, if the link of help document is null, it will be 
> discarded, not transformed to header page.



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


[jira] [Resolved] (KYLIN-3178) Delete table acl failed will cause the wabpage awalys shows "Please wait..."

2018-01-23 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen resolved KYLIN-3178.
--
   Resolution: Fixed
Fix Version/s: v2.3.0

> Delete table acl failed will cause the wabpage awalys shows "Please wait..."
> 
>
> Key: KYLIN-3178
> URL: https://issues.apache.org/jira/browse/KYLIN-3178
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.3.0
>Reporter: peng.jianhua
>Assignee: peng.jianhua
>Priority: Minor
> Fix For: v2.3.0
>
> Attachments: 
> 0001-KYLIN-3178-Delete-table-acl-failed-will-cause-the-wa.patch
>
>




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


[jira] [Commented] (KYLIN-3178) Delete table acl failed will cause the wabpage awalys shows "Please wait..."

2018-01-23 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3178:
--

This patch is fine with me.

Thanks!

> Delete table acl failed will cause the wabpage awalys shows "Please wait..."
> 
>
> Key: KYLIN-3178
> URL: https://issues.apache.org/jira/browse/KYLIN-3178
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.3.0
>Reporter: peng.jianhua
>Assignee: peng.jianhua
>Priority: Minor
> Attachments: 
> 0001-KYLIN-3178-Delete-table-acl-failed-will-cause-the-wa.patch
>
>




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


[jira] [Resolved] (KYLIN-3183) fix the bug of the 'Remove' button in 'Query HIstory'

2018-01-23 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen resolved KYLIN-3183.
--
   Resolution: Fixed
Fix Version/s: v2.3.0

> fix the bug of the 'Remove' button in 'Query HIstory'
> -
>
> Key: KYLIN-3183
> URL: https://issues.apache.org/jira/browse/KYLIN-3183
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.3.0
>Reporter: peng.jianhua
>Assignee: peng.jianhua
>Priority: Major
> Fix For: v2.3.0
>
> Attachments: 
> 0001-KYLIN-3183-fix-the-bug-of-the-Remove-button-in-Query.patch
>
>
> KYLIN-3151,this issue brings a bug of the 'Remove' button in 'Query HIstory'.
> When click  'Remove' button,the query history won't remove on the page.



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


[jira] [Commented] (KYLIN-3183) fix the bug of the 'Remove' button in 'Query HIstory'

2018-01-23 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen commented on KYLIN-3183:
--

Thanks! 

This patch is fine with me.

I will merge it into Kylin master.

 

> fix the bug of the 'Remove' button in 'Query HIstory'
> -
>
> Key: KYLIN-3183
> URL: https://issues.apache.org/jira/browse/KYLIN-3183
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.3.0
>Reporter: peng.jianhua
>Assignee: peng.jianhua
>Priority: Major
> Attachments: 
> 0001-KYLIN-3183-fix-the-bug-of-the-Remove-button-in-Query.patch
>
>
> KYLIN-3151,this issue brings a bug of the 'Remove' button in 'Query HIstory'.
> When click  'Remove' button,the query history won't remove on the page.



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


[jira] [Resolved] (KYLIN-3181) The submit button status of refreshing cube is not suitable when the start time is equal or more than the end time.

2018-01-23 Thread Zhixiong Chen (JIRA)

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

Zhixiong Chen resolved KYLIN-3181.
--
   Resolution: Fixed
Fix Version/s: v2.3.0

> The submit button status of refreshing cube is not suitable when the start 
> time is equal or more than the end time.
> ---
>
> Key: KYLIN-3181
> URL: https://issues.apache.org/jira/browse/KYLIN-3181
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.3.0
>Reporter: peng.jianhua
>Assignee: peng.jianhua
>Priority: Major
>  Labels: patch
> Fix For: v2.3.0
>
> Attachments: 
> 0001-KYLIN-3181-The-submit-button-status-of-refreshing-cu.patch, 
> cube_fresh_init.png, cube_fresh_press_submit.png, cube_merge.png
>
>
> The submit button status of refreshing cube is not suitable when the start 
> time is equal or more than the end time.
> 1. Choose one disable cube, then click the 'Refresh' action, you can see the 
> 'Submit' button is available, refer to  !cube_fresh_init.png! 
> 2. When you click the 'Refresh' action, you can see the invalid warning 
> message, refer to  !cube_fresh_press_submit.png! 
> So I think the 'Submit' button will be disabled in this situation like the 
> 'Merge' action, refer to  !cube_merge.png! 



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


  1   2   3   4   >