Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoSuchMethodError ConcurrentHashMap.keySet #1128

Open
a414930249 opened this issue Jan 4, 2018 · 1 comment
Open

NoSuchMethodError ConcurrentHashMap.keySet #1128

a414930249 opened this issue Jan 4, 2018 · 1 comment
Labels

Comments

@a414930249
Copy link

I encounter an error when starting the opentsdb

the error message:
Exception in thread "main" java.lang.NoSuchMethodError: java.util.concurrent.ConcurrentHashMap.keySet()Ljava/util/concurrent/ConcurrentHashMap$KeySetView;
at org.hbase.async.HBaseClient.flush(HBaseClient.java:811)
at org.hbase.async.HBaseClient.shutdown(HBaseClient.java:1061)
at net.opentsdb.core.TSDB$1HClientShutdown.call(TSDB.java:1135)
at net.opentsdb.core.TSDB$1HClientShutdown.call(TSDB.java:1130)
at com.stumbleupon.async.Deferred.doCall(Deferred.java:1278)
at com.stumbleupon.async.Deferred.addCallbacks(Deferred.java:688)
at com.stumbleupon.async.Deferred.addCallbackDeferring(Deferred.java:738)
at net.opentsdb.core.TSDB.shutdown(TSDB.java:1209)
at net.opentsdb.tools.TSDMain.main(TSDMain.java:233)

it seems that the compile java version is java 8, but my jdk version is 1.7.0_80.
Is there any solution can solve this problem without changing the version of my jdk?

@manolama manolama added the bug label Dec 11, 2018
@manolama
Copy link
Member

You may need to recompile asynchbase with 1.7 or try another version of AsyncHBase which I should have fixed and compiled with 1.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants