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

2016-11-14 Thread Roger Shi (JIRA)
Roger Shi created KYLIN-2191:


 Summary: Integer encoding error for width from 3 to 7
 Key: KYLIN-2191
 URL: https://issues.apache.org/jira/browse/KYLIN-2191
 Project: Kylin
  Issue Type: Bug
Reporter: Roger Shi
Assignee: Roger Shi


For integer encoding, if width is 3, 4, 5, 6 and 7. The decoded value is not 
right.



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


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

2016-11-14 Thread Qiang Zhang (JIRA)
Qiang Zhang created KYLIN-2190:
--

 Summary: The visitCube function of the CubeVisitService class 
occured error when we compiled the kylin project using hbase-server-1.2.x.jar.
 Key: KYLIN-2190
 URL: https://issues.apache.org/jira/browse/KYLIN-2190
 Project: Kylin
  Issue Type: Bug
  Components: Storage - HBase
Affects Versions: v1.5.4.1, v1.5.4, v1.5.3
 Environment: CentOS Linux release 7.2.1511、maven 3.2.5、jdk1.7.0_80
Reporter: Qiang Zhang
Assignee: liyang


The RegionCoprocessorEnvironment interface was different between 
hbase-server-1.2.x.jar and hbase-server-0.9.8.jar. The value type of the 
getRegion function for the RegionCoprocessorEnvironment interface is HRegion 
class in hbase-server-0.9.8.jar. And it's value type is Region class in 
hbase-server-1.2.x.jar. The visitCube function of the CubeVisitService class 
couldn't be compatible with hbase-server-1.2.x.jar and hbase-server-0.9.8.jar.
The reappear steps is as following:
1. Get source code using git from git://git.apache.org/kylin.git;
2. Run the mvn command to compile the kylin project;
3. Compile successfully;
4. Modify the value of the  to 1.2.0 in the pom.xml of 
the kylin project;
5. Run the mvn command to compile the kylin project;
3. Compile fail;



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


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

2016-11-14 Thread Qiang Zhang (JIRA)
Qiang Zhang created KYLIN-2189:
--

 Summary: The CubeVisitService class occured error when we compiled 
the kylin project using hbase-server-1.2.x.jar.
 Key: KYLIN-2189
 URL: https://issues.apache.org/jira/browse/KYLIN-2189
 Project: Kylin
  Issue Type: Bug
  Components: Storage - HBase
Affects Versions: v1.5.4.1, v1.5.4, v1.5.3
 Environment: CentOS Linux release 7.2.1511、maven 3.2.5、jdk1.7.0_80
Reporter: Qiang Zhang
Assignee: liyang


The HRegion class was different between hbase-server-1.2.x.jar and 
hbase-server-0.9.8.jar. The getStartKey function belonged to the HRegion class 
in hbase-server-0.9.8.jar. But it was moved to HRegionInfo class in 
hbase-server-1.2.x.jar. The CubeVisitService class couldn't be compatible with 
hbase-server-1.2.x.jar and hbase-server-0.9.8.jar.
The reappear steps is as following:
1. Get source code using git from git://git.apache.org/kylin.git;
2. Run the mvn command to compile the kylin project;
3. Compile successfully;
4. Modify the value of the  to 1.2.0 in the pom.xml of 
the kylin project;
5. Run the mvn command to compile the kylin project;
3. Compile fail;



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


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

2016-11-14 Thread Qiang Zhang (JIRA)
Qiang Zhang created KYLIN-2188:
--

 Summary: The AggregationRegionScanner class occured error when we 
compiled the kylin project using hbase-server-1.2.x.jar.
 Key: KYLIN-2188
 URL: https://issues.apache.org/jira/browse/KYLIN-2188
 Project: Kylin
  Issue Type: Bug
  Components: Storage - HBase
Affects Versions: v1.5.4.1, v1.5.4, v1.5.3
 Environment: CentOS Linux release 7.2.1511、maven 3.2.5、jdk1.7.0_80
Reporter: Qiang Zhang
Assignee: liyang


The RegionScanner and InternalScanner interface was different between 
hbase-server-1.2.x.jar and hbase-server-0.9.8.jar. The AggregationRegionScanner 
class inherited the RegionScanner interface. But it couldn't be compatible with 
hbase-server-1.2.x.jar and hbase-server-0.9.8.jar.
The reappear steps is as following:
1. Get source code using git from git://git.apache.org/kylin.git;
2. Run the mvn command to compile the kylin project;
3. Compile successfully;
4. Modify the value of the  to 1.2.0 in the pom.xml of 
the kylin project;
5. Run the mvn command to compile the kylin project;
3. Compile fail;



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


