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-10152) ErrorMsg.formatToErrorMsgMap has bad regex
Date Wed, 01 Apr 2015 04:38:52 GMT

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

Hive QA commented on HIVE-10152:
--------------------------------



{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/12708501/HIVE-10152.patch

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 8671 tests executed
*Failed tests:*
{noformat}
TestHiveAuthorizationTaskFactory - did not produce a TEST-*.xml file
TestMinimrCliDriver-smb_mapjoin_8.q - did not produce a TEST-*.xml file
{noformat}

Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/3229/testReport
Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-TRUNK-Build/3229/console
Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-TRUNK-Build-3229/

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: 2 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12708501 - PreCommit-HIVE-TRUNK-Build

> ErrorMsg.formatToErrorMsgMap has bad regex
> ------------------------------------------
>
>                 Key: HIVE-10152
>                 URL: https://issues.apache.org/jira/browse/HIVE-10152
>             Project: Hive
>          Issue Type: Bug
>          Components: Logging
>    Affects Versions: 1.1.0
>            Reporter: Eugene Koifman
>            Assignee: Eugene Koifman
>         Attachments: HIVE-10152.patch
>
>
> {noformat}
>         String pattern = errorMsg.mesg.replaceAll("\\{.*\\}", ".*");
> {noformat}
> should be
> {noformat}
> String pattern = errorMsg.mesg.replaceAll("\\{[0-9]+\\}", ".*");
> {noformat}
> current regex can match the whole msg (with more than 1 param)



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

Mime
View raw message