[jira] [Commented] (HIVE-10152) ErrorMsg.formatToErrorMsgMap has bad regex

2015-03-31 Thread Hive QA (JIRA)

[ 
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)


[jira] [Commented] (HIVE-10152) ErrorMsg.formatToErrorMsgMap has bad regex

2015-04-01 Thread Alan Gates (JIRA)

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

Alan Gates commented on HIVE-10152:
---

+1

> 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)


[jira] [Commented] (HIVE-10152) ErrorMsg.formatToErrorMsgMap has bad regex

2015-04-01 Thread Eugene Koifman (JIRA)

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

Eugene Koifman commented on HIVE-10152:
---

the failure is unrelated.  ran the test locally - passed.

> 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)