Uploaded image for project: 'Falcon'
  1. Falcon
  2. FALCON-1746

cleanup service fails with NoSuchMethodError with jdk 1.7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Invalid
    • 0.9
    • None
    • general
    • None

    Description

      When starting server with jdk 1.7 clean-up service fails with following exception

      2016-01-12 16:51:28,024 ERROR - [Timer-2:] ~ Error in cleanup task:  (LogCleanupService:71)
      java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
      	at org.apache.falcon.entity.store.ConfigurationStore.getEntities(ConfigurationStore.java:321)
      	at org.apache.falcon.cleanup.ProcessCleanupHandler.cleanup(ProcessCleanupHandler.java:33)
      	at org.apache.falcon.service.LogCleanupService$CleanupThread.run(LogCleanupService.java:68)
      	at java.util.TimerThread.mainLoop(Timer.java:555)
      	at java.util.TimerThread.run(Timer.java:505)
      2016-01-12 16:51:28,028 INFO  - [Timer-2:] ~ Registered Monitoring Plugin org.apache.falcon.plugin.DefaultMonitoringPlugin (ChainableMonitoringPlugin:62)
      2016-01-12 16:51:28,028 INFO  - [Timer-2:] ~ Registered Alerting Plugin org.apache.falcon.plugin.DefaultMonitoringPlugin (ChainableMonitoringPlugin:77)
      2016-01-12 16:51:28,028 INFO  - [Timer-2:] ~ Registered Auditing Plugin org.apache.falcon.plugin.DefaultMonitoringPlugin (ChainableMonitoringPlugin:92)
      2016-01-12 16:51:28,051 INFO  - [main:] ~ Service initialized: org.apache.falcon.service.GroupsService (ServiceInitializer:52)
      2016-01-12 16:51:28,052 INFO  - [main:] ~ Initializing service: org.apache.falcon.service.ProxyUserService (ServiceInitializer:45)
      2016-01-12 16:51:28,052 INFO  - [main:] ~ Loading proxyuser settings [falcon.service.ProxyUserService.proxyuser.#USER#.hosts]=[*] (ProxyUserService:102)
      2016-01-12 16:51:28,052 INFO  - [main:] ~ Loading proxyuser settings [falcon.service.ProxyUserService.proxyuser.#USER#.groups]=[*] (ProxyUserService:87)
      2016-01-12 16:51:28,052 INFO  - [main:] ~ Service initialized: org.apache.falcon.service.ProxyUserService (ServiceInitializer:52)
      2016-01-12 16:51:28,053 INFO  - [main:] ~ FalconAuditFilter initialization started (FalconAuditFilter:49)
      2016-01-12 16:51:28,055 INFO  - [main:] ~ FalconAuthenticationFilter initialization started (FalconAuthenticationFilter:83)
      2016-01-12 16:51:28,095 INFO  - [Timer-2:] ~ AlertMessage{event='log-cleanup-service-failed', alert='Exception in log cleanup service', error='java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;'} (ALERT:43)
      
      

      Attachments

        Activity

          People

            pallavi.rao Pallavi Rao
            pragya.mittal Pragya Mittal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: