log4j


Flink with High-availability with zookeeper: Submitted job is not acknowledged by Job manager


I am trying to run the Flink Cluster in High-Availability Zookeeper mode. For functional testing of the HA-cluster, I have 5 Job-managers and 1 Task-manager. After starting zookeeper-quorum and flink cluster, I am submitting the job to job-manager but I am getting the following errors
log4j:WARN No appenders could be found for logger(org.apache.kafka.clients.consumer.ConsumerConfig).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Submitting job with JobID: ac57484f600814326f28c941244a4c94. Waiting for job completion.
Connected to JobManager at Actor[akka.tcp://flink#192.168.140.53:6123/user/jobmanager#-2018623179]
Exception in thread "main" org.apache.flink.client.program.ProgramInvocationException: The program execution failed: Communication with JobManager failed: Job submission to the JobManager timed out. You may increase 'akka.client.timeout' in case the JobManager needs more time to configure and confirm the job submission.
at org.apache.flink.client.program.ClusterClient.run(ClusterClient.java:410)
at org.apache.flink.client.program.StandaloneClusterClient.submitJob(StandaloneClusterClient.java:95)
at org.apache.flink.client.program.ClusterClient.run(ClusterClient.java:383)
at org.apache.flink.client.program.ClusterClient.run(ClusterClient.java:375)
at org.apache.flink.streaming.api.environment.RemoteStreamEnvironment.executeRemotely(RemoteStreamEnvironment.java:209)
at org.apache.flink.streaming.api.environment.RemoteStreamEnvironment.execute(RemoteStreamEnvironment.java:173)
at MainAlert.main(MainAlert.java:136)
Caused by: org.apache.flink.runtime.client.JobExecutionException: Communication with JobManager failed: Job submission to the JobManager timed out. You may increase 'akka.client.timeout' in case the JobManager needs more time to configure and confirm the job submission.
at org.apache.flink.runtime.client.JobClient.submitJobAndWait(JobClient.java:137)
at org.apache.flink.client.program.ClusterClient.run(ClusterClient.java:406)
... 6 more
Caused by: org.apache.flink.runtime.client.JobClientActorSubmissionTimeoutException: Job submission to the JobManager timed out. You may increase 'akka.client.timeout' in case the JobManager needs more time to configure and confirm the job submission.
at org.apache.flink.runtime.client.JobClientActor.handleMessage(JobClientActor.java:264)
at org.apache.flink.runtime.akka.FlinkUntypedActor.handleLeaderSessionID(FlinkUntypedActor.java:88)
at org.apache.flink.runtime.akka.FlinkUntypedActor.onReceive(FlinkUntypedActor.java:68)
at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:167)
at akka.actor.Actor$class.aroundReceive(Actor.scala:465)
at akka.actor.UntypedActor.aroundReceive(UntypedActor.scala:97)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:516)
at akka.actor.ActorCell.invoke(ActorCell.scala:487)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:254)
at akka.dispatch.Mailbox.run(Mailbox.scala:221)
at akka.dispatch.Mailbox.exec(Mailbox.scala:231)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.pollAndExecAll(ForkJoinPool.java:1253)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1346)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
Do I have to set the log4j.properties explicitly or is it something else that is causing this problem?
(6123 is my jobmanager.rpc.port and also recovery.jobmanager.port)

Related Links

Log4j - write the same data (same level) (for example all INFO LOGS) to both stdout & logfile
How to disable log4j default logging?
TIBCO MDM 9 : log4j:WARN No appenders could be found for logger (RulebaseCustomFunction)
Log4J DailyRollingFileAppender file name
How to configure JDBCAppender programmatically
how to use markerfilter with old log4j
How to setup log rotation in AEM web console?
Websphere 8.5.3, SLF4j Log4j, Multiple EARs, multiple log files not generating
How to configure logging level for JAWR using log4j.xml
In which classes we are not using Log4J
log4j - why am I getting this ludicrous amount of DEBUG even if there's no log4j.properties?
log4j 2.5 Rolling file appender does not release lock on files with Delete feature
configure log4j in dockerfile
No logs when tomcat is stopped
log4j doesn't print preparestatement sql log
Running a web application on Tomcat through Windows service

Categories

HOME
clips
cloud
netsuite
mediawiki
plone
objectgears
framework7
callback
echarts
fancybox
offline
dax
handsontable
fortumo
vaadin7
telephony
code-review
lucene.net
swingx
jasonette
sox
kvc
devops
hammerspoon
autosys
chromebook
kannel
rst2pdf
ping
saas
webkitspeechrecognition
lightswitch-2013
iframe-resizer
typed.js
grails-3.1
textmate
form-data
y86
jquery-bootgrid
ssjs
impersonation
unobtrusive-validation
lumberjack
graphenedb
eclipse-scout
ruby-on-rails-3.1
isbn
azure-application-gateway
apache-fop
togetherjs
libusb-win32
knpmenubundle
capacity
python-cryptography
minimization
chord-diagram
pintos
cubes
deadbolt-2
grails-tomcat-plugin
file-writing
xml-attribute
contact-list
qcustomplot
sdf
pervasive-sql
r-tree
reactive-banana
lib.web.mvc
cartesian-product
dukescript
android-listview
operation
jsapi
dia
oxwall
camanjs
xcode-6.2
neolane
tld
flexmojos
gnu-smalltalk
quantlib-swig
eclipse-memory-analyzer
chronoforms
eventlistener
enterprisedb
typoscript2
newtonscript
errai
locate
iphone-web-app
site.master
sortable-tables
xsdobjectgen
memory-size
libs
exchange-server-2003
temporal-database
private-members

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App