Oh, forgot to mention: The application is loaded successfully: 2018-01-30 17:28:38,157 INFO org.apache.flink.yarn.YarnClusterDescriptor - Submitting application master application_1517332236216_0002 2018-01-30 17:28:38,582 INFO org.apache.hadoop.yarn.client.api.impl.YarnClientImpl - Submitted application application_1517332236216_0002 2018-01-30 17:28:38,582 INFO org.apache.flink.yarn.YarnClusterDescriptor - Waiting for the cluster to be allocated 2018-01-30 17:28:38,711 INFO org.apache.flink.yarn.YarnClusterDescriptor - Deploying cluster, current state ACCEPTED
On Tue, Jan 30, 2018 at 3:38 PM, Julio Biason <julio.bia...@azion.com> wrote: > Hi, > > I'm trying to launch Flink as a long-running Yarn app (on Hadoop 2.8.3), > which should be simple as running `./yarn-session.sh`, but something is not > working here. > > When I run said command, I get the following error: > > Error while deploying YARN cluster: Couldn't deploy Yarn session cluster > [...] > Diagnostics from YARN: Application application_1517332236216_0002 failed 1 > times (global limit =2; local limit is =1) due to Error launching > appattempt_1517332236216_0002_000001. Got exception: > java.net.ConnectException: Call From localhost.localdomain/127.0.0.1 to > localhost:36063 failed on connection exception: java.net.ConnectException: > Connection refused; For more details see: http://wiki.apache.org/hadoop/ > ConnectionRefused > > So here is the weird part: I'm just running namenode, datanode on that > server. I want it to be the master machine so I'm not running > resourcemanager on it. There is another machine running resourcemanager and > I did the whole shebang to make it visible to the master node. > > So I'm not sure why it's trying to connect to localhost or even who should > be listening on port 36063. At first I thought it was a problem with the > Flink package (dunno, maybe they hardcoded that port in their package or > something) but it really seems to be a problem with my install (and I have > absolutely no more ideas on what to look for). > > Anything else I should be looking for? > > -- > *Julio Biason*, Sofware Engineer > *AZION* | Deliver. Accelerate. Protect. > Office: +55 51 3083 8101 <callto:+555130838101> | Mobile: +55 51 > <callto:+5551996209291>*99907 0554* > -- *Julio Biason*, Sofware Engineer *AZION* | Deliver. Accelerate. Protect. Office: +55 51 3083 8101 <callto:+555130838101> | Mobile: +55 51 <callto:+5551996209291>*99907 0554*