question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to connect to skein driver

See original GitHub issue

Hello,

as requested by @jcrist, this issue is on the problem I posted on stack overflow. Not sure if I should copy-paste the entire thing here.

However, the environment I am trying to get dask-yarn/skein working on is a 3 Node EMR v.5.21.0 cluster.

Kind regards Vadim


Edit: copied from stackoverflow below:

I am trying to get dask-yarn running. I figured out that, the skein module is used for submitting applications to the YARN cluster and it is failing to do so.

import skein
c = skein.Client()

This code fails with:

raise ConnectionError("Unable to connect to %s" % self._server_name)
skein.exceptions.ConnectionError: Unable to connect to driver

Starting the driver from CLI with skein driver start --log-level debug --log log.txt produces the following log while printing localhost:someport to the console:

19/04/18 10:34:04 DEBUG skein.Driver: Logging in using ticket cache
19/04/18 10:34:05 WARN util.NativeCodeLoader: Unable to load native-hadoop 
library for your platform... using builtin-java classes where applicable
19/04/18 10:34:05 INFO client.RMProxy: Connecting to ResourceManager at ip/ip:8032
19/04/18 10:34:06 INFO skein.Driver: Driver started, listening on 36963
19/04/18 10:34:06 DEBUG skein.Driver: Reporting gRPC server port back to 
the launching process

Stopping the driver or trying to get an empty list of running applications writes Error: Unable to connect to driver into the shell.

Some time ago dask-yarn was based on knit, so I tried that one out for applications submission. In knit I successfully submitted some hello world app, but with some manual configuration of the name node/resource manager in the client. Autodetection would not work. Maybe it is a similar problem? The skein driver is written in Java and I can’t find a way to configure it the same way as knit.

Thanks

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
ottomatacommented, Jan 22, 2020

AH! OK. The issue was on my end. I had an $https_proxy env var set, which was causing skein to not be able to reach the driver on localhost!

0reactions
ottomatacommented, Jan 21, 2020

@jcrist any thoughts? Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

dask-yarn on cluster: Unable to connect to application
I am trying to use dask-yarn to distribute Python jobs on a cluster. I'm using the following code to create the cluster: from...
Read more >
Debugging — Skein 0.8.0+7.g882683d documentation
Configuring Logging in the Client Driver¶. The skein.Client uses a Java driver process to communicate with services like YARN and HDFS.
Read more >
skein - Bountysource
ConnectionError : Unable to connect to application . As an example: $ kinit $ skein driver start $ APPID=$(skein application submit .
Read more >
Sophos release notes
18.5 MR5. If you can't upgrade, we recommend switching to just the Sophos engine for email and web malware scanning. Sophos engine ...
Read more >
Dbxsvc 'Failed to Connect to the Driver' - YouTube
However, this file will be present on your system since it is created during the installation process. The problem occurs when this file...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found