incubator-uniffle icon indicating copy to clipboard operation
incubator-uniffle copied to clipboard

[Bug] msg: Zstd only supports the same type of bytebuffer decompression

Open zuston opened this issue 2 years ago • 7 comments

Code of Conduct

Search before asking

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

Describe the bug

image

Affects Version(s)

master

Uniffle Server Log Output

No response

Uniffle Engine Log Output

No response

Uniffle Server Configurations

No response

Uniffle Engine Configurations

No response

Additional context

No response

Are you willing to submit PR?

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

zuston avatar Dec 07 '23 10:12 zuston

Do you know the managedBuffer is not direct buffer when getting memory by netty? @leixm

zuston avatar Dec 08 '23 03:12 zuston

Do you know the managedBuffer is not direct buffer when getting memory by netty? @leixm

Does this happen when netty is turned on or off? RssShuffleDataIterator line164 will keep uncompressedData the same type as rawData. Why does the above exception still appear?

leixm avatar Dec 08 '23 03:12 leixm

Do you know the managedBuffer is not direct buffer when getting memory by netty? @leixm

Does this happen when netty is turned on or off? RssShuffleDataIterator line164 will keep uncompressedData the same type as rawData. Why does the above exception still appear?

Netty is on.

zuston avatar Dec 08 '23 03:12 zuston

Is this issue related to spark.rss.client.off.heap.memory.enable?

jerqi avatar Dec 08 '23 03:12 jerqi

I found sometimes the bytebuffer is not direct after coverting from netty direct bytebuf using bytebuf.nioBuffer()

zuston avatar Dec 08 '23 06:12 zuston

image

@leixm

zuston avatar Dec 08 '23 06:12 zuston

image

@leixm

@LuciferYang Do you know more about this point?

jerqi avatar Dec 18 '23 01:12 jerqi