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

Solutions on the web

via GitHub by xjodoin
, 1 year ago
java.lang.reflect.InvocationTargetException
via GitHub by jecos
, 1 year ago
java.lang.reflect.InvocationTargetException
via GitHub by AmitTwingo
, 1 year ago
java.lang.reflect.InvocationTargetException
java.lang.IllegalArgumentException: java.net.UnknownHostException: nameservice1	at org.apache.hadoop.security.SecurityUtil.buildTokenService(SecurityUtil.java:374)	at org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(NameNodeProxies.java:312)	at org.apache.hadoop.hdfs.NameNodeProxies.createProxy(NameNodeProxies.java:178)	at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:665)	at org.apache.hadoop.hdfs.DFSClient.(DFSClient.java:601)	at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:148)	at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2596)	at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:91)	at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2630)	at org.apache.hadoop.fs.FileSystem$Cache.getUnique(FileSystem.java:2618)	at org.apache.hadoop.fs.FileSystem.newInstance(FileSystem.java:417)	at io.confluent.connect.hdfs.storage.HdfsStorage.(HdfsStorage.java:39)	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)	at java.lang.reflect.Constructor.newInstance(Constructor.java:422)	at io.confluent.connect.hdfs.storage.StorageFactory.createStorage(StorageFactory.java:29)	at io.confluent.connect.hdfs.DataWriter.(DataWriter.java:168)	at io.confluent.connect.hdfs.HdfsSinkTask.start(HdfsSinkTask.java:64)	at org.apache.kafka.connect.runtime.WorkerSinkTask.initializeAndStart(WorkerSinkTask.java:207)	at org.apache.kafka.connect.runtime.WorkerSinkTask.execute(WorkerSinkTask.java:139)	at org.apache.kafka.connect.runtime.WorkerTask.doRun(WorkerTask.java:140)	at org.apache.kafka.connect.runtime.WorkerTask.run(WorkerTask.java:175)	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)	at java.util.concurrent.FutureTask.run(FutureTask.java:266)	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)	at java.lang.Thread.run(Thread.java:745)