[jira] [Created] (KYLIN-2187) Enhance table_ext

2016-11-14 Thread Wang Cheng (JIRA)
Wang Cheng created KYLIN-2187:
-

 Summary: Enhance table_ext 
 Key: KYLIN-2187
 URL: https://issues.apache.org/jira/browse/KYLIN-2187
 Project: Kylin
  Issue Type: Improvement
Reporter: Wang Cheng
Assignee: Wang Cheng
Priority: Minor


metadata "table_ext" is not very elegant and difficult to manage. Here will 
enrich it.



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


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

2016-11-14 Thread Qiang Zhang (JIRA)

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

Qiang Zhang updated KYLIN-2185:
---
Description: 
The return value of the getRegion function in RegionCoprocessorEnvironment 
interface was different between hbase-server-1.2.x.jar and 
hbase-server-0.9.8.jar. The getRegion function was called and the return value 
didn't appropriately converted in the AggregateRegionObserver class. So the 
AggregateRegionObserver class occured error when we compiled the kylin project 
using hbase-server-1.2.x.jar.
The reappear steps is as following:
1. Get source code using git from git://git.apache.org/kylin.git;
2. Run the mvn command to compile the kylin project;
3. Compile successfully;
4. Modify the value of the  to 1.2.0 in the pom.xml of 
the kylin project;
5. Run the mvn command to compile the kylin project;
3. Compile fail;

  was:
The return value of the getRegion function in RegionCoprocessorEnvironment 
interface was different between hbase-client-1.2.x.jar and 
hbase-client-0.9.8.jar. The getRegion function was called and the return value 
didn't appropriately converted in the AggregateRegionObserver class. So the 
AggregateRegionObserver class occured error when we compiled the kylin project 
using hbase-client-1.2.x.jar.
The reappear steps is as following:
1. Get source code using git from git://git.apache.org/kylin.git;
2. Run the mvn command to compile the kylin project;
3. Compile successfully;
4. Modify the value of the  to 1.2.0 in the pom.xml of 
the kylin project;
5. Run the mvn command to compile the kylin project;
3. Compile fail;


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



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


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

2016-11-14 Thread Qiang Zhang (JIRA)
Qiang Zhang created KYLIN-2186:
--

 Summary: The AggregationScanner class occured error when we 
compiled the kylin project using hbase-client-1.2.x.jar.
 Key: KYLIN-2186
 URL: https://issues.apache.org/jira/browse/KYLIN-2186
 Project: Kylin
  Issue Type: Bug
  Components: Storage - HBase
Affects Versions: v1.5.4.1, v1.5.4, v1.5.2.1, v1.5.3
 Environment: CentOS Linux release 7.2.1511、maven 3.2.5、jdk1.7.0_80
Reporter: Qiang Zhang
Assignee: liyang


The RegionScanner and InternalScanner interface was different between 
hbase-client-1.2.x.jar and hbase-client-0.9.8.jar. The AggregationScanner class 
inherited the RegionScanner interface. But it couldn't be compatible with 
hbase-client-1.2.x.jar and hbase-client-0.9.8.jar.
The reappear steps is as following:
1. Get source code using git from git://git.apache.org/kylin.git;
2. Run the mvn command to compile the kylin project;
3. Compile successfully;
4. Modify the value of the  to 1.2.0 in the pom.xml of 
the kylin project;
5. Run the mvn command to compile the kylin project;
3. Compile fail;



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


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

2016-11-14 Thread Qiang Zhang (JIRA)

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

Qiang Zhang updated KYLIN-2185:
---
Summary: The AggregateRegionObserver class occured error when we compiled 
the kylin project using hbase-server-1.2.x.jar  (was: The 
AggregateRegionObserver class occured error when we compiled the kylin project 
using hbase-client-1.2.x.jar.ct using hbase-client-1.2.x.jar.)

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



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


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

2016-11-14 Thread Qiang Zhang (JIRA)
Qiang Zhang created KYLIN-2185:
--

 Summary: The AggregateRegionObserver class occured error when we 
compiled the kylin project using hbase-client-1.2.x.jar.ct using 
hbase-client-1.2.x.jar.
 Key: KYLIN-2185
 URL: https://issues.apache.org/jira/browse/KYLIN-2185
 Project: Kylin
  Issue Type: Bug
  Components: Storage - HBase
Affects Versions: v1.5.4.1, v1.5.2.1, v1.5.3
 Environment: CentOS Linux release 7.2.1511、maven 3.2.5、jdk1.7.0_80

Reporter: Qiang Zhang
Assignee: liyang


