In Sentry 1.5.1, BitFieldAction is an abstract class: https://github.com/apache/sentry/blob/release-1.5.1/sentry-core/sentry-core-common/src/main/java/org/apache/sentry/core/common/BitFieldAction.java#L22. Sentry removed the abstract requirement in Sentry 2.0.0: https://github.com/apache/sentry/blob/master/sentry-core/sentry-core-common/src/main/java/org/apache/sentry/core/common/BitFieldAction.java#L23
To support both versions of Sentry, we need to fix https://github.com/apache/impala/blob/master/fe/src/main/java/org/apache/impala/authorization/Privilege.java#L72 . *Fredy Wijaya* | Software Engineer e. fwij...@cloudera.com cloudera.com <https://www.cloudera.com> [image: Cloudera] <https://www.cloudera.com/> [image: Cloudera on Twitter] <https://twitter.com/cloudera> [image: Cloudera on Facebook] <https://www.facebook.com/cloudera> [image: Cloudera on LinkedIn] <https://www.linkedin.com/company/cloudera> ------------------------------ On Mon, Apr 16, 2018 at 5:10 PM, Sailesh Mukil <sail...@cloudera.com> wrote: > I get this error when trying to the build the Impala frontend. Anyone know > how I can get past this? > > [ERROR] COMPILATION ERROR : > > [ERROR] > /home/systest/incubator-impala/fe/src/main/java/org/ > apache/impala/authorization/Privilege.java:[72,25] > org.apache.sentry.core.common.BitFieldAction is abstract; cannot be > instantiated > > [INFO] BUILD FAILURE > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:3.3:compile > (default-compile) on project impala-frontend: Compilation failure > > [ERROR] > /home/systest/incubator-impala/fe/src/main/java/org/ > apache/impala/authorization/Privilege.java:[72,25] > org.apache.sentry.core.common.BitFieldAction is abstract; cannot be > instantiated > > [ERROR] -> [Help 1] > > [ERROR] > > [ERROR] To see the full stack trace of the errors, re-run Maven with the -e > switch. > > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > > [ERROR] > > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException >