hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Voros (JIRA)" <>
Subject [jira] [Commented] (HIVE-17988) Replace patch utility usage with git apply in ptest
Date Sun, 03 Dec 2017 19:04:01 GMT


Daniel Voros commented on HIVE-17988:

[~spena] I did some testing with binary files and it seems to be working fine. I've tried
your recommended way of creating a binary diff from HIVE-16539 as {{git diff -a --full-index}}
and also {{git diff --binary}} and they both work as expected.

We should probably extend the [contribution page|]
with a note to use --binary when necessary.

> Replace patch utility usage with git apply in ptest
> ---------------------------------------------------
>                 Key: HIVE-17988
>                 URL:
>             Project: Hive
>          Issue Type: Improvement
>          Components: Testing Infrastructure
>            Reporter: Zoltan Haindrich
>            Assignee: Daniel Voros
>         Attachments: HIVE-17988.1.patch, HIVE-17988.2.patch
> It would be great to replace the standard diff util because {{git}} can do a 3-way merge
- which in most cases successfull.
> This could reduce the ptest results which are erroring out because of build failure.
> {code}
> error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/parse/
> Falling back to three-way merge...
> Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/parse/'
> {code}

This message was sent by Atlassian JIRA

View raw message