sentry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sravya Tirukkovalur (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (SENTRY-791) java.lang.AbstractMethodError when using HDFS sync
Date Wed, 08 Jul 2015 17:30:05 GMT

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

Sravya Tirukkovalur updated SENTRY-791:
---------------------------------------
    Attachment: SENTRY-791.patch

Although the child class(SentryHDFSServiceProcessorFactory) is overriding the base abstract
class's(ProcessorFactory) abstract method(register), we are still seeing the problem where
child class is in a different package as base class. So changing the base abstract class to
be non abstract for now.

> java.lang.AbstractMethodError when using HDFS sync
> --------------------------------------------------
>
>                 Key: SENTRY-791
>                 URL: https://issues.apache.org/jira/browse/SENTRY-791
>             Project: Sentry
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>            Reporter: Sravya Tirukkovalur
>            Assignee: Sravya Tirukkovalur
>             Fix For: 1.6.0
>
>         Attachments: SENTRY-791.patch
>
>
> Sentry service fails to start:
> {noformat}
> java.util.concurrent.ExecutionException: java.lang.AbstractMethodError
>         at java.util.concurrent.FutureTask.report(FutureTask.java:122)
>         at java.util.concurrent.FutureTask.get(FutureTask.java:188)
>         at org.apache.sentry.service.thrift.SentryService.waitForShutDown(SentryService.java:305)
>         at org.apache.sentry.service.thrift.SentryService$CommandImpl.run(SentryService.java:394)
>         at org.apache.sentry.SentryMain.main(SentryMain.java:94)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:606)
>         at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
>         at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
> Caused by: java.lang.AbstractMethodError
>         at org.apache.sentry.service.thrift.SentryService.runServer(SentryService.java:197)
>         at org.apache.sentry.service.thrift.SentryService.access$000(SentryService.java:72)
>         at org.apache.sentry.service.thrift.SentryService$2.run(SentryService.java:160)
>         at org.apache.sentry.service.thrift.SentryService$2.run(SentryService.java:157)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:415)
>         at org.apache.sentry.service.thrift.SentryService.call(SentryService.java:157)
>         at org.apache.sentry.service.thrift.SentryService.call(SentryService.java:72)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:745)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message