sentry-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Moist (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (SENTRY-2237) Error message of applying patch is not intuitive
Date Fri, 18 May 2018 16:17:00 GMT

     [ https://issues.apache.org/jira/browse/SENTRY-2237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Steve Moist reassigned SENTRY-2237:
-----------------------------------

    Assignee: Steve Moist

> Error message of applying patch is not intuitive
> ------------------------------------------------
>
>                 Key: SENTRY-2237
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2237
>             Project: Sentry
>          Issue Type: Bug
>          Components: Sentry
>    Affects Versions: 2.1.0
>            Reporter: Na Li
>            Assignee: Steve Moist
>            Priority: Major
>              Labels: newbie,
>         Attachments: SENTRY-2237 Console output.txt, Sentry-2237 artifacts.zip
>
>
> My patch had a build error, but when build script applied the patch, instead of showing
the error message, it shows 
> {code}
> error: a/sentry-core/sentry-core-common/src/main/java/org/apache/sentry/service/common/ServiceConstants.java:
does not exist in index
> {code}
> This error is caused by "patch -p0", then the script tries "patch -p1", which succeded.
We should suppress this error.
> The desired behavior is to output the direct cause of the build failure, which is located
at install.txt
> {code}
>  PMD Failure: org.apache.sentry.provider.db.service.persistent.SentryStore:828 Rule:UnusedFormalParameter
Priority:3 Avoid unused method parameters such as 'pm'.
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message