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 1.2.17 - How to do log rolling based on size
Apache Kafka 0.8 log4j2.xml appender getting timeout error
Flink with High-availability with zookeeper: Submitted job is not acknowledged by Job manager
SoapUI does not change log file name/path after changes in soapui-log4j.xml
How to export lo4j from Ambari?
Log4j don't catch javax.el exception
'infinispan-core' not showing logs
Tomcat log each application into separate file
slf4j-log4j bridge with log4j 2.8.1
logging to ELK stack from karaf
Changing Log4J configuration in Tibco BW/Designer does not have the desired effect
Write to SYSLOG with RootLogger OFF
How to write separate log files for each error transactions in Java using log4j
log4j on jboss - subpackage level
converting log4j into log4j2. With RollingFileAppender, size and file name pattern
Log4j NoSQL/Mongo appender in Tibco BusinessWorks 5

Categories

HOME
twitter
clips
listview
google-api-php-client
youtube-dl
framework7
leon
retrofit
acquia
flyway4
directx
node-notifier
primary-key
fancybox-3
user-input
spring-kafka
quicklook
collectd
php-7.1
visual-studio-2005
windows-server-2012
quickfix
quartz-scheduler
netflix
vaadin7
opentracing
jsdoc
nhibernate-envers
viewport
scriptcs
cultureinfo
smb
pingfederate
greendao
maxmind
fluentvalidation
elasticsearch-ruby
assistant
replaceall
jspm
facebook-apps
newline
microsoft-chart-controls
contact-form
jspresso
fog
revolution-slider
scaffold
hilbert-curve
ssjs
impersonation
bootstrapper
ws-security
unoconv
quadratic-programming
google-closure
password-encryption
bootstrap-dialog
heightmap
convertapi
chain-builder
filepicker
prolog-setof
celery-task
darcs
nodebb
zendesk-app
color-profile
specrun
objective-c-swift-bridge
medium.com
savon
django-debug-toolbar
fuzzy-search
disque
flash-cs5
actionbardrawertoggle
essence
whois
energy
rtbkit
teamcity-8.0
google-places
tarjans-algorithm
embedded-code
mmc
iiviewdeckcontroller
relocation
codeigniter-routing
xojo
terminal-services
gnu-smalltalk
access-rights
mt
nsnetservice
multipage
jspinclude
parametric-equations
jquery-ui-layout
spring-portlet-mvc
coercion
joyent
cinema-4d
actionview
propagation
visitor-statistic
h.323
forums
exchange-server-2003
sector
mediarss

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