You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@uniffle.apache.org by "jerqi (via GitHub)" <gi...@apache.org> on 2024/12/05 08:55:35 UTC

[I] [Improvement] We should use `buffer` method instead `heapBuffer` [incubator-uniffle]

jerqi opened a new issue, #2275:
URL: https://github.com/apache/incubator-uniffle/issues/2275

   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   
   
   ### Search before asking
   
   - [X] I have searched in the [issues](https://github.com/apache/incubator-uniffle/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### What would you like to be improved?
   
   ![image](https://github.com/user-attachments/assets/0c96f14a-bd14-4d98-be11-625f3f23d35e)
   
   
   ### How should we improve?
   
   We should use `buffer` method instead `heapBuffer`
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


Re: [I] [Improvement] We should use `buffer` method instead `heapBuffer` [incubator-uniffle]

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on issue #2275:
URL: https://github.com/apache/incubator-uniffle/issues/2275#issuecomment-2519662471

   cc @maobaolong 


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


Re: [I] [Improvement] We should use `buffer` method instead `heapBuffer` [incubator-uniffle]

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi commented on issue #2275:
URL: https://github.com/apache/incubator-uniffle/issues/2275#issuecomment-2591783338

   > It seems like that we decide to keep the current design here, right? If yes, we can close this issue now.
   
   OK, I closed it.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


Re: [I] [Improvement] We should use `buffer` method instead `heapBuffer` [incubator-uniffle]

Posted by "cchung100m (via GitHub)" <gi...@apache.org>.
cchung100m commented on issue #2275:
URL: https://github.com/apache/incubator-uniffle/issues/2275#issuecomment-2591765283

   It seems like that we decide to keep the current design here, right? If yes, we  can close this issue now.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


Re: [I] [Improvement] We should use `buffer` method instead `heapBuffer` [incubator-uniffle]

Posted by "jerqi (via GitHub)" <gi...@apache.org>.
jerqi closed issue #2275: [Improvement] We should use `buffer` method instead `heapBuffer`
URL: https://github.com/apache/incubator-uniffle/issues/2275


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


Re: [I] [Improvement] We should use `buffer` method instead `heapBuffer` [incubator-uniffle]

Posted by "rickyma (via GitHub)" <gi...@apache.org>.
rickyma commented on issue #2275:
URL: https://github.com/apache/incubator-uniffle/issues/2275#issuecomment-2523907384

   We can use DirectBuffer, but we need to release the bytebuf manually.
   The length of the header is not large, so it is acceptable to use HeapBuffer.


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org


Re: [I] [Improvement] We should use `buffer` method instead `heapBuffer` [incubator-uniffle]

Posted by "maobaolong (via GitHub)" <gi...@apache.org>.
maobaolong commented on issue #2275:
URL: https://github.com/apache/incubator-uniffle/issues/2275#issuecomment-2523300460

   I think it should be `ByteBuf header = ctx.alloc().directBuffer(headerLength);` 


-- 
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.

To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@uniffle.apache.org
For additional commands, e-mail: issues-help@uniffle.apache.org