[ https://issues.apache.org/jira/browse/HIVE-5220?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13806258#comment-13806258 ]
Hudson commented on HIVE-5220: ------------------------------ FAILURE: Integrated in Hive-trunk-hadoop2-ptest #152 (See [https://builds.apache.org/job/Hive-trunk-hadoop2-ptest/152/]) HIVE-5220 : Add option for removing intermediate directory for partition, which is empty (Navis via Ashutosh Chauhan) (hashutosh: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1535072) * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java * /hive/trunk/metastore/src/java/org/apache/hadoop/hive/metastore/Warehouse.java > Add option for removing intermediate directory for partition, which is empty > ---------------------------------------------------------------------------- > > Key: HIVE-5220 > URL: https://issues.apache.org/jira/browse/HIVE-5220 > Project: Hive > Issue Type: Improvement > Components: Query Processor > Reporter: Navis > Assignee: Navis > Priority: Minor > Fix For: 0.13.0 > > Attachments: D12729.2.patch, HIVE-5220.D12729.1.patch > > > For deeply nested partitioned table, intermediate directories are not removed > even if there is no partitions in it by removing them. > {noformat} > /deep_part/c=09/d=01 > /deep_part/c=09/d=01/e=01 > /deep_part/c=09/d=01/e=02 > /deep_part/c=09/d=02 > /deep_part/c=09/d=02/e=01 > /deep_part/c=09/d=02/e=02 > {noformat} > After removing partition (c='09'), directory remains like this, > {noformat} > /deep_part/c=09/d=01 > /deep_part/c=09/d=02 > {noformat} -- This message was sent by Atlassian JIRA (v6.1#6144)