[jira] [Updated] (HIVE-16041) HCatalog doesn't delete temp _SCRATCH dir when job failed
[ https://issues.apache.org/jira/browse/HIVE-16041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Stamatis Zampetakis updated HIVE-16041: --- Fix Version/s: (was: 3.2.0) I cleared the fixVersion field since this ticket is not resolved. Please review this ticket and if the fix is already committed to a specific version please set the version accordingly and mark the ticket as RESOLVED. According to the JIRA guidelines (https://cwiki.apache.org/confluence/display/Hive/HowToContribute) the fixVersion should be set only when the issue is resolved/closed. > HCatalog doesn't delete temp _SCRATCH dir when job failed > -- > > Key: HIVE-16041 > URL: https://issues.apache.org/jira/browse/HIVE-16041 > Project: Hive > Issue Type: Bug > Components: HCatalog >Affects Versions: 2.2.0 >Reporter: yunfei liu >Assignee: yunfei liu >Priority: Major > Attachments: HIVE-16041.1.patch, HIVE-16041.2.patch, > HIVE-16041.3.patch > > > when we use HCatOutputFormat to write to an external partitioned table, a > tmp dir (which starts with "_SCRATCH" ) will appear under table path if the > job failed. > {quote} > drwxr-xr-x - yun hdfs 0 2017-02-27 01:45 > /tmp/hive/_SCRATCH0.31946356159329714 > drwxr-xr-x - yun hdfs 0 2017-02-27 01:51 > /tmp/hive/_SCRATCH0.31946356159329714/c1=1 > drwxr-xr-x - yun hdfs 0 2017-02-27 00:57 /tmp/hive/c1=1 > drwxr-xr-x - yun hdfs 0 2017-02-27 01:28 /tmp/hive/c1=1/c2=2 > -rw-r--r-- 3 yun hdfs 12 2017-02-27 00:57 > /tmp/hive/c1=1/c2=2/part-r-0 > -rw-r--r-- 3 yun hdfs 12 2017-02-27 01:28 > /tmp/hive/c1=1/c2=2/part-r-0_a_1 > {quote} -- This message was sent by Atlassian Jira (v8.20.10#820010)
[jira] [Updated] (HIVE-16041) HCatalog doesn't delete temp _SCRATCH dir when job failed
[ https://issues.apache.org/jira/browse/HIVE-16041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-16041: --- Fix Version/s: (was: 3.1.0) 3.2.0 Deferring this to 3.2.0 since the branch for 3.1.0 has been cut off. > HCatalog doesn't delete temp _SCRATCH dir when job failed > -- > > Key: HIVE-16041 > URL: https://issues.apache.org/jira/browse/HIVE-16041 > Project: Hive > Issue Type: Bug > Components: HCatalog >Affects Versions: 2.2.0 >Reporter: yunfei liu >Assignee: yunfei liu >Priority: Major > Fix For: 3.2.0 > > Attachments: HIVE-16041.1.patch, HIVE-16041.2.patch, > HIVE-16041.3.patch > > > when we use HCatOutputFormat to write to an external partitioned table, a > tmp dir (which starts with "_SCRATCH" ) will appear under table path if the > job failed. > {quote} > drwxr-xr-x - yun hdfs 0 2017-02-27 01:45 > /tmp/hive/_SCRATCH0.31946356159329714 > drwxr-xr-x - yun hdfs 0 2017-02-27 01:51 > /tmp/hive/_SCRATCH0.31946356159329714/c1=1 > drwxr-xr-x - yun hdfs 0 2017-02-27 00:57 /tmp/hive/c1=1 > drwxr-xr-x - yun hdfs 0 2017-02-27 01:28 /tmp/hive/c1=1/c2=2 > -rw-r--r-- 3 yun hdfs 12 2017-02-27 00:57 > /tmp/hive/c1=1/c2=2/part-r-0 > -rw-r--r-- 3 yun hdfs 12 2017-02-27 01:28 > /tmp/hive/c1=1/c2=2/part-r-0_a_1 > {quote} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16041) HCatalog doesn't delete temp _SCRATCH dir when job failed
[ https://issues.apache.org/jira/browse/HIVE-16041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yunfei liu updated HIVE-16041: -- Attachment: HIVE-16041.3.patch > HCatalog doesn't delete temp _SCRATCH dir when job failed > -- > > Key: HIVE-16041 > URL: https://issues.apache.org/jira/browse/HIVE-16041 > Project: Hive > Issue Type: Bug > Components: HCatalog >Affects Versions: 2.2.0 >Reporter: yunfei liu >Assignee: yunfei liu >Priority: Major > Fix For: 3.1.0 > > Attachments: HIVE-16041.1.patch, HIVE-16041.2.patch, > HIVE-16041.3.patch > > > when we use HCatOutputFormat to write to an external partitioned table, a > tmp dir (which starts with "_SCRATCH" ) will appear under table path if the > job failed. > {quote} > drwxr-xr-x - yun hdfs 0 2017-02-27 01:45 > /tmp/hive/_SCRATCH0.31946356159329714 > drwxr-xr-x - yun hdfs 0 2017-02-27 01:51 > /tmp/hive/_SCRATCH0.31946356159329714/c1=1 > drwxr-xr-x - yun hdfs 0 2017-02-27 00:57 /tmp/hive/c1=1 > drwxr-xr-x - yun hdfs 0 2017-02-27 01:28 /tmp/hive/c1=1/c2=2 > -rw-r--r-- 3 yun hdfs 12 2017-02-27 00:57 > /tmp/hive/c1=1/c2=2/part-r-0 > -rw-r--r-- 3 yun hdfs 12 2017-02-27 01:28 > /tmp/hive/c1=1/c2=2/part-r-0_a_1 > {quote} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16041) HCatalog doesn't delete temp _SCRATCH dir when job failed
[ https://issues.apache.org/jira/browse/HIVE-16041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vineet Garg updated HIVE-16041: --- Fix Version/s: (was: 3.0.0) 3.1.0 Deferring this to 3.1.0 since the branch for 3.0.0 has been cut off. Please update the JIRA if you would like to get your patch in 3.0.0. > HCatalog doesn't delete temp _SCRATCH dir when job failed > -- > > Key: HIVE-16041 > URL: https://issues.apache.org/jira/browse/HIVE-16041 > Project: Hive > Issue Type: Bug > Components: HCatalog >Affects Versions: 2.2.0 >Reporter: yunfei liu >Assignee: yunfei liu >Priority: Major > Fix For: 3.1.0 > > Attachments: HIVE-16041.1.patch, HIVE-16041.2.patch > > > when we use HCatOutputFormat to write to an external partitioned table, a > tmp dir (which starts with "_SCRATCH" ) will appear under table path if the > job failed. > {quote} > drwxr-xr-x - yun hdfs 0 2017-02-27 01:45 > /tmp/hive/_SCRATCH0.31946356159329714 > drwxr-xr-x - yun hdfs 0 2017-02-27 01:51 > /tmp/hive/_SCRATCH0.31946356159329714/c1=1 > drwxr-xr-x - yun hdfs 0 2017-02-27 00:57 /tmp/hive/c1=1 > drwxr-xr-x - yun hdfs 0 2017-02-27 01:28 /tmp/hive/c1=1/c2=2 > -rw-r--r-- 3 yun hdfs 12 2017-02-27 00:57 > /tmp/hive/c1=1/c2=2/part-r-0 > -rw-r--r-- 3 yun hdfs 12 2017-02-27 01:28 > /tmp/hive/c1=1/c2=2/part-r-0_a_1 > {quote} -- This message was sent by Atlassian JIRA (v7.6.3#76005)
[jira] [Updated] (HIVE-16041) HCatalog doesn't delete temp _SCRATCH dir when job failed
[ https://issues.apache.org/jira/browse/HIVE-16041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yunfei liu updated HIVE-16041: -- Attachment: HIVE-16041.2.patch > HCatalog doesn't delete temp _SCRATCH dir when job failed > -- > > Key: HIVE-16041 > URL: https://issues.apache.org/jira/browse/HIVE-16041 > Project: Hive > Issue Type: Bug > Components: HCatalog >Affects Versions: 2.2.0 >Reporter: yunfei liu >Assignee: yunfei liu > Fix For: 2.2.0 > > Attachments: HIVE-16041.1.patch, HIVE-16041.2.patch > > > when we use HCatOutputFormat to write to an external partitioned table, a > tmp dir (which starts with "_SCRATCH" ) will appear under table path if the > job failed. > {quote} > drwxr-xr-x - yun hdfs 0 2017-02-27 01:45 > /tmp/hive/_SCRATCH0.31946356159329714 > drwxr-xr-x - yun hdfs 0 2017-02-27 01:51 > /tmp/hive/_SCRATCH0.31946356159329714/c1=1 > drwxr-xr-x - yun hdfs 0 2017-02-27 00:57 /tmp/hive/c1=1 > drwxr-xr-x - yun hdfs 0 2017-02-27 01:28 /tmp/hive/c1=1/c2=2 > -rw-r--r-- 3 yun hdfs 12 2017-02-27 00:57 > /tmp/hive/c1=1/c2=2/part-r-0 > -rw-r--r-- 3 yun hdfs 12 2017-02-27 01:28 > /tmp/hive/c1=1/c2=2/part-r-0_a_1 > {quote} -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Updated] (HIVE-16041) HCatalog doesn't delete temp _SCRATCH dir when job failed
[ https://issues.apache.org/jira/browse/HIVE-16041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yunfei liu updated HIVE-16041: -- Fix Version/s: 2.2.0 Status: Patch Available (was: Open) > HCatalog doesn't delete temp _SCRATCH dir when job failed > -- > > Key: HIVE-16041 > URL: https://issues.apache.org/jira/browse/HIVE-16041 > Project: Hive > Issue Type: Bug > Components: HCatalog >Affects Versions: 2.2.0 >Reporter: yunfei liu >Assignee: yunfei liu > Fix For: 2.2.0 > > Attachments: HIVE-16041.1.patch > > > when we use HCatOutputFormat to write to an external partitioned table, a > tmp dir (which starts with "_SCRATCH" ) will appear under table path if the > job failed. > {quote} > drwxr-xr-x - yun hdfs 0 2017-02-27 01:45 > /tmp/hive/_SCRATCH0.31946356159329714 > drwxr-xr-x - yun hdfs 0 2017-02-27 01:51 > /tmp/hive/_SCRATCH0.31946356159329714/c1=1 > drwxr-xr-x - yun hdfs 0 2017-02-27 00:57 /tmp/hive/c1=1 > drwxr-xr-x - yun hdfs 0 2017-02-27 01:28 /tmp/hive/c1=1/c2=2 > -rw-r--r-- 3 yun hdfs 12 2017-02-27 00:57 > /tmp/hive/c1=1/c2=2/part-r-0 > -rw-r--r-- 3 yun hdfs 12 2017-02-27 01:28 > /tmp/hive/c1=1/c2=2/part-r-0_a_1 > {quote} -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Updated] (HIVE-16041) HCatalog doesn't delete temp _SCRATCH dir when job failed
[ https://issues.apache.org/jira/browse/HIVE-16041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yunfei liu updated HIVE-16041: -- Attachment: HIVE-16041.1.patch > HCatalog doesn't delete temp _SCRATCH dir when job failed > -- > > Key: HIVE-16041 > URL: https://issues.apache.org/jira/browse/HIVE-16041 > Project: Hive > Issue Type: Bug > Components: HCatalog >Affects Versions: 2.2.0 >Reporter: yunfei liu >Assignee: yunfei liu > Attachments: HIVE-16041.1.patch > > > when we use HCatOutputFormat to write to an external partitioned table, a > tmp dir (which starts with "_SCRATCH" ) will appear under table path if the > job failed. > {quote} > drwxr-xr-x - yun hdfs 0 2017-02-27 01:45 > /tmp/hive/_SCRATCH0.31946356159329714 > drwxr-xr-x - yun hdfs 0 2017-02-27 01:51 > /tmp/hive/_SCRATCH0.31946356159329714/c1=1 > drwxr-xr-x - yun hdfs 0 2017-02-27 00:57 /tmp/hive/c1=1 > drwxr-xr-x - yun hdfs 0 2017-02-27 01:28 /tmp/hive/c1=1/c2=2 > -rw-r--r-- 3 yun hdfs 12 2017-02-27 00:57 > /tmp/hive/c1=1/c2=2/part-r-0 > -rw-r--r-- 3 yun hdfs 12 2017-02-27 01:28 > /tmp/hive/c1=1/c2=2/part-r-0_a_1 > {quote} -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Updated] (HIVE-16041) HCatalog doesn't delete temp _SCRATCH dir when job failed
[ https://issues.apache.org/jira/browse/HIVE-16041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] yunfei liu updated HIVE-16041: -- Description: when we use HCatOutputFormat to write to an external partitioned table, a tmp dir (which starts with "_SCRATCH" ) will appear under table path if the job failed. {quote} drwxr-xr-x - yun hdfs 0 2017-02-27 01:45 /tmp/hive/_SCRATCH0.31946356159329714 drwxr-xr-x - yun hdfs 0 2017-02-27 01:51 /tmp/hive/_SCRATCH0.31946356159329714/c1=1 drwxr-xr-x - yun hdfs 0 2017-02-27 00:57 /tmp/hive/c1=1 drwxr-xr-x - yun hdfs 0 2017-02-27 01:28 /tmp/hive/c1=1/c2=2 -rw-r--r-- 3 yun hdfs 12 2017-02-27 00:57 /tmp/hive/c1=1/c2=2/part-r-0 -rw-r--r-- 3 yun hdfs 12 2017-02-27 01:28 /tmp/hive/c1=1/c2=2/part-r-0_a_1 {quote} was: when we use HCatOutputFormat to write to an external partitioned table, a tmp dir (which starts with "_SCRATCH" ) will appear under table path if the job failed. > HCatalog doesn't delete temp _SCRATCH dir when job failed > -- > > Key: HIVE-16041 > URL: https://issues.apache.org/jira/browse/HIVE-16041 > Project: Hive > Issue Type: Bug > Components: HCatalog >Affects Versions: 2.2.0 >Reporter: yunfei liu >Assignee: yunfei liu > > when we use HCatOutputFormat to write to an external partitioned table, a > tmp dir (which starts with "_SCRATCH" ) will appear under table path if the > job failed. > {quote} > drwxr-xr-x - yun hdfs 0 2017-02-27 01:45 > /tmp/hive/_SCRATCH0.31946356159329714 > drwxr-xr-x - yun hdfs 0 2017-02-27 01:51 > /tmp/hive/_SCRATCH0.31946356159329714/c1=1 > drwxr-xr-x - yun hdfs 0 2017-02-27 00:57 /tmp/hive/c1=1 > drwxr-xr-x - yun hdfs 0 2017-02-27 01:28 /tmp/hive/c1=1/c2=2 > -rw-r--r-- 3 yun hdfs 12 2017-02-27 00:57 > /tmp/hive/c1=1/c2=2/part-r-0 > -rw-r--r-- 3 yun hdfs 12 2017-02-27 01:28 > /tmp/hive/c1=1/c2=2/part-r-0_a_1 > {quote} -- This message was sent by Atlassian JIRA (v6.3.15#6346)