You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Vaibhav Gumashta (JIRA)" <ji...@apache.org> on 2016/05/17 18:28:12 UTC

[jira] [Updated] (HIVE-13776) MCSK repair fails for some tables with MetaException(message:Expected 1 components, got 3 (part11=val11/part21=val21/part31=val31))

     [ https://issues.apache.org/jira/browse/HIVE-13776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vaibhav Gumashta updated HIVE-13776:
------------------------------------
    Description: 
We're seeing msck repair fail randomly for a directory layout like this:

{code}
/table/timestamp=2015-05-01
/table/timestamp=2015-05-01/type=open
/table//timestamp=2015-05-01/type=open/num=1/file-1
/table//timestamp=2015-05-01/type=open/num=1/file-2
{code}

The table is partitioned by part11, 
Appears that there is a bug in DDLTask.mcsk (https://github.com/apache/hive/blob/6cb5dbe64968f052266f491492225e925e437dac/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java#L1832).


  was:
We're seeing msck repair fail randomly for a directory layout like this:

{code}
/table/part11=val11
/table/part11=val11/part21=val21
/table/part11=val11/part21=val21/part31=val31
/table/part11=val11/part21=val21/part32=val32
{code}

Appears that there is a bug in DDLTask.mcsk (https://github.com/apache/hive/blob/6cb5dbe64968f052266f491492225e925e437dac/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java#L1832).



> MCSK repair fails for some tables with MetaException(message:Expected 1 components, got 3 (part11=val11/part21=val21/part31=val31))
> -----------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-13776
>                 URL: https://issues.apache.org/jira/browse/HIVE-13776
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 1.2.1
>            Reporter: Vaibhav Gumashta
>
> We're seeing msck repair fail randomly for a directory layout like this:
> {code}
> /table/timestamp=2015-05-01
> /table/timestamp=2015-05-01/type=open
> /table//timestamp=2015-05-01/type=open/num=1/file-1
> /table//timestamp=2015-05-01/type=open/num=1/file-2
> {code}
> The table is partitioned by part11, 
> Appears that there is a bug in DDLTask.mcsk (https://github.com/apache/hive/blob/6cb5dbe64968f052266f491492225e925e437dac/ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java#L1832).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)