hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <>
Subject [jira] [Commented] (HIVE-10657) Remove copyBytes operation from MD5 UDF
Date Wed, 13 May 2015 07:30:00 GMT


Hive QA commented on HIVE-10657:

{color:red}Overall{color}: -1 at least one tests failed

Here are the results of testing the latest attachment:

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 8921 tests executed
*Failed tests:*

Test results:
Console output:
Test logs:

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: 1 tests failed

This message is automatically generated.

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

> Remove copyBytes operation from MD5 UDF
> ---------------------------------------
>                 Key: HIVE-10657
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: UDF
>            Reporter: Alexander Pivovarov
>            Assignee: Alexander Pivovarov
>            Priority: Minor
>         Attachments: HIVE-10657.1.patch, HIVE-10657.2.patch
> Current MD5 UDF implementation uses Apache Commons  DigestUtils.md5Hex method to get
md5 hex.
> DigestUtils does not provide md5Hex method with signature (byte[], start, length). This
is why copyBytes method was added to UDFMd5 to get bytes[] from BytesWritable.
> To avoid copying bytes from BytesWritable to new byte array we can use java MessageDigest
API directly.
> MessageDigest has method update(byte[], start, length)

This message was sent by Atlassian JIRA

View raw message