You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "Wang Cheng (JIRA)" <ji...@apache.org> on 2017/01/04 03:46:58 UTC
[jira] [Created] (KYLIN-2350) When broker is not set, kylin doesn't
give any hint but throw NPE
Wang Cheng created KYLIN-2350:
---------------------------------
Summary: When broker is not set, kylin doesn't give any hint but throw NPE
Key: KYLIN-2350
URL: https://issues.apache.org/jira/browse/KYLIN-2350
Project: Kylin
Issue Type: Improvement
Reporter: Wang Cheng
If broker is not set in Kafka streaming table, there is no any helpful hint. Instead it throws a NPE:
controller.CubeController:298 :
java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:514)
at org.apache.kylin.source.kafka.util.KafkaClient.constructDefaultKafkaConsumerProperties(KafkaClient.java:74)
at org.apache.kylin.source.kafka.util.KafkaClient.getKafkaConsumer(KafkaClient.java:42)
at org.apache.kylin.source.kafka.util.KafkaClient.getEarliestOffsets(KafkaClient.java:145)
at org.apache.kylin.source.kafka.KafkaSource.parsePartitionBeforeBuild(KafkaSource.java:88)
at org.apache.kylin.rest.service.JobService.submitJob(JobService.java:216)
at org.apache.kylin.rest.service.JobService$$FastClassBySpringCGLIB$$83a44b2a.invoke(<generated>)
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:700)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
Is it possible to prevent this on GUI?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)