hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5509) [WebHCat] TestDriverCurl to use string comparison for jobid
Date Tue, 15 Oct 2013 03:38:53 GMT

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

Hudson commented on HIVE-5509:
------------------------------

FAILURE: Integrated in Hive-trunk-h0.21 #2401 (See [https://builds.apache.org/job/Hive-trunk-h0.21/2401/])
HIVE-5509 : [WebHCat] TestDriverCurl to use string comparison for jobid (Daniel Dai via Thejas
Nair) (thejas: http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1532026)
* /hive/trunk/hcatalog/src/test/e2e/templeton/drivers/TestDriverCurl.pm


> [WebHCat] TestDriverCurl to use string comparison for jobid
> -----------------------------------------------------------
>
>                 Key: HIVE-5509
>                 URL: https://issues.apache.org/jira/browse/HIVE-5509
>             Project: Hive
>          Issue Type: Bug
>          Components: HCatalog
>    Affects Versions: 0.12.0
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.13.0
>
>         Attachments: HIVE-5509-1.patch
>
>
> In TestDriverCurl.pm, we sort job status array returned by templeton using:
> {code}
> sort { $a->{id} <=> $b->{id} }
> {code}
> However, "<=>" is used to compare numbers, jobid is string, so comparison is wrong.
This results test JOBS_4 fail in some cases.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message