[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] [Commented] (KYLIN-3269) 把project的权限授权给不存在用户时,出现错误。

2018-02-28 Thread RenZhiMin (JIRA)

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

RenZhiMin commented on KYLIN-3269:
--

好的

> 把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] [Updated] (KYLIN-3269) 把project的权限授权给不存在用户时,出现错误。

2018-02-28 Thread RenZhiMin (JIRA)

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

RenZhiMin updated KYLIN-3269:
-
Component/s: REST Service

> 把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] [Updated] (KYLIN-3269) 把project的权限授权给不存在用户时,出现错误。

2018-02-28 Thread RenZhiMin (JIRA)

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

RenZhiMin updated KYLIN-3269:
-
Flags: Patch

> 把project的权限授权给不存在用户时,出现错误。
> --
>
> Key: KYLIN-3269
> URL: https://issues.apache.org/jira/browse/KYLIN-3269
> Project: Kylin
>  Issue Type: Bug
>  Components: 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] [Updated] (KYLIN-3269) 把project的权限授权给不存在用户时,出现错误。

2018-02-28 Thread RenZhiMin (JIRA)

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

RenZhiMin updated KYLIN-3269:
-
Attachment: aclService.patch

> 把project的权限授权给不存在用户时,出现错误。
> --
>
> Key: KYLIN-3269
> URL: https://issues.apache.org/jira/browse/KYLIN-3269
> Project: Kylin
>  Issue Type: Bug
>  Components: 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] [Created] (KYLIN-3269) 把project的权限授权给不存在用户时,出现错误。

2018-02-28 Thread RenZhiMin (JIRA)
RenZhiMin created KYLIN-3269:


 Summary: 把project的权限授权给不存在用户时,出现错误。
 Key: KYLIN-3269
 URL: https://issues.apache.org/jira/browse/KYLIN-3269
 Project: Kylin
  Issue Type: Bug
  Components: Web 
Affects Versions: v2.0.0
Reporter: RenZhiMin


把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 ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on KYLIN-3265:
---

