You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by "vladislav-kuryata (via GitHub)" <gi...@apache.org> on 2025/06/25 17:00:49 UTC

[I] [Bug] kyuubi.operation.result.saveToFile and orc.compression leads to CPU overload on Kyuubi Server [kyuubi]

vladislav-kuryata opened a new issue, #7115:
URL: https://github.com/apache/kyuubi/issues/7115

   ### 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/kyuubi/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Describe the bug
   
   When kyuubi.operation.result.saveToFile is enabled, the data is written to HDFS in ZSTD ORC format. This causes a high CPU load on the Kyuubi Server during decompression, reducing performance by hundreds of times. Additionally, Kyuubi ignores the spark.sql.orc.compression.codec=none setting.
   
   ### Affects Version(s)
   
   1.9.2
   
   ### Kyuubi Server Log Output
   
   ```logtalk
   
   ```
   
   ### Kyuubi Engine Log Output
   
   ```logtalk
   
   ```
   
   ### Kyuubi Server Configurations
   
   ```yaml
   
   ```
   
   ### Kyuubi Engine Configurations
   
   ```yaml
   
   ```
   
   ### Additional context
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [x] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to fix.
   - [x] No. I cannot submit a PR at this time.


-- 
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: notifications-unsubscribe@kyuubi.apache.org.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


Re: [I] [Bug] kyuubi.operation.result.saveToFile and orc.compression leads to CPU overload on Kyuubi Server [kyuubi]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #7115:
URL: https://github.com/apache/kyuubi/issues/7115#issuecomment-3005505351

   Hello @vladislav-kuryata,
   Thanks for finding the time to report the issue!
   We really appreciate the community's efforts to improve Apache Kyuubi.


-- 
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: notifications-unsubscribe@kyuubi.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org


Re: [I] [Bug] kyuubi.operation.result.saveToFile and orc.compression leads to CPU overload on Kyuubi Server [kyuubi]

Posted by "pan3793 (via GitHub)" <gi...@apache.org>.
pan3793 commented on issue #7115:
URL: https://github.com/apache/kyuubi/issues/7115#issuecomment-3007060533

   decompression happens on driver, not kyuubi server, are you running spark in client mode? try configuring `spark.submit.deployMode=cluster` in either `kyuubi-defaults.conf` or `spark-defaults.conf`


-- 
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: notifications-unsubscribe@kyuubi.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org