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

[I] hive catalog drop table XX purge not delete hdfs path [iceberg]

mengshangxun opened a new issue, #9869:
URL: https://github.com/apache/iceberg/issues/9869

   ### Apache Iceberg version
   
   1.4.3 (latest release)
   
   ### Query engine
   
   Spark
   
   ### Please describe the bug šŸž
   
   hdfs+spark3.3+iceberg1.4.3+hive catalog
   1态create table test(id string,name string) using iceberg;
   2态insert into test select 'a','a';
   3态drop table test purge;
   purge sql only delete iceberg datafile and metadata file,but hdfs path still exist. it is confused when reuse this path.


-- 
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@iceberg.apache.org.apache.org

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


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


Re: [I] hive catalog drop table XX purge not delete hdfs path [iceberg]

Posted by "mengshangxun (via GitHub)" <gi...@apache.org>.
mengshangxun commented on issue #9869:
URL: https://github.com/apache/iceberg/issues/9869#issuecomment-1980316480

   when create a hive catalog table ,it will create hdfs path in the spark warehouse,but now neither `drop table` or` drop table purge`  can delete this path. if i use drop table and create table in the same path,this path will contain old meta file and data file. this old files will nerver delete.  is delete path after delete files is a better choice?


-- 
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@iceberg.apache.org

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


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


Re: [I] hive catalog drop table XX purge not delete hdfs path [iceberg]

Posted by "RussellSpitzer (via GitHub)" <gi...@apache.org>.
RussellSpitzer commented on issue #9869:
URL: https://github.com/apache/iceberg/issues/9869#issuecomment-1980120089

   No it also removes data files, the only exception is files which are not referenced by the Iceberg table.


-- 
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@iceberg.apache.org

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


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


Re: [I] hive catalog drop table XX purge not delete hdfs path [iceberg]

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

   This issue has been closed because it has not received any activity in the last 14 days since being marked as 'stale'


-- 
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@iceberg.apache.org

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


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


Re: [I] hive catalog drop table XX purge not delete hdfs path [iceberg]

Posted by "nqvuong1998 (via GitHub)" <gi...@apache.org>.
nqvuong1998 commented on issue #9869:
URL: https://github.com/apache/iceberg/issues/9869#issuecomment-1980057905

   In my case, when using PURGE, Iceberg only deletes metadata files. Do I need any conf to be able to delete data files? 


-- 
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@iceberg.apache.org

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


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


Re: [I] hive catalog drop table XX purge not delete hdfs path [iceberg]

Posted by "manuzhang (via GitHub)" <gi...@apache.org>.
manuzhang commented on issue #9869:
URL: https://github.com/apache/iceberg/issues/9869#issuecomment-1978915313

   This is expected behavior as Iceberg only purges its referenced metadata and data, and nothing more.


-- 
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@iceberg.apache.org

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


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


Re: [I] hive catalog drop table XX purge not delete hdfs path [iceberg]

Posted by "wanghualei (via GitHub)" <gi...@apache.org>.
wanghualei commented on issue #9869:
URL: https://github.com/apache/iceberg/issues/9869#issuecomment-2016526600

   it is a big problem!


-- 
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@iceberg.apache.org

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


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


Re: [I] hive catalog drop table XX purge not delete hdfs path [iceberg]

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

   This issue has been automatically marked as stale because it has been open for 180 days with no activity. It will be closed in next 14 days if no further activity occurs. To permanently prevent this issue from being considered stale, add the label 'not-stale', but commenting on the issue is preferred when possible.


-- 
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@iceberg.apache.org

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


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


Re: [I] hive catalog drop table XX purge not delete hdfs path [iceberg]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #9869: hive catalog drop table XX purge not delete hdfs path
URL: https://github.com/apache/iceberg/issues/9869


-- 
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@iceberg.apache.org

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


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