Arjun Mishra created SENTRY-2528:
------------------------------------

             Summary: Format exception when fetching a full snapshot
                 Key: SENTRY-2528
                 URL: https://issues.apache.org/jira/browse/SENTRY-2528
             Project: Sentry
          Issue Type: Bug
          Components: Sentry
            Reporter: Arjun Mishra
            Assignee: Arjun Mishra


When fetching a full snapshot we get the below error. This is a regression of 
SENTRY-2301
{noformat}
2019-07-07 23:07:39,677 ERROR org.apache.sentry.service.thrift.SentryHMSClient: 
Snapshot created failed
java.util.IllegalFormatConversionException: f != java.lang.Long
        at 
java.util.Formatter$FormatSpecifier.failConversion(Formatter.java:4302)
        at java.util.Formatter$FormatSpecifier.printFloat(Formatter.java:2806)
        at java.util.Formatter$FormatSpecifier.print(Formatter.java:2753)
        at java.util.Formatter.format(Formatter.java:2520)
        at java.util.Formatter.format(Formatter.java:2455)
        at java.lang.String.format(String.java:2940)
        at 
org.apache.sentry.service.thrift.FullUpdateInitializer.getFullHMSSnapshot(FullUpdateInitializer.java:552)
        at 
org.apache.sentry.service.thrift.SentryHMSClient.fetchFullUpdate(SentryHMSClient.java:244)
        at 
org.apache.sentry.service.thrift.SentryHMSClient.getFullSnapshot(SentryHMSClient.java:147)
        at 
org.apache.sentry.provider.db.service.persistent.HMSFollower.createFullSnapshot(HMSFollower.java:409)
        at 
org.apache.sentry.provider.db.service.persistent.HMSFollower.syncupWithHms(HMSFollower.java:237)
        at 
org.apache.sentry.provider.db.service.persistent.HMSFollower.run(HMSFollower.java:198)
        at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
        at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
        at 
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
        at java.lang.Thread.run(Thread.java:748)
{noformat}



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

Reply via email to