[ https://issues.apache.org/jira/browse/HIVE-10722?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14565471#comment-14565471 ]
Hive QA commented on HIVE-10722: -------------------------------- {color:red}Overall{color}: -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12735994/HIVE-10722.01.patch {color:red}ERROR:{color} -1 due to 3 failed/errored test(s), 8980 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_fold_case org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_ql_rewrite_gbtoidx_cbo_2 org.apache.hadoop.hive.thrift.TestHadoop20SAuthBridge.testSaslWithHiveMetaStore {noformat} Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4095/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/4095/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-4095/ Messages: {noformat} Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 3 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12735994 - PreCommit-HIVE-TRUNK-Build > external table creation with msck in Hive can create unusable partition > ----------------------------------------------------------------------- > > Key: HIVE-10722 > URL: https://issues.apache.org/jira/browse/HIVE-10722 > Project: Hive > Issue Type: Bug > Affects Versions: 0.14.1, 1.0.0 > Reporter: Sergey Shelukhin > Assignee: Sergey Shelukhin > Priority: Critical > Attachments: HIVE-10722.01.patch, HIVE-10722.patch > > > There can be directories in HDFS containing unprintable characters; when > doing hadoop fs -ls, these characters are not even visible, and can only be > seen for example if output is piped thru od. > When these are loaded via msck, they are stored in e.g. mysql as "?" (literal > question mark, findable via LIKE '%?%' in db) and show accordingly in Hive. > However, datanucleus appears to encode it as %3F; this causes the partition > to be unusable - it cannot be dropped, and other operations like drop table > get stuck (didn't investigate in detail why; drop table got unstuck as soon > as the partition was removed from metastore). > We should probably have a 2-way option for such cases - error out on load > (default), or convert to '?'/drop such characters (and have partition that > actually works, too). > We should also check if partitions with '?' inserted explicitly work at all > with datanucleus. -- This message was sent by Atlassian JIRA (v6.3.4#6332)