问题描述
部分日志如下:4/12/1911:24:20INFOconsumer.ZookeeperConsumerConnector:[mygroupid_TZ0509-1418959450703-1be4114f],Clearedallrelevantqueuesforthisfetcher14/12/1911:24:20INFOconsumer.ZookeeperConsumerConnector:[mygroupid_TZ0509-1418959450703-1be4114f],Clearedthedatachunksinalltheconsumermessageiterators14/12/1911:24:20INFOconsumer.ZookeeperConsumerConnector:[mygroupid_TZ0509-1418959450703-1be4114f],Committingalloffsetsafterclearingthefetcherqueues14/12/1911:24:20INFOconsumer.ZookeeperConsumerConnector:[mygroupid_TZ0509-1418959450703-1be4114f],Releasingpartitionownership14/12/1911:24:20INFOconsumer.ZookeeperConsumerConnector:[mygroupid_TZ0509-1418959450703-1be4114f],Consumermygroupid_TZ0509-1418959450703-1be4114frebalancingthefollowingpartitions:ArrayBuffer(0)fortopicluyangwithconsumers:List(mygroupid_TZ0509-1418959450703-1be4114f-0)14/12/1911:24:20INFOconsumer.ZookeeperConsumerConnector:[mygroupid_TZ0509-1418959450703-1be4114f],mygroupid_TZ0509-1418959450703-1be4114f-0attemptingtoclaimpartition014/12/1911:24:20INFOconsumer.ZookeeperConsumerConnector:[mygroupid_TZ0509-1418959450703-1be4114f],mygroupid_TZ0509-1418959450703-1be4114f-0successfullyownedpartition0fortopicluyang14/12/1911:24:20INFOconsumer.ZookeeperConsumerConnector:[mygroupid_TZ0509-1418959450703-1be4114f],Updatingthecache14/12/1911:24:20INFOconsumer.ZookeeperConsumerConnector:[mygroupid_TZ0509-1418959450703-1be4114f],Consumermygroupid_TZ0509-1418959450703-1be4114fselectedpartitions:luyang:0:fetchedoffset=-1:consumedoffset=-114/12/1911:24:20INFOconsumer.ConsumerFetcherManager$LeaderFinderThread:[mygroupid_TZ0509-1418959450703-1be4114f-leader-finder-thread],Starting14/12/1911:24:20INFOconsumer.ZookeeperConsumerConnector:[mygroupid_TZ0509-1418959450703-1be4114f],endrebalancingconsumermygroupid_TZ0509-1418959450703-1be4114ftry#014/12/1911:24:20INFOreceiver.ReceiverSupervisorImpl:CalledreceiveronStart14/12/1911:24:20INFOscheduler.ReceiverTracker:Registeredreceiverforstream0fromakka://sparkDriver14/12/1911:24:20INFOkafka.KafkaReceiver:StartingMessageHandler.14/12/1911:24:20INFOutils.VerifiableProperties:Verifyingproperties14/12/1911:24:20INFOutils.VerifiableProperties:Propertymetadata.broker.listisoverriddento192.168.103.95:9092,192.168.103.96:9092,192.168.103.97:909214/12/1911:24:20INFOutils.VerifiableProperties:Propertyrequest.timeout.msisoverriddento3000014/12/1911:24:20INFOutils.VerifiableProperties:Propertyclient.idisoverriddentomygroupid14/12/1911:24:20INFOclient.ClientUtils$:Fetchingmetadatafrombrokerid:0,host:192.168.103.95,port:9092withcorrelationid0for1topic(s)Set(luyang)14/12/1911:24:20INFOproducer.SyncProducer:Connectedto192.168.103.95:9092forproducing14/12/1911:24:20INFOproducer.SyncProducer:Disconnectingfrom192.168.103.95:909214/12/1911:24:20INFOconsumer.ConsumerFetcherThread:[ConsumerFetcherThread-mygroupid_TZ0509-1418959450703-1be4114f-0-0],Starting14/12/1911:24:20INFOconsumer.ConsumerFetcherManager:[ConsumerFetcherManager-1418959459781]Addingfetcherforpartition[luyang,0],initOffset-1tobroker0withfetcherId014/12/1911:24:25INFOscheduler.ReceiverTracker:Stream0received0blocks14/12/1911:24:25INFOscheduler.JobScheduler:Addedjobsfortime1418959465000ms14/12/1911:24:30INFOscheduler.ReceiverTracker:Stream0received0blocks14/12/1911:24:30INFOscheduler.JobScheduler:Addedjobsfortime1418959470000ms14/12/1911:24:35INFOscheduler.ReceiverTracker:Stream0received0blocks14/12/1911:24:35INFOscheduler.JobScheduler:Addedjobsfortime1418959475000ms
解决方案
解决方案二:
解决方案三:
好吧,自己搞定了
解决方案四:
楼主怎么解决的,我也遇到同样的问题,能否透露一下解决方案,谢谢!