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.

when using dask-gateway-kerberos 0.6.1 I do get following error TypeError: __init__() missing 1 required positional argument: 'adaptive'

See original GitHub issue

Using using dask-gateway-kerberos 0.6.1

cluster = gateway.new_cluster(worker_cores=1)

I do get following error TypeError: init() missing 1 required positional argument: ‘adaptive’

and from DaskGateway:

Config option adaptive_period not recognized by YarnClusterManager.

followed configuration for dask-gateway for hadoop/Yarn …

`YARN YarnClusterManager c.YarnClusterManager.adaptive_period= Float(3) Time (in seconds) between adaptive scaling checks.

A smaller period will decrease scale up/down latency when responding to cluster load changes, but may also result in higher load on the gateway server.`

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
jcristcommented, Dec 12, 2019

Sounds good. I’m going to close this for now, feel free to reopen a new issue if you run into issues later.

0reactions
n1tkcommented, Dec 12, 2019

Thank you!!!

Worked with downgrade to 0.3.0 and installing on client environment dask-gateway-server-kerberos with same version and all work as expected.

Will give a try later on with 0.6.1 versions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TypeError: __init__() missing 1 required positional argument
The problem here is that you're calling linkedlist constructor with no arguments: mylist=linkedlist(). whereas in the class definition it ...
Read more >
typeerror: __init__() missing 1 required positional argument
It means you have to at least pass values of input_size , seqlen and output_size , i.e you have to pass 3 parameters....
Read more >
forward() missing 1 required positional argument: 'target' when ...
I am trying to build a next word prediction model with pytorch in google colab. ... TypeError: forward() missing 1 required positional argument:...
Read more >
TypeError: __init__() missing 1 required positional argument
The Python TypeError: init () missing 1 required positional argument occurs when we forget to provide a required argument when instantiating a class....
Read more >
TypeError: __init__() missing 1 required positional argument
Task 2 says the __init__ method should only take the self argument. When the checker runs your code, it isn't expecting to provide...
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