[jira] [Updated] (KYLIN-2675) The hfileSizeMB should not relay on kylin.env

2017-06-16 Thread kangkaisen (JIRA)

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

kangkaisen updated KYLIN-2675:
--
Attachment: KYLIN-2675.patch

This is the patch

> The hfileSizeMB should not relay on kylin.env
> -
>
> Key: KYLIN-2675
> URL: https://issues.apache.org/jira/browse/KYLIN-2675
> Project: Kylin
>  Issue Type: Bug
>  Components: Storage - HBase
>Affects Versions: v2.0.0
>Reporter: kangkaisen
>Assignee: kangkaisen
> Attachments: KYLIN-2675.patch
>
>
> The kylin.env default value is DEV, if user don't set kylin.env.  which will 
> make  kylin.storage.hbase.hfile-size-gb useless.
> So the hfileSizeMB should not relay on kylin.env.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (KYLIN-2675) The hfileSizeMB should not relay on kylin.env

2017-06-16 Thread kangkaisen (JIRA)
kangkaisen created KYLIN-2675:
-

 Summary: The hfileSizeMB should not relay on kylin.env
 Key: KYLIN-2675
 URL: https://issues.apache.org/jira/browse/KYLIN-2675
 Project: Kylin
  Issue Type: Bug
  Components: Storage - HBase
Affects Versions: v2.0.0
Reporter: kangkaisen
Assignee: kangkaisen


The kylin.env default value is DEV, if user don't set kylin.env.  which will 
make  kylin.storage.hbase.hfile-size-gb useless.

So the hfileSizeMB should not relay on kylin.env.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (KYLIN-2674) Should not catch OutOfMemoryError in coprocessor

2017-06-16 Thread kangkaisen (JIRA)

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

kangkaisen updated KYLIN-2674:
--
Attachment: KYLIN-2674.patch

This is the patch.

> Should not catch OutOfMemoryError in coprocessor
> 
>
> Key: KYLIN-2674
> URL: https://issues.apache.org/jira/browse/KYLIN-2674
> Project: Kylin
>  Issue Type: Bug
>  Components: Storage - HBase
>Affects Versions: v2.0.0
>Reporter: kangkaisen
>Assignee: kangkaisen
> Attachments: KYLIN-2674.patch
>
>
> We almost don't have any reason to catch OutOfMemoryError.  Which will result 
> in terrible query case when HBase Regionserver OOM.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Created] (KYLIN-2674) Should not catch OutOfMemoryError in coprocessor

2017-06-16 Thread kangkaisen (JIRA)
kangkaisen created KYLIN-2674:
-

 Summary: Should not catch OutOfMemoryError in coprocessor
 Key: KYLIN-2674
 URL: https://issues.apache.org/jira/browse/KYLIN-2674
 Project: Kylin
  Issue Type: Bug
  Components: Storage - HBase
Affects Versions: v2.0.0
Reporter: kangkaisen
Assignee: kangkaisen


We almost don't have any reason to catch OutOfMemoryError.  Which will result 
in terrible query case when HBase Regionserver OOM.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Resolved] (KYLIN-2673) Should allow user to change fact table as long as the cube is disable

2017-06-16 Thread kangkaisen (JIRA)

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

kangkaisen resolved KYLIN-2673.
---
   Resolution: Fixed
Fix Version/s: v2.1.0

> Should allow user to change fact table as long as the cube is disable
> -
>
> Key: KYLIN-2673
> URL: https://issues.apache.org/jira/browse/KYLIN-2673
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.0.0
>Reporter: kangkaisen
>Assignee: kangkaisen
> Fix For: v2.1.0
>
>
> Currently, user couldn't change fact table  even though the cube is disable, 
> which isn't reasonable. We should allow user to change fact table as long as 
> the cube is disable.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (KYLIN-2673) Should allow user to change fact table as long as the cube is disable

2017-06-16 Thread kangkaisen (JIRA)

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

kangkaisen commented on KYLIN-2673:
---

This is the commit: 
https://github.com/apache/kylin/commit/15b7a030e6814cf7c4481f09fb92c654dd952b29

> Should allow user to change fact table as long as the cube is disable
> -
>
> Key: KYLIN-2673
> URL: https://issues.apache.org/jira/browse/KYLIN-2673
> Project: Kylin
>  Issue Type: Bug
>  Components: Web 
>Affects Versions: v2.0.0
>Reporter: kangkaisen
>Assignee: kangkaisen
>
> Currently, user couldn't change fact table  even though the cube is disable, 
> which isn't reasonable. We should allow user to change fact table as long as 
> the cube is disable.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (KYLIN-2235) PowerBI get exception "array dimensions exceed supported ranges"

