hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (Jira)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-23347) MSCK REPAIR cannot discover partitions with upper case directory names.
Date Fri, 15 May 2020 17:19:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-23347?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17108475#comment-17108475
] 

Hive QA commented on HIVE-23347:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/13003031/HIVE-23347.5.patch

{color:green}SUCCESS:{color} +1 due to 3 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 11 failed/errored test(s), 17276 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[msck_repair_5] (batchId=11)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[msck_repair_6] (batchId=13)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[msck_repair_drop] (batchId=5)
org.apache.hadoop.hive.cli.TestMiniDruidCliDriver.testCliDriver[druid_materialized_view_rewrite_ssb]
(batchId=129)
org.apache.hadoop.hive.metastore.TestPartitionManagement.testPartitionDiscoveryEnabledBothTableTypes
(batchId=153)
org.apache.hadoop.hive.ql.exec.TestMsckCreatePartitionsInBatches.testBatchingWhenException
(batchId=291)
org.apache.hadoop.hive.ql.exec.TestMsckCreatePartitionsInBatches.testEqualNumberOfPartitions
(batchId=291)
org.apache.hadoop.hive.ql.exec.TestMsckCreatePartitionsInBatches.testNumberOfCreatePartitionCalls
(batchId=291)
org.apache.hadoop.hive.ql.exec.TestMsckCreatePartitionsInBatches.testSmallNumberOfPartitions
(batchId=291)
org.apache.hadoop.hive.ql.exec.TestMsckCreatePartitionsInBatches.testUnevenNumberOfCreatePartitionCalls
(batchId=291)
org.apache.hadoop.hive.ql.metadata.TestHiveMetaStoreChecker.testPartitionsCheck (batchId=269)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/22358/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/22358/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-22358/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 11 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 13003031 - PreCommit-HIVE-Build

> MSCK REPAIR cannot discover partitions with upper case directory names.
> -----------------------------------------------------------------------
>
>                 Key: HIVE-23347
>                 URL: https://issues.apache.org/jira/browse/HIVE-23347
>             Project: Hive
>          Issue Type: Bug
>          Components: Standalone Metastore
>    Affects Versions: 3.1.0
>            Reporter: Sankar Hariappan
>            Assignee: Adesh Kumar Rao
>            Priority: Minor
>              Labels: pull-request-available
>         Attachments: HIVE-23347.01.patch, HIVE-23347.2.patch, HIVE-23347.3.patch, HIVE-23347.4.patch,
HIVE-23347.5.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> For the following scenario, we expect MSCK REPAIR to discover partitions but it couldn't.
> 1. Have partitioned data path as follows.
> hdfs://mycluster/datapath/t1/Year=2020/Month=03/Day=10
> hdfs://mycluster/datapath/t1/Year=2020/Month=03/Day=11
> 2. create external table t1 (key int, value string) partitioned by (Year int, Month int,
Day int) stored as orc location hdfs://mycluster/datapath/t1'';
> 3. msck repair table t1;
> 4. show partitions t1; --> Returns zero partitions
> 5. select * from t1; --> Returns empty data.
> When the partition directory names are changed to lower case, this works fine.
> hdfs://mycluster/datapath/t1/year=2020/month=03/day=10
> hdfs://mycluster/datapath/t1/year=2020/month=03/day=11



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message