[jira] [Updated] (KYLIN-4191) NPE in StreamingTupleConverter when querying count on a dimension field

2019-12-05 Thread nichunen (Jira)


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

nichunen updated KYLIN-4191:

Fix Version/s: (was: v3.0.0)
   Future

> NPE in StreamingTupleConverter when querying count on a dimension field
> ---
>
> Key: KYLIN-4191
> URL: https://issues.apache.org/jira/browse/KYLIN-4191
> Project: Kylin
>  Issue Type: Bug
>  Components: Real-time Streaming
>Affects Versions: v3.0.0-alpha
>Reporter: Andras Istvan Nagy
>Assignee: Xiaoxiang Yu
>Priority: Major
> Fix For: Future
>
> Attachments: NPE.txt
>
>
> I am using the real-time olap feature with a lambda datasource definition. 
> When executing a query that has a count(dim_field) in the select clause, 
> where "dim_field" is one of the dimension fields, I get a NPE from 
> org.apache.kylin.stream.core.query.StreamingTupleConverter.
> (According to a colleague, a similar query used to work for some time in our 
> environment, and then stopped working, but I can't verify this statement. 
> Restarting the Kylin processes or disabling/enabling the cube does not "fix" 
> the issue.)
> The relevant part of stacktrace seems to be:
> {{Caused by: java.lang.NullPointerException at 
> org.apache.kylin.stream.core.query.StreamingTupleConverter.(StreamingTupleConverter.java:86)}}
> Please see attached full stacktrace.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (KYLIN-4191) NPE in StreamingTupleConverter when querying count on a dimension field

2019-11-04 Thread nichunen (Jira)


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

nichunen updated KYLIN-4191:

Fix Version/s: v3.0.0

> NPE in StreamingTupleConverter when querying count on a dimension field
> ---
>
> Key: KYLIN-4191
> URL: https://issues.apache.org/jira/browse/KYLIN-4191
> Project: Kylin
>  Issue Type: Bug
>  Components: Real-time Streaming
>Affects Versions: v3.0.0-alpha
>Reporter: Andras Istvan Nagy
>Assignee: Xiaoxiang Yu
>Priority: Major
> Fix For: v3.0.0
>
> Attachments: NPE.txt
>
>
> I am using the real-time olap feature with a lambda datasource definition. 
> When executing a query that has a count(dim_field) in the select clause, 
> where "dim_field" is one of the dimension fields, I get a NPE from 
> org.apache.kylin.stream.core.query.StreamingTupleConverter.
> (According to a colleague, a similar query used to work for some time in our 
> environment, and then stopped working, but I can't verify this statement. 
> Restarting the Kylin processes or disabling/enabling the cube does not "fix" 
> the issue.)
> The relevant part of stacktrace seems to be:
> {{Caused by: java.lang.NullPointerException at 
> org.apache.kylin.stream.core.query.StreamingTupleConverter.(StreamingTupleConverter.java:86)}}
> Please see attached full stacktrace.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (KYLIN-4191) NPE in StreamingTupleConverter when querying count on a dimension field

2019-10-11 Thread Andras Istvan Nagy (Jira)


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

Andras Istvan Nagy updated KYLIN-4191:
--
Description: 
I am using the real-time olap feature with a lambda datasource definition. When 
executing a query that has a count(dim_field) in the select clause, where 
"dim_field" is one of the dimension fields, I get a NPE from 
org.apache.kylin.stream.core.query.StreamingTupleConverter.

(According to a colleague, a similar query used to work for some time in our 
environment, and then stopped working, but I can't verify this statement. 
Restarting the Kylin processes or disabling/enabling the cube does not "fix" 
the issue.)

The relevant part of stacktrace seems to be:

{{Caused by: java.lang.NullPointerException at 
org.apache.kylin.stream.core.query.StreamingTupleConverter.(StreamingTupleConverter.java:86)}}

Please see attached full stacktrace.

 

  was:
I am using the real-time olap feature with a lambda datasource definition. When 
executing a query that has a count(dim_field) in the select clause, where 
"dim_field" is one of the dimension fields, I get a NPE from 
org.apache.kylin.stream.core.query.StreamingTupleConverter.