2017-06-16 Thread wangxianbin (JIRA)

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

wangxianbin commented on KYLIN-2235:


hi! have the same issue when we use excel with Kylin ODBC Driver v1.6 x64, os 
is x64, any update?

> PowerBI get exception "array dimensions exceed supported ranges"
> 
>
> Key: KYLIN-2235
> URL: https://issues.apache.org/jira/browse/KYLIN-2235
> Project: Kylin
>  Issue Type: Bug
>  Components: Driver - ODBC
>Affects Versions: v1.6.0
>Reporter: Dong Li
>
> Run SQL:
> select KYLIN_CATEGORY_GROUPINGS.CATEG_LVL2_NAME from KYLIN_CATEGORY_GROUPINGS
> Then get exception:
> "array dimensions exceed supported ranges"



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Commented] (KYLIN-2672) Only clean necessary cache for CubeMigrationCLI

2017-06-16 Thread kangkaisen (JIRA)

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

kangkaisen commented on KYLIN-2672:
---

The core idea is adding a the special entity  for cube migration, add only 
clean necessary cache for project , cube and model.

> Only clean necessary cache for CubeMigrationCLI
> ---
>
> Key: KYLIN-2672
> URL: https://issues.apache.org/jira/browse/KYLIN-2672
> Project: Kylin
>  Issue Type: Improvement
>  Components: Tools, Build and Test
>Affects Versions: v2.0.0
>Reporter: kangkaisen
>Assignee: kangkaisen
> Attachments: KYLIN-2672.patch
>
>
> Currently, we simply clear ALL cache in  CubeMigrationCLI. which will make a 
> few of queries slower in prod env when we have many tables, models, cubes and 
> migrate cube often.
> So, we could only clean necessary cache for CubeMigrationCLI.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (KYLIN-2672) Only clean necessary cache for CubeMigrationCLI

2017-06-16 Thread kangkaisen (JIRA)

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

kangkaisen updated KYLIN-2672:
--
Attachment: KYLIN-2672.patch

This is the patch.

> Only clean necessary cache for CubeMigrationCLI
> ---
>
> Key: KYLIN-2672
> URL: https://issues.apache.org/jira/browse/KYLIN-2672
> Project: Kylin
>  Issue Type: Improvement
>  Components: Tools, Build and Test
>Affects Versions: v2.0.0
>Reporter: kangkaisen
>Assignee: kangkaisen
> Attachments: KYLIN-2672.patch
>
>
> Currently, we simply clear ALL cache in  CubeMigrationCLI. which will make a 
> few of queries slower in prod env when we have many tables, models, cubes and 
> migrate cube often.
> So, we could only clean necessary cache for CubeMigrationCLI.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)


[jira] [Updated] (KYLIN-2652) Make KylinConfig threadsafe in CubeVisitService

2017-06-16 Thread kangkaisen (JIRA)

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

kangkaisen updated KYLIN-2652:
--
Attachment: (was: KYLIN-2652.patch)

> Make KylinConfig threadsafe in CubeVisitService
> ---
>
> Key: KYLIN-2652
> URL: https://issues.apache.org/jira/browse/KYLIN-2652
> Project: Kylin
>  Issue Type: Bug
>  Components: Storage - HBase
>Affects Versions: v2.0.0
>Reporter: kangkaisen
>Assignee: kangkaisen
> Attachments: KYLIN-2652.patch
>
>
> Currently, the KylinConfig in CubeVisitService is not threadsafe. This bug 
> didn't expose until KYLIN-2195 updated the naming convention for kylin 
> properties.
> When user upgrade to Kylin 2.0, If user set 
> kylin.query.endpoint.compression.result=false and user only upgrade one 
> QueryServer to 2.0 firstly.  The config 
> kylin.query.endpoint.compression.result will change to 
> kylin.storage.hbase.endpoint-compress-result, So the CubeVisitService in 
> HBase will get {{kylinConfig.getCompressionResult()}} true and is not 
> consistent with the QueryServer config, which will make the query failed.
> The KylinConfig in CubeVisitService is not threadsafe, which will not only 
> make the one QueryServer updated query failed, but also all JobServer and all 
> QueryServer query failed.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)