dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Bug] [worker] Bug title could not initialize class com.c1ickhouse.client.data.C1ickHouseBitmap

Open xiongbl526 opened this issue 1 year ago • 4 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

What happened

In version 3.1.8, the worker encounters an error accessing Byconity with 'could not initialize class com.clickhouse.client.data.ClickHouseBitmap

What you expected to happen

works well

How to reproduce

SELECT bitmapBuild([1, 2, 3, 4, 5]) AS res;

Anything else

No response

Version

3.1.x

Are you willing to submit PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

xiongbl526 avatar Aug 26 '24 12:08 xiongbl526

Please tell me your clickhouse version and operation details.

3043442162 avatar Aug 26 '24 17:08 3043442162

Please tell me your clickhouse version and operation details.

byconity base on 21.8 version just SELECT bitmapBuild([1, 2, 3, 4, 5]) AS res;

xiongbl526 avatar Aug 27 '24 02:08 xiongbl526

I have repeated this problem, and I think it is the dependency conflict. I am currently investigating which part of the dependency has the problem, and I will inform you if there is more progress

3043442162 avatar Aug 28 '24 15:08 3043442162

Your effort is greatly appreciated. This problem has significantly stalled our progress on dolphinscheduler, which is a must-use tool for us. We're eagerly awaiting any further insights you might have.

---- Replied Message ---- | From | @.> | | Date | 08/28/2024 23:27 | | To | @.> | | Cc | @.>@.> | | Subject | Re: [apache/dolphinscheduler] [Bug] [worker] Bug title could not initialize class com.c1ickhouse.client.data.C1ickHouseBitmap (Issue #16513) |

I have repeated this problem, and I think it is the dependency conflict. I am currently investigating which part of the dependency has the problem, and I will inform you if there is more progress

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

xiongbl526 avatar Aug 29 '24 01:08 xiongbl526

I have found a possible solution,I will try to fix it this weekend,I will let you know if there is any progress

3043442162 avatar Aug 29 '24 15:08 3043442162

I have found a possible solution,I will try to fix it this weekend,I will let you know if there is any progress

I resolved the problem by upgrading the clickhouse-jdbc package to version 0.4.6 and disabling SerializationFeature.FAIL_ON_EMPTY_BEANS in the objectMapper within the JSONUtils class of the dolphinscheduler-common package.At present, running SQL queries on either ClickHouse or Byconity via DolphinScheduler is functioning normally.

I am uncertain whether these changes could potentially lead to other underlying problems.

xiongbl526 avatar Aug 30 '24 02:08 xiongbl526

I am not sure if it will cause issues such as memory leaks.

xiongbl526 avatar Aug 30 '24 07:08 xiongbl526