Uploaded image for project: 'Sentry (Retired)'
  1. Sentry (Retired)
  2. SENTRY-2237

Error message of applying patch is not intuitive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.1.0
    • None
    • Sentry

    Description

      My patch had a build error, but when build script applied the patch, instead of showing the error message, it shows

      error: a/sentry-core/sentry-core-common/src/main/java/org/apache/sentry/service/common/ServiceConstants.java: does not exist in index
      

      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

       PMD Failure: org.apache.sentry.provider.db.service.persistent.SentryStore:828 Rule:UnusedFormalParameter Priority:3 Avoid unused method parameters such as 'pm'.
      

      Attachments

        1. SENTRY-2237 Console output.txt
          8 kB
          Na Li
        2. Sentry-2237 artifacts.zip
          24 kB
          Na Li

        Activity

          People

            moist Steve Moist
            linaataustin Na Li
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: