You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by "lordk911 (via GitHub)" <gi...@apache.org> on 2023/02/25 13:07:46 UTC
[GitHub] [kyuubi] lordk911 opened a new issue, #4416: [Bug] table's home directory lost when a insert overwrite statment failed
lordk911 opened a new issue, #4416:
URL: https://github.com/apache/kyuubi/issues/4416
### 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 use KyuubiSparkSQLExtension and when a` insert overwrite` statment meet exception a no partion table's home directory will lost ,partion table will lost partion directory
### Affects Version(s)
1.6.1
### Kyuubi Server Log Output
_No response_
### Kyuubi Engine Log Output
_No response_
### Kyuubi Server Configurations
_No response_
### Kyuubi Engine Configurations
```yaml
spark.sql.extensions org.apache.kyuubi.plugin.spark.authz.ranger.RangerSparkExtension,org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions,org.apache.kyuubi.sql.KyuubiSparkSQLExtension
```
### Additional context
_No response_
### Are you willing to submit PR?
- [ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to fix.
- [ ] 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
[GitHub] [kyuubi] ulysses-you commented on issue #4416: [Bug] table's home directory lost when a insert overwrite statment failed
Posted by "ulysses-you (via GitHub)" <gi...@apache.org>.
ulysses-you commented on issue #4416:
URL: https://github.com/apache/kyuubi/issues/4416#issuecomment-1445829253
The description actually includes three extension. Can you figure out which extension cause the issue ?
--
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
[GitHub] [kyuubi] ulysses-you commented on issue #4416: [Bug] table's home directory lost when a insert overwrite statment failed
Posted by "ulysses-you (via GitHub)" <gi...@apache.org>.
ulysses-you commented on issue #4416:
URL: https://github.com/apache/kyuubi/issues/4416#issuecomment-1447820090
@lordk911 thank you for the updating, but I can not reproduce the issue
--
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
[GitHub] [kyuubi] ulysses-you commented on issue #4416: [Bug] table's home directory lost when a insert overwrite statment failed
Posted by "ulysses-you (via GitHub)" <gi...@apache.org>.
ulysses-you commented on issue #4416:
URL: https://github.com/apache/kyuubi/issues/4416#issuecomment-1448009177
thank you @lordk911 for the step. I can reproduce it now. It seems the issue is from Spark3.2.3. Spark3.2.1 and Spark3.3.x are fine.
A reproducible step is with Spark3.2.3 but without Kyuubi:
```sql
CREATE TABLE IF NOT EXISTS spark32_overwrite(amt1 int) STORED AS ORC;
CREATE TABLE IF NOT EXISTS spark32_overwrite2(amt1 long) STORED AS ORC;
INSERT OVERWRITE TABLE spark32_overwrite2 select 6000044164;
set spark.sql.ansi.enabled=true;
INSERT OVERWRITE TABLE spark32_overwrite select amt1 from (select cast(amt1 as int) from spark32_overwrite2 distribute by amt1);
```
--
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
[GitHub] [kyuubi] lordk911 commented on issue #4416: [Bug] table's home directory lost when a insert overwrite statment failed
Posted by "lordk911 (via GitHub)" <gi...@apache.org>.
lordk911 commented on issue #4416:
URL: https://github.com/apache/kyuubi/issues/4416#issuecomment-1447887646
**if I don't config to use org.apache.kyuubi.sql.KyuubiSparkSQLExtension , the behavior of spark is :**




**exception happen, but table's home directory not lost.**

**then I stop this applacation and try to use KyuubiSparkSQLExtension :**



**exception happen, and table's home directory lost.**

--
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
[GitHub] [kyuubi] ulysses-you commented on issue #4416: [Bug] table's home directory lost when a insert overwrite statment failed
Posted by "ulysses-you (via GitHub)" <gi...@apache.org>.
ulysses-you commented on issue #4416:
URL: https://github.com/apache/kyuubi/issues/4416#issuecomment-1449278981
if there is no other thought, I'm going to close this issue. thank you @lordk911
--
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
[GitHub] [kyuubi] ulysses-you commented on issue #4416: [Bug] table's home directory lost when a insert overwrite statment failed
Posted by "ulysses-you (via GitHub)" <gi...@apache.org>.
ulysses-you commented on issue #4416:
URL: https://github.com/apache/kyuubi/issues/4416#issuecomment-1445565775
why is this issue relevant to 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
[GitHub] [kyuubi] lordk911 commented on issue #4416: [Bug] table's home directory lost when a insert overwrite statment failed
Posted by "lordk911 (via GitHub)" <gi...@apache.org>.
lordk911 commented on issue #4416:
URL: https://github.com/apache/kyuubi/issues/4416#issuecomment-1448289520
Glad to see this issue could be reproduced.
It's frustrating that Spark3.2.1 have CVE-2022-31777 issue. The release of Spark3.3.X have issue SPARK-42473 need to fallback.
--
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
[GitHub] [kyuubi] ulysses-you commented on issue #4416: [Bug] table's home directory lost when a insert overwrite statment failed
Posted by "ulysses-you (via GitHub)" <gi...@apache.org>.
ulysses-you commented on issue #4416:
URL: https://github.com/apache/kyuubi/issues/4416#issuecomment-1449278415
yea, may be you can wait for Spark3.4.0 a few weeks
--
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
[GitHub] [kyuubi] ulysses-you commented on issue #4416: [Bug] table's home directory lost when a insert overwrite statment failed
Posted by "ulysses-you (via GitHub)" <gi...@apache.org>.
ulysses-you commented on issue #4416:
URL: https://github.com/apache/kyuubi/issues/4416#issuecomment-1446051041
<img width="847" alt="image" src="https://user-images.githubusercontent.com/12025282/221535128-ac3633bf-d84e-4455-89ae-8cc9a2b184c7.png">
I mean your issue description list three extensions. Can you update 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: 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
[GitHub] [kyuubi] lordk911 commented on issue #4416: [Bug] table's home directory lost when a insert overwrite statment failed
Posted by "lordk911 (via GitHub)" <gi...@apache.org>.
lordk911 commented on issue #4416:
URL: https://github.com/apache/kyuubi/issues/4416#issuecomment-1447469780
> <img alt="image" width="847" src="https://user-images.githubusercontent.com/12025282/221535128-ac3633bf-d84e-4455-89ae-8cc9a2b184c7.png">
>
> I mean your issue description list three extensions. Can you update it ?
I've updated this issue description.
--
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
[GitHub] [kyuubi] ulysses-you closed issue #4416: [Bug] table's home directory lost when a insert overwrite statment failed
Posted by "ulysses-you (via GitHub)" <gi...@apache.org>.
ulysses-you closed issue #4416: [Bug] table's home directory lost when a insert overwrite statment failed
URL: https://github.com/apache/kyuubi/issues/4416
--
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
[GitHub] [kyuubi] lordk911 commented on issue #4416: [Bug] table's home directory lost when a insert overwrite statment failed
Posted by "lordk911 (via GitHub)" <gi...@apache.org>.
lordk911 commented on issue #4416:
URL: https://github.com/apache/kyuubi/issues/4416#issuecomment-1446028461
> The description actually includes three extension. Can you figure out which extension cause the issue ?
I have disabled extension one by one for test.
--
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
[GitHub] [kyuubi] lordk911 commented on issue #4416: [Bug] table's home directory lost when a insert overwrite statment failed
Posted by "lordk911 (via GitHub)" <gi...@apache.org>.
lordk911 commented on issue #4416:
URL: https://github.com/apache/kyuubi/issues/4416#issuecomment-1445800471
> why is this issue relevant to Kyuubi ?
if I don't config to use org.apache.kyuubi.sql.KyuubiSparkSQLExtension, table's home directory won't be deleted
--
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