hadoop生态报错收集

1、kafka报错

[2020-04-02 18:53:07,714] ERROR Error when sending message to topic test with key: null, value: 0 bytes with error: (org.apache.kafka.clients.producer.internals.ErrorLoggingCallback)
org.apache.kafka.common.errors.TimeoutException: Failed to update metadata after 60000 ms.

处理结果:

############################# Socket Server Settings #############################

# The address the socket server listens on. It will get the value returned from 
# java.net.InetAddress.getCanonicalHostName() if not configured.
#   FORMAT:
#     listeners = listener_name://host_name:port
#   EXAMPLE:
#     listeners = PLAINTEXT://your.host.name:9092
listeners=PLAINTEXT://master:9092   #在server.properties中开启这个选项,上次就算开启了一直在报错因为写成了localhost:9092

 

posted @ 2020-04-02 19:07  Simon92  阅读(22)  评论(0编辑  收藏  举报