You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2013/10/09 23:48:41 UTC
[jira] [Created] (HIVE-5509) [WebHCat] TestDriverCurl to use string
comparison for jobid
Daniel Dai created HIVE-5509:
--------------------------------
Summary: [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)