codecov-io commented on issue #109: KYLIN-3265 Add jobSearchMode as a filter 
condition for jobs UI part
URL: https://github.com/apache/kylin/pull/109#issuecomment-369454646
 
 
   # [Codecov](https://codecov.io/gh/apache/kylin/pull/109?src=pr=h1) Report
   > Merging [#109](https://codecov.io/gh/apache/kylin/pull/109?src=pr=desc) 
into 
[master](https://codecov.io/gh/apache/kylin/commit/76934db8fcddabf437f490e77c8f06c9a4a3db86?src=pr=desc)
 will **decrease** coverage by `0.02%`.
   > The diff coverage is `n/a`.
   
   [![Impacted file tree 
graph](https://codecov.io/gh/apache/kylin/pull/109/graphs/tree.svg?token=JawVgbgsVo=pr=650=150)](https://codecov.io/gh/apache/kylin/pull/109?src=pr=tree)
   
   ```diff
   @@ Coverage Diff  @@
   ## master #109  +/-   ##
   
   - Coverage 21.47%   21.45%   -0.03% 
   + Complexity 3822 3817   -5 
   
 Files   992  992  
 Lines 5974259742  
 Branches   8639 8639  
   
   - Hits  1283012815  -15 
   - Misses4573245747  +15 
 Partials   1180 1180
   ```
   
   
   | [Impacted 
Files](https://codecov.io/gh/apache/kylin/pull/109?src=pr=tree) | Coverage Δ 
| Complexity Δ | |
   |---|---|---|---|
   | 
[...e/kylin/common/KylinConfigCannotInitException.java](https://codecov.io/gh/apache/kylin/pull/109/diff?src=pr=tree#diff-Y29yZS1jb21tb24vc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2t5bGluL2NvbW1vbi9LeWxpbkNvbmZpZ0Nhbm5vdEluaXRFeGNlcHRpb24uamF2YQ==)
 | `0% <0%> (-100%)` | `0% <0%> (-1%)` | |
   | 
[...main/java/org/apache/kylin/common/KylinConfig.java](https://codecov.io/gh/apache/kylin/pull/109/diff?src=pr=tree#diff-Y29yZS1jb21tb24vc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2t5bGluL2NvbW1vbi9LeWxpbkNvbmZpZy5qYXZh)
 | `30.67% <0%> (-1.69%)` | `20% <0%> (-1%)` | |
   | 
[.../java/org/apache/kylin/common/KylinConfigBase.java](https://codecov.io/gh/apache/kylin/pull/109/diff?src=pr=tree#diff-Y29yZS1jb21tb24vc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2t5bGluL2NvbW1vbi9LeWxpbkNvbmZpZ0Jhc2UuamF2YQ==)
 | `14.98% <0%> (-1.24%)` | `35% <0%> (-2%)` | |
   | 
[...a/org/apache/kylin/dict/Number2BytesConverter.java](https://codecov.io/gh/apache/kylin/pull/109/diff?src=pr=tree#diff-Y29yZS1kaWN0aW9uYXJ5L3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9reWxpbi9kaWN0L051bWJlcjJCeXRlc0NvbnZlcnRlci5qYXZh)
 | `81.74% <0%> (-0.8%)` | `17% <0%> (-1%)` | |
   | 
[...rg/apache/kylin/cube/inmemcubing/MemDiskStore.java](https://codecov.io/gh/apache/kylin/pull/109/diff?src=pr=tree#diff-Y29yZS1jdWJlL3NyYy9tYWluL2phdmEvb3JnL2FwYWNoZS9reWxpbi9jdWJlL2lubWVtY3ViaW5nL01lbURpc2tTdG9yZS5qYXZh)
 | `69.6% <0%> (-0.61%)` | `7% <0%> (ø)` | |
   
   --
   
   [Continue to review full report at 
Codecov](https://codecov.io/gh/apache/kylin/pull/109?src=pr=continue).
   > **Legend** - [Click here to learn 
more](https://docs.codecov.io/docs/codecov-delta)
   > `Δ = absolute  (impact)`, `ø = not affected`, `? = missing data`
   > Powered by 
[Codecov](https://codecov.io/gh/apache/kylin/pull/109?src=pr=footer). Last 
update 
[76934db...31cc006](https://codecov.io/gh/apache/kylin/pull/109?src=pr=lastupdated).
 Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> 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 ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on KYLIN-3265:


Commit 4b0d7bd38b42c5e580fa580d0318834654081dc9 in kylin's branch 
refs/heads/2.3.x from liapan
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=4b0d7bd ]

KYLIN-3265 Add jobSearchMode as a filter condition for jobs UI part

Signed-off-by: chenzhx 


> 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 ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on KYLIN-3265:


Commit 6afe7130a06c0264c9578c6f70e315819490cacb in kylin's branch 
refs/heads/master from [~chenliang613]
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=6afe713 ]

Merge pull request #109 from chenzhx/master

KYLIN-3265 Add jobSearchMode as a filter condition for jobs UI part

> 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 ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on KYLIN-3265:


Commit 31cc006284c1a496a8284db0b4eee7cf12a630e9 in kylin's branch 
refs/heads/master from liapan
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=31cc006 ]

KYLIN-3265 Add jobSearchMode as a filter condition for jobs UI part

Signed-off-by: chenzhx 


> 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 ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on KYLIN-3265:
---

chenzhx closed pull request #109: KYLIN-3265 Add jobSearchMode as a filter 
condition for jobs UI part
URL: https://github.com/apache/kylin/pull/109
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/webapp/app/js/controllers/job.js b/webapp/app/js/controllers/job.js
index 51de7874e0..130f14dffc 100644
--- a/webapp/app/js/controllers/job.js
+++ b/webapp/app/js/controllers/job.js
@@ -28,6 +28,7 @@ KylinApp
 //$scope.projects = [];
 $scope.action = {};
 $scope.timeFilter = 
jobConfig.timeFilter[JobList.jobFilter.timeFilterId];
+$scope.searchMode = 
jobConfig.searchMode[JobList.jobFilter.searchModeId];
 if ($routeParams.jobTimeFilter) {
 $scope.timeFilter = 
jobConfig.timeFilter[$routeParams.jobTimeFilter];
 }
@@ -82,6 +83,7 @@ KylinApp
 $scope.cubeName=$scope.cubeName == ""?null:$scope.cubeName;
 JobList.jobFilter.cubeName = $scope.cubeName;
 JobList.jobFilter.timeFilterId = $scope.timeFilter.value;
+JobList.jobFilter.searchModeId = _.indexOf(jobConfig.searchMode, 
$scope.searchMode);
 JobList.jobFilter.statusIds = statusIds;
 
 var jobRequest = {
@@ -90,7 +92,8 @@ KylinApp
 status: statusIds,
 offset: offset,
 limit: limit,
-timeFilter: $scope.timeFilter.value
+timeFilter: $scope.timeFilter.value,
+jobSearchMode: $scope.searchMode.value
 };
 $scope.state.loading = true;
 
diff --git a/webapp/app/js/model/jobConfig.js b/webapp/app/js/model/jobConfig.js
index 4548366579..19ae882c98 100644
--- a/webapp/app/js/model/jobConfig.js
+++ b/webapp/app/js/model/jobConfig.js
@@ -40,6 +40,11 @@ KylinApp.constant('jobConfig', {
 {attr: 'last_modified', name: 'Last Modified Time'},
 {attr: 'duration', name: 'Duration'}
   ],
+  searchMode: [
+{name: 'CUBING', value: 'CUBING_ONLY'},
+{name: 'CHECK POINT', value: 'CHECKPOINT_ONLY'},
+{name: 'ALL', value: 'ALL'}
+  ],
   queryitems: [
   {attr: 'server', name: 'Server'},
   {attr: 'user', name: 'User'},
diff --git a/webapp/app/js/model/jobListModel.js 
b/webapp/app/js/model/jobListModel.js
index 45948d63e3..197532c076 100755
--- a/webapp/app/js/model/jobListModel.js
+++ b/webapp/app/js/model/jobListModel.js
@@ -26,6 +26,7 @@ KylinApp.service('JobList',function(JobService,$q){
 this.jobFilter = {
 cubeName : null,
 timeFilterId : 1,
+searchModeId: 2,
 statusIds: []
 };
 
@@ -33,6 +34,7 @@ KylinApp.service('JobList',function(JobService,$q){
 this.jobFilter = {
   cubeName : null,
   timeFilterId : 1,
+  searchModeId: 2,
   statusIds: []
 };
 };
diff --git a/webapp/app/partials/jobs/jobList.html 
b/webapp/app/partials/jobs/jobList.html
index 1ff6ea4f2f..ae05590669 100644
--- a/webapp/app/partials/jobs/jobList.html
+++ b/webapp/app/partials/jobs/jobList.html
@@ -45,6 +45,9 @@
   
   
+  
+  
 
 
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 ASF GitHub Bot (JIRA)

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

ASF GitHub Bot commented on KYLIN-3265:
---

chenzhx opened a new pull request #109: KYLIN-3265 Add jobSearchMode as a 
filter condition for jobs UI part
URL: https://github.com/apache/kylin/pull/109
 
 
   Signed-off-by: chenzhx 


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> 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] [Commented] (KYLIN-3265) Add "jobSearchMode" as a condition to "/kylin/api/jobs" API

2018-02-28 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on KYLIN-3265:


Commit 76934db8fcddabf437f490e77c8f06c9a4a3db86 in kylin's branch 
refs/heads/master from shaofengshi
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=76934db ]

KYLIN-3265 Add jobSearchMode as a filter condition for jobs api

Signed-off-by: shaofengshi 


> 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-3263) AbstractExecutable's retry has problem

2018-02-28 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on KYLIN-3263:


Commit bfdd1846f198c6820cf292654d6d42ef5536761d in kylin's branch 
refs/heads/2.3.x from [~Aron.tao]
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=bfdd184 ]

KYLIN-3263, bugfix with AbstractExecutable's retry.


> AbstractExecutable's retry has problem
> --
>
> Key: KYLIN-3263
> URL: https://issues.apache.org/jira/browse/KYLIN-3263
> Project: Kylin
>  Issue Type: Bug
>Reporter: jiatao.tao
>Assignee: jiatao.tao
>Priority: Major
> Fix For: v2.3.0
>
>




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


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

2018-02-28 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on KYLIN-2884:


Commit f1f808ca2f30727d7b6e7b2c3ab6843b9941d380 in kylin's branch 
refs/heads/2.3.x from liapan
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=f1f808c ]

KYLIN-2884 Add delete segment function for portal - bug fix


> 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, 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-3268) Tomcat Security Vulnerability Alert. The version of the tomcat for kylin should upgrade to 7.0.85.

2018-02-28 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on KYLIN-3268:


Commit 65174698094bb2e6a7a12849dc9dd42c6cfe6e82 in kylin's branch 
refs/heads/2.3.x from [~peng.jianhua]
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=6517469 ]

KYLIN-3268 Tomcat Security Vulnerability Alert. The version of the tomcat for 
kylin should upgrade to 7.0.85.

Signed-off-by: Billy Liu 


> Tomcat Security Vulnerability Alert. The version of the tomcat for kylin 
> should upgrade to 7.0.85.
> --
>
> Key: KYLIN-3268
> URL: https://issues.apache.org/jira/browse/KYLIN-3268
> Project: Kylin
>  Issue Type: Bug
>  Components: Security
>Reporter: peng.jianhua
>Assignee: peng.jianhua
>Priority: Major
>  Labels: patch
> Fix For: v2.3.0
>
> Attachments: 
> 0001-KYLIN-3268-Tomcat-Security-Vulnerability-Alert.-The-.patch
>
>
> [SECURITY] CVE-2018-1305 Security constraint annotations applied too late
> CVE-2018-1305 Security constraint annotations applied too late
> Severity: High 
> Versions Affected: Apache Tomcat 9.0.0.M1 to 9.0.4 Apache Tomcat 8.5.0 to 
> 8.5.27 Apache Tomcat 8.0.0.RC1 to 8.0.49 Apache Tomcat 7.0.0 to 7.0.84
> Description: Security constraints defined by annotations of Servlets were 
> only applied once a Servlet had been loaded. Because security constraints 
> defined in this way apply to the URL pattern and any URLs below that point, 
> it was possible - depending on the order Servlets were loaded - for some 
> security constraints not to be applied. This could have exposed resources to 
> users who were not authorised to access them.
> Mitigation: Users of the affected versions should apply one of the following 
> mitigations. Upgrade to: - Apache Tomcat 9.0.5 or later - Apache Tomcat 
> 8.5.28 or later - Apache Tomcat 8.0.50 or later - Apache Tomcat 7.0.85 or 
> later
> References:https://lists.apache.org/thread.html/d3354bb0a4eda4acc0a66f3eb24a213fdb75d12c7d16060b23e65781@%3Cannounce.tomcat.apache.org%3E



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


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

2018-02-28 Thread Billy Liu (JIRA)

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

Billy Liu updated KYLIN-2884:
-
Fix Version/s: (was: v2.4.0)
   v2.3.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.3.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] [Updated] (KYLIN-3265) Add "jobSearchMode" as a condition to "/kylin/api/jobs" API

2018-02-28 Thread Shaofeng SHI (JIRA)

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

Shaofeng SHI updated KYLIN-3265:

Fix Version/s: v2.3.0

> 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 Shaofeng SHI (JIRA)

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

Shaofeng SHI commented on KYLIN-3265:
-

Thanks Julian; [~Zhixiong Chen], could you review and merge the front-end ? 
thanks!

> 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
> 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] [Updated] (KYLIN-3265) Add "jobSearchMode" as a condition to "/kylin/api/jobs" API

2018-02-28 Thread Shaofeng SHI (JIRA)

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

Shaofeng SHI updated KYLIN-3265:

Attachment: (was: KYLIN-3265.master.002.patch)

> 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
> 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] [Updated] (KYLIN-3264) kylin.job.retry=1 cause build error

2018-02-28 Thread Billy Liu (JIRA)

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

Billy Liu updated KYLIN-3264:
-
Fix Version/s: (was: v2.3.0)

> kylin.job.retry=1 cause build error
> ---
>
> Key: KYLIN-3264
> URL: https://issues.apache.org/jira/browse/KYLIN-3264
> Project: Kylin
>  Issue Type: Bug
>  Components: Job Engine
>Affects Versions: v2.3.0
>Reporter: readme_kylin
>Priority: Major
>
> when i set kylin.job.retry to 1,it cause build error at 6 step :Create HTable 
> .
> here is the error info.
> java.lang.RuntimeException: HBase table KYLIN230_CFJ854DYZ4 exists!
>  at 
> org.apache.kylin.storage.hbase.steps.CubeHTableUtil.createHTable(CubeHTableUtil.java:100)
>  at 
> org.apache.kylin.storage.hbase.steps.CreateHTableJob.run(CreateHTableJob.java:111)
>  at org.apache.kylin.engine.mr.MRUtil.runMRJob(MRUtil.java:97)
>  at 
> org.apache.kylin.engine.mr.common.HadoopShellExecutable.doWork(HadoopShellExecutable.java:63)
>  at 
> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:162)
>  at 
> org.apache.kylin.job.execution.DefaultChainedExecutable.doWork(DefaultChainedExecutable.java:67)
>  at 
> org.apache.kylin.job.execution.AbstractExecutable.execute(AbstractExecutable.java:162)
>  at 
> org.apache.kylin.job.impl.threadpool.DefaultScheduler$JobRunner.run(DefaultScheduler.java:300)
>  at 
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>  at java.lang.Thread.run(Thread.java:745)



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


[jira] [Commented] (KYLIN-3268) Tomcat Security Vulnerability Alert. The version of the tomcat for kylin should upgrade to 7.0.85.

2018-02-28 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on KYLIN-3268:


Commit 045b22df330ff5425bdc0538564a2fbd653733e5 in kylin's branch 
refs/heads/master from [~peng.jianhua]
[ https://gitbox.apache.org/repos/asf?p=kylin.git;h=045b22d ]

KYLIN-3268 Tomcat Security Vulnerability Alert. The version of the tomcat for 
kylin should upgrade to 7.0.85.

Signed-off-by: Billy Liu 


> Tomcat Security Vulnerability Alert. The version of the tomcat for kylin 
> should upgrade to 7.0.85.
> --
>
> Key: KYLIN-3268
> URL: https://issues.apache.org/jira/browse/KYLIN-3268
> Project: Kylin
>  Issue Type: Bug
>  Components: Security
>Reporter: peng.jianhua
>Assignee: peng.jianhua
>Priority: Major
>  Labels: patch
> Fix For: v2.3.0
>
> Attachments: 
> 0001-KYLIN-3268-Tomcat-Security-Vulnerability-Alert.-The-.patch
>
>
> [SECURITY] CVE-2018-1305 Security constraint annotations applied too late
> CVE-2018-1305 Security constraint annotations applied too late
> Severity: High 
> Versions Affected: Apache Tomcat 9.0.0.M1 to 9.0.4 Apache Tomcat 8.5.0 to 
> 8.5.27 Apache Tomcat 8.0.0.RC1 to 8.0.49 Apache Tomcat 7.0.0 to 7.0.84
> Description: Security constraints defined by annotations of Servlets were 
> only applied once a Servlet had been loaded. Because security constraints 
> defined in this way apply to the URL pattern and any URLs below that point, 
> it was possible - depending on the order Servlets were loaded - for some 
> security constraints not to be applied. This could have exposed resources to 
> users who were not authorised to access them.
> Mitigation: Users of the affected versions should apply one of the following 
> mitigations. Upgrade to: - Apache Tomcat 9.0.5 or later - Apache Tomcat 
> 8.5.28 or later - Apache Tomcat 8.0.50 or later - Apache Tomcat 7.0.85 or 
> later
> References:https://lists.apache.org/thread.html/d3354bb0a4eda4acc0a66f3eb24a213fdb75d12c7d16060b23e65781@%3Cannounce.tomcat.apache.org%3E



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


[jira] [Resolved] (KYLIN-3268) Tomcat Security Vulnerability Alert. The version of the tomcat for kylin should upgrade to 7.0.85.

2018-02-28 Thread Billy Liu (JIRA)

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

Billy Liu resolved KYLIN-3268.
--
   Resolution: Fixed
Fix Version/s: v2.3.0

> Tomcat Security Vulnerability Alert. The version of the tomcat for kylin 
> should upgrade to 7.0.85.
> --
>
> Key: KYLIN-3268
> URL: https://issues.apache.org/jira/browse/KYLIN-3268
> Project: Kylin
>  Issue Type: Bug
>  Components: Security
>Reporter: peng.jianhua
>Assignee: peng.jianhua
>Priority: Major
>  Labels: patch
> Fix For: v2.3.0
>
> Attachments: 
> 0001-KYLIN-3268-Tomcat-Security-Vulnerability-Alert.-The-.patch
>
>
> [SECURITY] CVE-2018-1305 Security constraint annotations applied too late
> CVE-2018-1305 Security constraint annotations applied too late
> Severity: High 
> Versions Affected: Apache Tomcat 9.0.0.M1 to 9.0.4 Apache Tomcat 8.5.0 to 
> 8.5.27 Apache Tomcat 8.0.0.RC1 to 8.0.49 Apache Tomcat 7.0.0 to 7.0.84
> Description: Security constraints defined by annotations of Servlets were 
> only applied once a Servlet had been loaded. Because security constraints 
> defined in this way apply to the URL pattern and any URLs below that point, 
> it was possible - depending on the order Servlets were loaded - for some 
> security constraints not to be applied. This could have exposed resources to 
> users who were not authorised to access them.
> Mitigation: Users of the affected versions should apply one of the following 
> mitigations. Upgrade to: - Apache Tomcat 9.0.5 or later - Apache Tomcat 
> 8.5.28 or later - Apache Tomcat 8.0.50 or later - Apache Tomcat 7.0.85 or 
> later
> References:https://lists.apache.org/thread.html/d3354bb0a4eda4acc0a66f3eb24a213fdb75d12c7d16060b23e65781@%3Cannounce.tomcat.apache.org%3E



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


[jira] [Updated] (KYLIN-3268) Tomcat Security Vulnerability Alert. The version of the tomcat for kylin should upgrade to 7.0.85.

2018-02-28 Thread peng.jianhua (JIRA)

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

peng.jianhua updated KYLIN-3268:

Attachment: 0001-KYLIN-3268-Tomcat-Security-Vulnerability-Alert.-The-.patch

> Tomcat Security Vulnerability Alert. The version of the tomcat for kylin 
> should upgrade to 7.0.85.
> --
>
> Key: KYLIN-3268
> URL: https://issues.apache.org/jira/browse/KYLIN-3268
> Project: Kylin
>  Issue Type: Bug
>  Components: Security
>Reporter: peng.jianhua
>Assignee: peng.jianhua
>Priority: Major
>  Labels: patch
> Attachments: 
> 0001-KYLIN-3268-Tomcat-Security-Vulnerability-Alert.-The-.patch
>
>
> [SECURITY] CVE-2018-1305 Security constraint annotations applied too late
> CVE-2018-1305 Security constraint annotations applied too late
> Severity: High 
> Versions Affected: Apache Tomcat 9.0.0.M1 to 9.0.4 Apache Tomcat 8.5.0 to 
> 8.5.27 Apache Tomcat 8.0.0.RC1 to 8.0.49 Apache Tomcat 7.0.0 to 7.0.84
> Description: Security constraints defined by annotations of Servlets were 
> only applied once a Servlet had been loaded. Because security constraints 
> defined in this way apply to the URL pattern and any URLs below that point, 
> it was possible - depending on the order Servlets were loaded - for some 
> security constraints not to be applied. This could have exposed resources to 
> users who were not authorised to access them.
> Mitigation: Users of the affected versions should apply one of the following 
> mitigations. Upgrade to: - Apache Tomcat 9.0.5 or later - Apache Tomcat 
> 8.5.28 or later - Apache Tomcat 8.0.50 or later - Apache Tomcat 7.0.85 or 
> later
> References:https://lists.apache.org/thread.html/d3354bb0a4eda4acc0a66f3eb24a213fdb75d12c7d16060b23e65781@%3Cannounce.tomcat.apache.org%3E



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