org.apache.kafka.connect.errors.ConnectException: java.lang.reflect.InvocationTargetException

GitHub | jecos | 3 months ago
  1. 0

    GitHub comment 76#243124232

    GitHub | 3 months ago | jecos
    org.apache.kafka.connect.errors.ConnectException: java.lang.reflect.InvocationTargetException
  2. 0

    Solr - User - problems running solr 4.4 with HDFS HA

    nabble.com | 1 year ago
    org.apache.solr.common.SolrException: java.net.UnknownHostException: nameservice1
  3. 0

    SmartFileAdapter Failed to connect to HDFS with hadoop High availability enabled

    GitHub | 5 months ago | ligadata-ahmad
    java.lang.IllegalArgumentException: java.net.UnknownHostException: <MyHostName>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Without this, in an environment with NN-HA or security setup, the postprocessing action will fail accdssing the filesystem {quote} Failing Oozie Launcher, Main class [org.apache.oozie.action.hadoop.JavaMain], main() threw exception, java.lang.IllegalArgumentException: java.net.UnknownHostException: nameservice org.apache.oozie.action.hadoop.JavaMainException: java.lang.IllegalArgumentException: java.net.UnknownHostException: nameservice at org.apache.oozie.action.hadoop.JavaMain.run(JavaMain.java:59) at org.apache.oozie.action.hadoop.LauncherMain.run(LauncherMain.java:47) at org.apache.oozie.action.hadoop.JavaMain.main(JavaMain.java:35) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.oozie.action.hadoop.LauncherMapper.map(LauncherMapper.java:236) at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:54) at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:453) at org.apache.hadoop.mapred.MapTask.run(MapTask.java:343) at org.apache.hadoop.mapred.YarnChild$2.run(YarnChild.java:164) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:415) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657) at org.apache.hadoop.mapred.YarnChild.main(YarnChild.java:158) Caused by: java.lang.IllegalArgumentException: java.net.UnknownHostException: nameservice at org.apache.hadoop.security.SecurityUtil.buildTokenService(SecurityUtil.java:377) at org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(NameNodeProxies.java:310) at org.apache.hadoop.hdfs.NameNodeProxies.createProxy(NameNodeProxies.java:176) at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:678) at org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:619) at org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:149) at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2653) at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:92) at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2687) at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2669) at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:371) at org.apache.falcon.hadoop.HadoopClientFactory$1.run(HadoopClientFactory.java:200) at org.apache.falcon.hadoop.HadoopClientFactory$1.run(HadoopClientFactory.java:198) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:415) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1657) at org.apache.falcon.hadoop.HadoopClientFactory.createFileSystem(HadoopClientFactory.java:198) at org.apache.falcon.hadoop.HadoopClientFactory.createProxiedFileSystem(HadoopClientFactory.java:153) at org.apache.falcon.hadoop.HadoopClientFactory.createProxiedFileSystem(HadoopClientFactory.java:145) at org.apache.falcon.workflow.WorkflowExecutionContext.serialize(WorkflowExecutionContext.java:313) at org.apache.falcon.workflow.WorkflowExecutionContext.serialize(WorkflowExecutionContext.java:299) at org.apache.falcon.workflow.FalconPostProcessing.run(FalconPostProcessing.java:49) at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70) at org.apache.falcon.workflow.FalconPostProcessing.main(FalconPostProcessing.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.apache.oozie.action.hadoop.JavaMain.run(JavaMain.java:56) ... 15 more Caused by: java.net.UnknownHostException: nameservice ... 44 more {quote} In the above stack trace it is clear that we are using non-HA proxy because the configuration used does not have the HA information

    Apache's JIRA Issue Tracker | 1 year ago | Venkat Ranganathan
    java.lang.IllegalArgumentException: java.net.UnknownHostException: nameservice1
  6. 0

    [SPARKR-72] local class incompatible serialVersionUID - JIRA

    atlassian.net | 1 year ago
    java.lang.IllegalArgumentException: java.net.UnknownHostException: nameservice1

  1. Anup Ash 1 times, last 4 months ago
13 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    java.net.UnknownHostException: nameservice1

    at org.apache.hadoop.security.SecurityUtil.buildTokenService()
  2. Hadoop
    SecurityUtil.buildTokenService
    1. org.apache.hadoop.security.SecurityUtil.buildTokenService(SecurityUtil.java:374)
    1 frame
  3. Apache Hadoop HDFS
    DistributedFileSystem.initialize
    1. org.apache.hadoop.hdfs.NameNodeProxies.createNonHAProxy(NameNodeProxies.java:312)
    2. org.apache.hadoop.hdfs.NameNodeProxies.createProxy(NameNodeProxies.java:178)
    3. org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:665)
    4. org.apache.hadoop.hdfs.DFSClient.<init>(DFSClient.java:601)
    5. org.apache.hadoop.hdfs.DistributedFileSystem.initialize(DistributedFileSystem.java:148)
    5 frames
  4. Hadoop
    FileSystem.newInstance
    1. org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2596)
    2. org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:91)
    3. org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2630)
    4. org.apache.hadoop.fs.FileSystem$Cache.getUnique(FileSystem.java:2618)
    5. org.apache.hadoop.fs.FileSystem.newInstance(FileSystem.java:417)
    5 frames
  5. io.confluent.connect
    HdfsStorage.<init>
    1. io.confluent.connect.hdfs.storage.HdfsStorage.<init>(HdfsStorage.java:39)
    1 frame
  6. Java RT
    Constructor.newInstance
    1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
    3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    4. java.lang.reflect.Constructor.newInstance(Constructor.java:422)
    4 frames
  7. io.confluent.connect
    HdfsSinkTask.start
    1. io.confluent.connect.hdfs.storage.StorageFactory.createStorage(StorageFactory.java:29)
    2. io.confluent.connect.hdfs.DataWriter.<init>(DataWriter.java:168)
    3. io.confluent.connect.hdfs.HdfsSinkTask.start(HdfsSinkTask.java:64)
    3 frames
  8. org.apache.kafka
    WorkerTask.run
    1. org.apache.kafka.connect.runtime.WorkerSinkTask.initializeAndStart(WorkerSinkTask.java:207)
    2. org.apache.kafka.connect.runtime.WorkerSinkTask.execute(WorkerSinkTask.java:139)
    3. org.apache.kafka.connect.runtime.WorkerTask.doRun(WorkerTask.java:140)
    4. org.apache.kafka.connect.runtime.WorkerTask.run(WorkerTask.java:175)
    4 frames
  9. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    5. java.lang.Thread.run(Thread.java:745)
    5 frames