java.lang.RuntimeException

Could not invoke class com.linkedin.drelephant.mapreduce.fetchers.MapReduceFetcherHadoop2

Samebug tips4

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web4969

Stack trace

  • java.lang.RuntimeException: Could not invoke class com.linkedin.drelephant.mapreduce.fetchers.MapReduceFetcherHadoop2 at com.linkedin.drelephant.ElephantContext.loadFetchers(ElephantContext.java:179) at com.linkedin.drelephant.ElephantContext.loadConfiguration(ElephantContext.java:101) at com.linkedin.drelephant.ElephantContext.<init>(ElephantContext.java:96) at com.linkedin.drelephant.ElephantContext.instance(ElephantContext.java:89) at com.linkedin.drelephant.ElephantRunner.loadGeneralConfiguration(ElephantRunner.java:71) at com.linkedin.drelephant.ElephantRunner.access$000(ElephantRunner.java:50) at com.linkedin.drelephant.ElephantRunner$1.run(ElephantRunner.java:102) at com.linkedin.drelephant.ElephantRunner$1.run(ElephantRunner.java:98) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:356) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1471) at com.linkedin.drelephant.security.HadoopSecurity.doAs(HadoopSecurity.java:108) at com.linkedin.drelephant.ElephantRunner.run(ElephantRunner.java:98) at com.linkedin.drelephant.DrElephant.run(DrElephant.java:34) Caused by: java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:526) at com.linkedin.drelephant.ElephantContext.loadFetchers(ElephantContext.java:158) ... 13 more Caused by: java.net.ConnectException: Connection refused at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:198) at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182) at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) at java.net.Socket.connect(Socket.java:579) at java.net.Socket.connect(Socket.java:528) at sun.net.NetworkClient.doConnect(NetworkClient.java:180) at sun.net.www.http.HttpClient.openServer(HttpClient.java:432) at sun.net.www.http.HttpClient.openServer(HttpClient.java:527) at sun.net.www.http.HttpClient.<init>(HttpClient.java:211) at sun.net.www.http.HttpClient.New(HttpClient.java:308) at sun.net.www.http.HttpClient.New(HttpClient.java:326) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:996) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:932) at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:850) at com.linkedin.drelephant.mapreduce.fetchers.MapReduceFetcherHadoop2$URLFactory.verifyURL(MapReduceFetcherHadoop2.java:168) at com.linkedin.drelephant.mapreduce.fetchers.MapReduceFetcherHadoop2$URLFactory.<init>(MapReduceFetcherHadoop2.java:162) at com.linkedin.drelephant.mapreduce.fetchers.MapReduceFetcherHadoop2$URLFactory.<init>(MapReduceFetcherHadoop2.java:156) at com.linkedin.drelephant.mapreduce.fetchers.MapReduceFetcherHadoop2.<init>(MapReduceFetcherHadoop2.java:65) ... 18 more

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

batwalrus76batwalrus76
5 times, last one
slashslash
2 times, last one
tvrmsmithtvrmsmith
Once,
musketyrmusketyr
2 times, last one
Unknown visitor
Unknown visitorOnce,
294 more bugmates