zoukankan      html  css  js  c++  java
  • storm排错

    1、运行错误如下

    Exception in thread "main" java.lang.RuntimeException: org.apache.thrift7.transport.TTransportException: java.net.UnknownHostException: jdtest004
    at backtype.storm.utils.NimbusClient.getConfiguredClient(NimbusClient.java:38)
    at backtype.storm.StormSubmitter.submitTopology(StormSubmitter.java:87)
    at backtype.storm.StormSubmitter.submitTopology(StormSubmitter.java:58)
    at com.edu.storm.KafkaStormHBaseTopology.main(KafkaStormHBaseTopology.java:52)
    Caused by: org.apache.thrift7.transport.TTransportException: java.net.UnknownHostException: jdtest004
    at org.apache.thrift7.transport.TSocket.open(TSocket.java:183)
    at org.apache.thrift7.transport.TFramedTransport.open(TFramedTransport.java:81)
    at backtype.storm.security.auth.SimpleTransportPlugin.connect(SimpleTransportPlugin.java:83)
    at backtype.storm.security.auth.ThriftClient.<init>(ThriftClient.java:63)
    at backtype.storm.utils.NimbusClient.<init>(NimbusClient.java:47)
    at backtype.storm.utils.NimbusClient.<init>(NimbusClient.java:43)
    at backtype.storm.utils.NimbusClient.getConfiguredClient(NimbusClient.java:36)
    ... 3 more
    Caused by: java.net.UnknownHostException: jdtest004
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
    at java.net.Socket.connect(Socket.java:589)
    at org.apache.thrift7.transport.TSocket.open(TSocket.java:178)
    ... 9 more

     极有可能是jar包太大,超出设定的nimbus分发缓存大小,修改配置改变缓存大小即可 

  • 相关阅读:
    自己编译linux内核
    codeblocks中文输入及控制台乱码
    c快速学习代码
    二分法求方程解
    苹果公司前任首席执行官乔布斯语录
    html5特性
    lamp server快速搭建
    poj 1247 Magnificent Meatballs 解题报告
    Ural 1005 Stone Pilet 解题报告
    Ural 1020 Rope 解题报告
  • 原文地址:https://www.cnblogs.com/cenglinjinran/p/6593704.html
Copyright © 2011-2022 走看看