(According to a colleague, a similar query used to work for some time in our 
environment, and then stopped working, but I can't verify this statement. 
Restarting the Kylin processes or disabling/enabling the cube does not "fix" 
the issue.)

The relevant part of stacktrace seems to be:

{{Caused by: java.lang.NullPointerExceptionCaused by: 
java.lang.NullPointerException at 
org.apache.kylin.stream.core.query.StreamingTupleConverter.(StreamingTupleConverter.java:86)
 ~[kylin-stream-core-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
org.apache.kylin.storage.stream.rpc.HttpStreamDataSearchClient.search(HttpStreamDataSearchClient.java:104)
 ~[kylin-storage-stream-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
org.apache.kylin.storage.stream.StreamStorageQuery.search(StreamStorageQuery.java:114)
 ~[kylin-storage-stream-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
org.apache.kylin.query.enumerator.OLAPEnumerator.queryStorage(OLAPEnumerator.java:114)
 ~[kylin-query-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
org.apache.kylin.query.enumerator.OLAPEnumerator.moveNext(OLAPEnumerator.java:60)
 ~[kylin-query-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at Baz$1$1.moveNext(Unknown 
Source) ~[?:?] at 
org.apache.calcite.linq4j.EnumerableDefaults.aggregate(EnumerableDefaults.java:116)
 ~[calcite-linq4j-1.16.0-kylin-r2.jar:3.0.0-SNAPSHOT]}}

Please see attached full stacktrace.

 


> NPE in StreamingTupleConverter when querying count on a dimension field
> ---
>
> Key: KYLIN-4191
> URL: https://issues.apache.org/jira/browse/KYLIN-4191
> Project: Kylin
>  Issue Type: Bug
>  Components: Real-time Streaming
>Affects Versions: v3.0.0-alpha
>Reporter: Andras Istvan Nagy
>Priority: Major
> Attachments: NPE.txt
>
>
> I am using the real-time olap feature with a lambda datasource definition. 
> When executing a query that has a count(dim_field) in the select clause, 
> where "dim_field" is one of the dimension fields, I get a NPE from 
> org.apache.kylin.stream.core.query.StreamingTupleConverter.
> (According to a colleague, a similar query used to work for some time in our 
> environment, and then stopped working, but I can't verify this statement. 
> Restarting the Kylin processes or disabling/enabling the cube does not "fix" 
> the issue.)
> The relevant part of stacktrace seems to be:
> {{Caused by: java.lang.NullPointerException at 
> org.apache.kylin.stream.core.query.StreamingTupleConverter.(StreamingTupleConverter.java:86)}}
> Please see attached full stacktrace.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (KYLIN-4191) NPE in StreamingTupleConverter when querying count on a dimension field

2019-10-11 Thread Andras Istvan Nagy (Jira)


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

Andras Istvan Nagy updated KYLIN-4191:
--
Description: 
I am using the real-time olap feature with a lambda datasource definition. When 
executing a query that has a count(dim_field) in the select clause, where 
"dim_field" is one of the dimension fields, I get a NPE from 
org.apache.kylin.stream.core.query.StreamingTupleConverter.

(According to a colleague, a similar query used to work for some time in our 
environment, and then stopped working, but I can't verify this statement. 
Restarting the Kylin processes or disabling/enabling the cube does not "fix" 
the issue.)

The relevant part of stacktrace seems to be:

{{Caused by: java.lang.NullPointerExceptionCaused by: 
java.lang.NullPointerException at 
org.apache.kylin.stream.core.query.StreamingTupleConverter.(StreamingTupleConverter.java:86)
 ~[kylin-stream-core-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
org.apache.kylin.storage.stream.rpc.HttpStreamDataSearchClient.search(HttpStreamDataSearchClient.java:104)
 ~[kylin-storage-stream-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
org.apache.kylin.storage.stream.StreamStorageQuery.search(StreamStorageQuery.java:114)
 ~[kylin-storage-stream-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
org.apache.kylin.query.enumerator.OLAPEnumerator.queryStorage(OLAPEnumerator.java:114)
 ~[kylin-query-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
org.apache.kylin.query.enumerator.OLAPEnumerator.moveNext(OLAPEnumerator.java:60)
 ~[kylin-query-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at Baz$1$1.moveNext(Unknown 
Source) ~[?:?] at 
org.apache.calcite.linq4j.EnumerableDefaults.aggregate(EnumerableDefaults.java:116)
 ~[calcite-linq4j-1.16.0-kylin-r2.jar:3.0.0-SNAPSHOT]}}

Please see attached full stacktrace.

 

  was:
I am using the real-time olap feature with a lambda datasource definition. When 
executing a query that has a count(dim_field) in the select clause, where 
"dim_field" is one of the dimension fields, I get a NPE from 
org.apache.kylin.stream.core.query.StreamingTupleConverter.

(According to a colleague, a similar query used to work for some time in our 
environment, and then stopped working, but I can't verify this statement. 
Restarting the Kylin processes or disabling/enabling the cube does not "fix" 
the issue.)

Please see stacktrace below.

 

 


> NPE in StreamingTupleConverter when querying count on a dimension field
> ---
>
> Key: KYLIN-4191
> URL: https://issues.apache.org/jira/browse/KYLIN-4191
> Project: Kylin
>  Issue Type: Bug
>  Components: Real-time Streaming
>Affects Versions: v3.0.0-alpha
>Reporter: Andras Istvan Nagy
>Priority: Major
> Attachments: NPE.txt
>
>
> I am using the real-time olap feature with a lambda datasource definition. 
> When executing a query that has a count(dim_field) in the select clause, 
> where "dim_field" is one of the dimension fields, I get a NPE from 
> org.apache.kylin.stream.core.query.StreamingTupleConverter.
> (According to a colleague, a similar query used to work for some time in our 
> environment, and then stopped working, but I can't verify this statement. 
> Restarting the Kylin processes or disabling/enabling the cube does not "fix" 
> the issue.)
> The relevant part of stacktrace seems to be:
> {{Caused by: java.lang.NullPointerExceptionCaused by: 
> java.lang.NullPointerException at 
> org.apache.kylin.stream.core.query.StreamingTupleConverter.(StreamingTupleConverter.java:86)
>  ~[kylin-stream-core-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
> org.apache.kylin.storage.stream.rpc.HttpStreamDataSearchClient.search(HttpStreamDataSearchClient.java:104)
>  ~[kylin-storage-stream-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
> org.apache.kylin.storage.stream.StreamStorageQuery.search(StreamStorageQuery.java:114)
>  ~[kylin-storage-stream-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
> org.apache.kylin.query.enumerator.OLAPEnumerator.queryStorage(OLAPEnumerator.java:114)
>  ~[kylin-query-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
> org.apache.kylin.query.enumerator.OLAPEnumerator.moveNext(OLAPEnumerator.java:60)
>  ~[kylin-query-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at Baz$1$1.moveNext(Unknown 
> Source) ~[?:?] at 
> org.apache.calcite.linq4j.EnumerableDefaults.aggregate(EnumerableDefaults.java:116)
>  ~[calcite-linq4j-1.16.0-kylin-r2.jar:3.0.0-SNAPSHOT]}}
> Please see attached full stacktrace.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (KYLIN-4191) NPE in StreamingTupleConverter when querying count on a dimension field

2019-10-11 Thread Andras Istvan Nagy (Jira)


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

Andras Istvan Nagy updated KYLIN-4191:
--
Attachment: NPE.txt

> NPE in StreamingTupleConverter when querying count on a dimension field
> ---
>
> Key: KYLIN-4191
> URL: https://issues.apache.org/jira/browse/KYLIN-4191
> Project: Kylin
>  Issue Type: Bug
>  Components: Real-time Streaming
>Affects Versions: v3.0.0-alpha
>Reporter: Andras Istvan Nagy
>Priority: Major
> Attachments: NPE.txt
>
>
> I am using the real-time olap feature with a lambda datasource definition. 
> When executing a query that has a count(dim_field) in the select clause, 
> where "dim_field" is one of the dimension fields, I get a NPE from 
> org.apache.kylin.stream.core.query.StreamingTupleConverter.
> (According to a colleague, a similar query used to work for some time in our 
> environment, and then stopped working, but I can't verify this statement. 
> Restarting the Kylin processes or disabling/enabling the cube does not "fix" 
> the issue.)
> Please see stacktrace below.
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (KYLIN-4191) NPE in StreamingTupleConverter when querying count on a dimension field

2019-10-11 Thread Andras Istvan Nagy (Jira)


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

Andras Istvan Nagy updated KYLIN-4191:
--
Description: 
I am using the real-time olap feature with a lambda datasource definition. When 
executing a query that has a count(dim_field) in the select clause, where 
"dim_field" is one of the dimension fields, I get a NPE from 
org.apache.kylin.stream.core.query.StreamingTupleConverter.

(According to a colleague, a similar query used to work for some time in our 
environment, and then stopped working, but I can't verify this statement. 
Restarting the Kylin processes or disabling/enabling the cube does not "fix" 
the issue.)

Please see stacktrace below.

 

 

  was:
I am using the real-time olap feature with a lambda datasource definition. When 
executing a query that has a count(dim_field) in the select clause, where 
"dim_field" is one of the dimension fields, I get a NPE from 
org.apache.kylin.stream.core.query.StreamingTupleConverter.

(According to a colleague, a similar query used to work for some time in our 
environment, and then stopped working, but I can't verify this statement. 
Restarting the Kylin processes or disabling/enabling the cube does not "fix" 
the issue.)

Please see stacktrace below.
{noformat}
08:02:19.151 [pool-15-thread-304] ERROR 
org.apache.kylin.storage.hbase.cube.v2.CubeHBaseEndpointRPC - Error when 
visiting cubes by endpoint08:02:19.151 [pool-15-thread-304] ERROR 
org.apache.kylin.storage.hbase.cube.v2.CubeHBaseEndpointRPC - Error when 
visiting cubes by endpointjava.sql.SQLException: Error while executing SQL 
"select * from (SELECT count(intersection_id) FROM 
OBJECT_MOVEMENT_EVENTS_OLAP_VIEW) limit 5": null at 
org.apache.calcite.avatica.Helper.createException(Helper.java:56) 
~[avatica-1.12.0.jar:3.0.0-SNAPSHOT] at 
org.apache.calcite.avatica.Helper.createException(Helper.java:41) 
~[avatica-1.12.0.jar:3.0.0-SNAPSHOT] at 
org.apache.calcite.avatica.AvaticaStatement.executeInternal(AvaticaStatement.java:163)
 ~[avatica-1.12.0.jar:3.0.0-SNAPSHOT] at 
org.apache.calcite.avatica.AvaticaStatement.executeQuery(AvaticaStatement.java:227)
 ~[avatica-1.12.0.jar:3.0.0-SNAPSHOT] at 
org.apache.kylin.rest.service.QueryService.executeRequest(QueryService.java:969)
 ~[kylin-server-base-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
org.apache.kylin.rest.service.QueryService.queryWithSqlMassage(QueryService.java:672)
 ~[kylin-server-base-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
org.apache.kylin.rest.service.QueryService.query(QueryService.java:218) 
~[kylin-server-base-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
org.apache.kylin.rest.service.QueryService.queryAndUpdateCache(QueryService.java:479)
 ~[kylin-server-base-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
org.apache.kylin.rest.service.QueryService.doQueryWithCache(QueryService.java:439)
 ~[kylin-server-base-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
org.apache.kylin.rest.service.QueryService.doQueryWithCache(QueryService.java:377)
 ~[kylin-server-base-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
org.apache.kylin.rest.controller.QueryController.query(QueryController.java:93) 
~[kylin-server-base-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
sun.reflect.GeneratedMethodAccessor127.invoke(Unknown Source) ~[?:?] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 ~[?:1.8.0_222] at java.lang.reflect.Method.invoke(Method.java:498) 
~[?:1.8.0_222] at 
org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
 ~[kylin-job-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
 ~[kylin-job-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
 ~[kylin-job-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
 ~[kylin-job-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
 ~[kylin-job-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
 ~[kylin-job-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
 ~[kylin-job-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
 ~[kylin-job-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
 ~[kylin-job-3.0.0-SNAPSHOT.jar:3.0.0-SNAPSHOT] at 
org.spri