kylin-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billy Liu (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (KYLIN-2350) When broker is not set, kylin doesn't give any hint but throw NPE
Date Thu, 25 Jan 2018 06:38:00 GMT

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

Billy Liu reopened KYLIN-2350:
------------------------------
      Assignee: Wang Cheng

> 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
>            Assignee: Wang Cheng
>             Fix For: v2.2.0
>
>
> 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
(v7.6.3#76005)

Mime
View raw message