From dev-return-94792-archive-asf-public=cust-asf.ponee.io@kafka.apache.org Sat Jun 2 11:11:06 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id CF767180609 for ; Sat, 2 Jun 2018 11:11:05 +0200 (CEST) Received: (qmail 54250 invoked by uid 500); 2 Jun 2018 09:11:04 -0000 Mailing-List: contact dev-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list dev@kafka.apache.org Received: (qmail 54239 invoked by uid 99); 2 Jun 2018 09:11:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 02 Jun 2018 09:11:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 0C164180518 for ; Sat, 2 Jun 2018 09:11:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -110.311 X-Spam-Level: X-Spam-Status: No, score=-110.311 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id oD_DKCKdlkOH for ; Sat, 2 Jun 2018 09:11:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 5AD195F238 for ; Sat, 2 Jun 2018 09:11:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id A4D7FE015E for ; Sat, 2 Jun 2018 09:11:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 1749221095 for ; Sat, 2 Jun 2018 09:11:00 +0000 (UTC) Date: Sat, 2 Jun 2018 09:11:00 +0000 (UTC) From: "Ranjeet Ranjan (JIRA)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (KAFKA-6985) Error connection between cluster node MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Ranjeet Ranjan created KAFKA-6985: ------------------------------------- Summary: Error connection between cluster node Key: KAFKA-6985 URL: https://issues.apache.org/jira/browse/KAFKA-6985 Project: Kafka Issue Type: Bug Components: KafkaConnect Environment: Centos-7 Reporter: Ranjeet Ranjan Hi Have setup multi-node Kafka cluster but getting an error while connectin= g one node to another although there is an issue with firewall=C2=A0or port= . I am able to telnet=C2=A0 WARN [ReplicaFetcherThread-0-1], Error in fetch Kafka.server.ReplicaFetcher= Thread$FetchRequest@8395951 (Kafka.server.ReplicaFetcherThread) java.io.IOException: Connection to Kafka-1:9092 (id: 1 rack: null) failed =C2=A0 {code:java} =C2=A0 at kafka.utils.NetworkClientBlockingOps$.awaitReady$1(NetworkClientBlocking= Ops.scala:84) at kafka.utils.NetworkClientBlockingOps$.blockingReady$extension(NetworkCli= entBlockingOps.scala:94) at kafka.server.ReplicaFetcherThread.sendRequest(ReplicaFetcherThread.scala= :244) at kafka.server.ReplicaFetcherThread.fetch(ReplicaFetcherThread.scala:234) at kafka.server.ReplicaFetcherThread.fetch(ReplicaFetcherThread.scala:42) at kafka.server.AbstractFetcherThread.processFetchRequest(AbstractFetcherTh= read.scala:118) at kafka.server.AbstractFetcherThread.doWork(AbstractFetcherThread.scala:10= 3) at kafka.utils.ShutdownableThread.run(ShutdownableThread.scala:63) {code} Here you go server.properties Node:1 =C2=A0 {code:java} ############################# Server Basics ############################# # The id of the broker. This must be set to a unique integer for each broke= r. broker.id=3D1 # Switch to enable topic deletion or not, default value is false delete.topic.enable=3Dtrue ############################# Socket Server Settings ######################= ####### listeners=3DPLAINTEXT://kafka-1:9092 advertised.listeners=3DPLAINTEXT://kafka-1:9092 #listener.security.protocol.map=3DPLAINTEXT:PLAINTEXT,SSL:SSL,SASL_PLAINTEX= T:SASL_PLAINTEXT,SASL_SSL:SASL_SSL # The number of threads handling network requests num.network.threads=3D3 # The number of threads doing disk I/O num.io.threads=3D8 # The send buffer (SO_SNDBUF) used by the socket server socket.send.buffer.bytes=3D102400 # The receive buffer (SO_RCVBUF) used by the socket server socket.receive.buffer.bytes=3D102400 # The maximum size of a request that the socket server will accept (protect= ion against OOM) socket.request.max.bytes=3D104857600 ############################# Log Basics ############################# # A comma seperated list of directories under which to store log files log.dirs=3D/var/log/kafka # The default number of log partitions per topic. More partitions allow gre= ater # parallelism for consumption, but this will also result in more files acro= ss # the brokers. num.partitions=3D1 # The number of threads per data directory to be used for log recovery at s= tartup and flushing at shutdown. # This value is recommended to be increased for installations with data dir= s located in RAID array. num.recovery.threads.per.data.dir=3D1 ############################# Log Retention Policy ########################= ##### # The minimum age of a log file to be eligible for deletion due to age log.retention.hours=3D48 # A size-based retention policy for logs. Segments are pruned from the log = as long as the remaining # segments don't drop below log.retention.bytes. Functions independently of= log.retention.hours. log.retention.bytes=3D1073741824 # The maximum size of a log segment file. When this size is reached a new l= og segment will be created. log.segment.bytes=3D1073741824 # The interval at which log segments are checked to see if they can be dele= ted according # to the retention policies log.retention.check.interval.ms=3D300000 ############################# Zookeeper ############################# # root directory for all kafka znodes. zookeeper.connect=3D10.130.82.28:2181 # Timeout in ms for connecting to zookeeper zookeeper.connection.timeout.ms=3D6000 {code} =C2=A0 =C2=A0 Node-2 {code:java} ############################# Server Basics ############################# # The id of the broker. This must be set to a unique integer for each broke= r. broker.id=3D2 # Switch to enable topic deletion or not, default value is false delete.topic.enable=3Dtrue ############################# Socket Server Settings ######################= ####### listeners=3DPLAINTEXT://kafka-2:9092 advertised.listeners=3DPLAINTEXT://kafka-2:9092 #listener.security.protocol.map=3DPLAINTEXT:PLAINTEXT,SSL:SSL,SASL_PLAINTEX= T:SASL_PLAINTEXT,SASL_SSL:SASL_SSL # The number of threads handling network requests num.network.threads=3D3 # The number of threads doing disk I/O num.io.threads=3D8 # The send buffer (SO_SNDBUF) used by the socket server socket.send.buffer.bytes=3D102400 # The receive buffer (SO_RCVBUF) used by the socket server socket.receive.buffer.bytes=3D102400 # The maximum size of a request that the socket server will accept (protect= ion against OOM) socket.request.max.bytes=3D104857600 ############################# Log Basics ############################# # A comma seperated list of directories under which to store log files log.dirs=3D/var/log/kafka # The default number of log partitions per topic. More partitions allow gre= ater # parallelism for consumption, but this will also result in more files acro= ss # the brokers. num.partitions=3D1 # The number of threads per data directory to be used for log recovery at s= tartup and flushing at shutdown. # This value is recommended to be increased for installations with data dir= s located in RAID array. num.recovery.threads.per.data.dir=3D1 ############################# Log Retention Policy ########################= ##### # The minimum age of a log file to be eligible for deletion due to age log.retention.hours=3D48 # A size-based retention policy for logs. Segments are pruned from the log = as long as the remaining # segments don't drop below log.retention.bytes. Functions independently of= log.retention.hours. log.retention.bytes=3D1073741824 # The maximum size of a log segment file. When this size is reached a new l= og segment will be created. log.segment.bytes=3D1073741824 # The interval at which log segments are checked to see if they can be dele= ted according # to the retention policies log.retention.check.interval.ms=3D300000 ############################# Zookeeper ############################# # root directory for all kafka znodes. zookeeper.connect=3D10.130.82.28:2181 # Timeout in ms for connecting to zookeeper zookeeper.connection.timeout.ms=3D6000 {code} =C2=A0 Node- 3 =C2=A0 {code:java} ############################# Server Basics ############################# # The id of the broker. This must be set to a unique integer for each broke= r. broker.id=3D3 # Switch to enable topic deletion or not, default value is false delete.topic.enable=3Dtrue ############################# Socket Server Settings ######################= ####### listeners=3DPLAINTEXT://kafka-3:9092 advertised.listeners=3DPLAINTEXT://kafka-3:9092 #listener.security.protocol.map=3DPLAINTEXT:PLAINTEXT,SSL:SSL,SASL_PLAINTEX= T:SASL_PLAINTEXT,SASL_SSL:SASL_SSL # The number of threads handling network requests num.network.threads=3D3 # The number of threads doing disk I/O num.io.threads=3D8 # The send buffer (SO_SNDBUF) used by the socket server socket.send.buffer.bytes=3D102400 # The receive buffer (SO_RCVBUF) used by the socket server socket.receive.buffer.bytes=3D102400 # The maximum size of a request that the socket server will accept (protect= ion against OOM) socket.request.max.bytes=3D104857600 ############################# Log Basics ############################# # A comma seperated list of directories under which to store log files log.dirs=3D/var/log/kafka # The default number of log partitions per topic. More partitions allow gre= ater # parallelism for consumption, but this will also result in more files acro= ss # the brokers. num.partitions=3D1 # The number of threads per data directory to be used for log recovery at s= tartup and flushing at shutdown. # This value is recommended to be increased for installations with data dir= s located in RAID array. num.recovery.threads.per.data.dir=3D1 ############################# Log Retention Policy ########################= ##### # The minimum age of a log file to be eligible for deletion due to age log.retention.hours=3D48 # A size-based retention policy for logs. Segments are pruned from the log = as long as the remaining # segments don't drop below log.retention.bytes. Functions independently of= log.retention.hours. log.retention.bytes=3D1073741824 # The maximum size of a log segment file. When this size is reached a new l= og segment will be created. log.segment.bytes=3D1073741824 # The interval at which log segments are checked to see if they can be dele= ted according # to the retention policies log.retention.check.interval.ms=3D300000 ############################# Zookeeper ############################# # root directory for all kafka znodes. zookeeper.connect=3D10.130.82.28:2181 # Timeout in ms for connecting to zookeeper zookeeper.connection.timeout.ms=3D6000 {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)