Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    This is a checked exception that wraps an exception thrown by an invoked method or constructor. You can use the getCause() method to retrieve the original exception.

Solutions on the web

via apache.org by Unknown author, 2 years ago
via Apache's JIRA Issue Tracker by Dongyong Wang, 9 months ago
Error connect metastore to setup impersonation
java.lang.reflect.InvocationTargetException: 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)	at java.lang.reflect.Constructor.newInstance(Constructor.java:513)	at org.apache.hadoop.hive.metastore.MetaStoreUtils.newInstance(MetaStoreUtils.java:1210)	at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.(RetryingMetaStoreClient.java:51)	at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.getProxy(RetryingMetaStoreClient.java:61)	at org.apache.hadoop.hive.ql.metadata.Hive.createMetaStoreClient(Hive.java:2286)	at org.apache.hadoop.hive.ql.metadata.Hive.getMSC(Hive.java:2297)	at org.apache.hadoop.hive.ql.metadata.Hive.getDelegationToken(Hive.java:2421)	at org.apache.hive.service.cli.CLIService.getDelegationTokenFromMetaStore(CLIService.java:319)	at org.apache.hive.service.cli.thrift.ThriftCLIService.getSessionHandle(ThriftCLIService.java:153)	at org.apache.hive.service.cli.thrift.ThriftCLIService.OpenSession(ThriftCLIService.java:116)	at org.apache.hive.service.cli.thrift.TCLIService$Processor$OpenSession.getResult(TCLIService.java:1073)	at org.apache.hive.service.cli.thrift.TCLIService$Processor$OpenSession.getResult(TCLIService.java:1058)	at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)	at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)	at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge20S$Server$TUGIAssumingProcessor.process(HadoopThriftAuthBridge20S.java:565)	at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:206)	at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)	at java.lang.Thread.run(Thread.java:662)