apache / apache/pinot

Getting Jackson infinite recursion error after sometime when using complexTypeConfig( FiledsTounnest)

Open
#8,604 11 comments 0 reactions 1 assignee Claimed by @saurabhd336 View on GitHub
Dominant language
Java
Stars
6.1k
Forks
1.5k
Avg merge
2d 3h
Merged PRs (30d)
195

Description

Getting **Jackson infinite recursion error** after sometime and table segments went offline now that table is completely off and not ingesting any data. When I have created that table everything was fine data was going in this table, after 2,3 days saw that data is not coming to this particular table. During this period I have only add some indexes in table config apart from that nothing is changed.

Not sure what caused this issue , I created same table again with different name just to test that theory that at starting it is working fine and yes the with the same table config new table started working but again after 3,4 days it stopped working and from external view i can see all segments are off and getting same jackson infinite recursion error from logs.
Below is my table config, schema and sample data.

[sampledataTableSchema (3).txt](https://github.com/apache/pinot/files/8571897/sampledataTableSchema.3.txt)

Error:

`Sending request: http://pinot-controller-0.pinot-controller-headless.pinot.svc.cluster.local:9000/segmentStoppedConsuming?reason=java.lang.RuntimeException&streamPartitionMsgOffset=149706&instance=Server_pinot-server-1.pinot-server-headless.pinot.svc.cluster.local_8098&offset=-1&name=table1__5__117__20220418T1156Z to controller: pinot-controller-0.pinot-controller-headless.pinot.svc.cluster.local, version: Unknown
Exception while in work
java.lang.RuntimeException: shaded.com.fasterxml.jackson.databind.JsonMappingException: Infinite recursion (StackOverflowError) (through reference chain: org.apache.pinot.spi.data.readers.GenericRow["fieldToValueMap"]->java.util.Collections$UnmodifiableMap["$MULTIPLE_RECORDS_KEY$"]->java.util.ArrayList[0]`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.