Uploaded image for project: 'Sentry'
  1. Sentry
  2. SENTRY-791

java.lang.AbstractMethodError when using HDFS sync

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.6.0
    • Component/s: None
    • Labels:
      None

      Description

      Sentry service fails to start:

      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)
      

        Attachments

        1. SENTRY-791.patch
          0.9 kB
          Sravya Tirukkovalur

          Activity

            People

            • Assignee:
              sravya Sravya Tirukkovalur
              Reporter:
              sravya Sravya Tirukkovalur
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: