snleee edited a comment on pull request #6049:
URL: https://github.com/apache/incubator-pinot/pull/6049#issuecomment-696977822
When making a mistake on the column name for partition config, the
consumption would stop because it fails to generate the segment. Instead, we
should catch this during the validation and prevent the table from being
created.
```
2020/09/22 07:15:46.135 ERROR
[LLRealtimeSegmentDataManager_XXX__1__0__20200921T1905Z]
[XXXXXX__1__0__20200921T1905Z] [pinot-server] [] Coul
d not build segment
java.lang.NullPointerException: null
at
org.apache.pinot.core.realtime.converter.RealtimeSegmentConverter.build(RealtimeSegmentConverter.java:132)
~[pinot-core-0.5.0-dev-18617.jar:0.5.0-dev-18617-a31c06a9f773
14234190cdd77d4657bc373d4e89]
at
org.apache.pinot.core.data.manager.realtime.LLRealtimeSegmentDataManager.buildSegmentInternal(LLRealtimeSegmentDataManager.java:742)
[pinot-core-0.5.0-dev-18617.jar:0.5
.0-dev-18617-a31c06a9f77314234190cdd77d4657bc373d4e89]
at
org.apache.pinot.core.data.manager.realtime.LLRealtimeSegmentDataManager.buildSegmentForCommit(LLRealtimeSegmentDataManager.java:693)
[pinot-core-0.5.0-dev-18617.jar:0.
5.0-dev-18617-a31c06a9f77314234190cdd77d4657bc373d4e89]
at
org.apache.pinot.core.data.manager.realtime.LLRealtimeSegmentDataManager$PartitionConsumer.run(LLRealtimeSegmentDataManager.java:604)
[pinot-core-0.5.0-dev-18617.jar:0.
5.0-dev-18617-a31c06a9f77314234190cdd77d4657bc373d4e89]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_172]
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]