The return value of the getRegion function in RegionCoprocessorEnvironment 
interface was different between hbase-client-1.2.x.jar and 
hbase-client-0.9.8.jar. The getRegion function was called and the return value 
didn't appropriately converted in the AggregateRegionObserver class. So the 
AggregateRegionObserver class occured error when we compiled the kylin project 
using hbase-client-1.2.x.jar.
The reappear steps is as following:
1. Get source code using git from git://git.apache.org/kylin.git;
2. Run the mvn command to compile the kylin project;
3. Compile successfully;
4. Modify the value of the  to 1.2.0 in the pom.xml of 
the kylin project;
5. Run the mvn command to compile the kylin project;
3. Compile fail;



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


[jira] [Updated] (KYLIN-2172) Potential NPE in ExecutableManager#updateJobOutput

2016-11-14 Thread Ted Yu (JIRA)

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

Ted Yu updated KYLIN-2172:
--
Description: 
{code}
   if (newStatus != null && oldStatus != newStatus) {
...
} catch (PersistentException e) {
logger.error("error change job:" + jobId + " to " + 
newStatus.toString());
{code}

If newStatus is null and the execution got into catch block, 
newStatus.toString() would produce NPE.

  was:
{code}
   if (newStatus != null && oldStatus != newStatus) {
...
} catch (PersistentException e) {
logger.error("error change job:" + jobId + " to " + 
newStatus.toString());
{code}
If newStatus is null and the execution got into catch block, 
newStatus.toString() would produce NPE.


> Potential NPE in ExecutableManager#updateJobOutput
> --
>
> Key: KYLIN-2172
> URL: https://issues.apache.org/jira/browse/KYLIN-2172
> Project: Kylin
>  Issue Type: Bug
>Reporter: Ted Yu
>Priority: Minor
>
> {code}
>if (newStatus != null && oldStatus != newStatus) {
> ...
> } catch (PersistentException e) {
> logger.error("error change job:" + jobId + " to " + 
> newStatus.toString());
> {code}
> If newStatus is null and the execution got into catch block, 
> newStatus.toString() would produce NPE.



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


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

2016-11-14 Thread Qiang Zhang (JIRA)
Qiang Zhang created KYLIN-2183:
--

 Summary: The HTableInterface interface was different between 
hbase-client-1.2.x.jar and hbase-client-0.9.8.jar. The MockHTable class occured 
error when we compiled the kylin project using hbase-client-1.2.x.jar.
 Key: KYLIN-2183
 URL: https://issues.apache.org/jira/browse/KYLIN-2183
 Project: Kylin
  Issue Type: Bug
  Components: REST Service
Affects Versions: v1.5.4.1, v1.5.2.1, v1.5.3
 Environment: CentOS Linux release 7.2.1511、maven 3.2.5、jdk1.7.0_80

Reporter: Qiang Zhang
Assignee: Zhong,Jason


1. Get source code using git from git://git.apache.org/kylin.git;
2. Run the mvn command to compile the kylin project;
3. Compile successfully;
4. Modify the value of the  to 1.2.0 in the pom.xml of 
the kylin project;
5. Run the mvn command to compile the kylin project;
3. Compile fail;



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


[jira] [Commented] (KYLIN-2173) push down limit leads to wrong answer when filter is loosened

2016-11-14 Thread Dayue Gao (JIRA)

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

Dayue Gao commented on KYLIN-2173:
--

commit to master and v1.6.0-rc2. UT seems to be broken by previous commit, will 
add test case later

> push down limit leads to wrong answer when filter is loosened
> -
>
> Key: KYLIN-2173
> URL: https://issues.apache.org/jira/browse/KYLIN-2173
> Project: Kylin
>  Issue Type: Bug
>  Components: Storage - HBase
>Affects Versions: v1.5.4.1
>Reporter: Dayue Gao
>Assignee: Dayue Gao
>
> To reproduce:
> {noformat}
> select
>  test_kylin_fact.cal_dt
>  ,sum(test_kylin_fact.price) as GMV
>  FROM test_kylin_fact 
>  left JOIN edw.test_cal_dt as test_cal_dt 
>  ON test_kylin_fact.cal_dt = test_cal_dt.cal_dt 
>  where test_cal_dt.week_beg_dt in ('2012-01-01', '2012-01-20')
>  group by test_kylin_fact.cal_dt 
>  limit 12
> {noformat}
> Kylin returns 5 rows, expect 12 rows.
> Root cause: filter condition may be loosened when we translate derived filter 
> in DerivedFilterTranslator. If we push down limit, query server won't get 
> enough valid records from storage. In the above example, 24 rows returned 
> from storage, only 5 are valid.



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