falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pallavi Rao (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FALCON-1746) cleanup service fails with NoSuchMethodError with jdk 1.7
Date Tue, 12 Jan 2016 11:38:39 GMT

    [ https://issues.apache.org/jira/browse/FALCON-1746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15093772#comment-15093772
] 

Pallavi Rao commented on FALCON-1746:
-------------------------------------

Believe this is a problem because the code is compiled with JDK 1.8 and the runtime is 1.7

> cleanup service fails with NoSuchMethodError with jdk 1.7
> ---------------------------------------------------------
>
>                 Key: FALCON-1746
>                 URL: https://issues.apache.org/jira/browse/FALCON-1746
>             Project: Falcon
>          Issue Type: Bug
>          Components: general
>    Affects Versions: 0.9
>            Reporter: Pragya Mittal
>
> When starting server with jdk 1.7 clean-up service fails with following exception
> {noformat}
> 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)
> {noformat}



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

Mime
View raw message