Giter VIP home page Giter VIP logo

Comments (5)

jcrist avatar jcrist commented on June 30, 2024

Apologies for the delayed response here, I've been out for the last week (conference, then vacation). Dask-Gateway is written to start clusters for multiple users - as such it needs security permissions for whatever the backing system is. Currently this is non-optional, as we don't want to encourage insecure behavior. See https://gateway.dask.org/install-hadoop.html for full hadoop installation instructions. In particular, you need proxy-user permissions for the account running dask-gateway.

If you can provide a good argument for why we should make proxy-user permissions optional, I may be willing to make this support optional. In this case, all clusters would be run as the same user account, regardless of who's logged in.

from dask-gateway.

bschreck avatar bschreck commented on June 30, 2024

No problem.

I'm pretty sure I have proxy-user permissions for both the dask and hadoop users. Currently I'm running the dask gateway as the hadoop user. Is there a need for it to specifically be running as the dask user? And does that error look like the error I would get if I did not actually have proxy user permissions? In particular, I did specify hadoop.proxyuser.{user}.hosts and hadoop.proxyuser.{user}.groups for both hadoop and dask

from dask-gateway.

jcrist avatar jcrist commented on June 30, 2024

The username that dask-gateway-server runs as doesn't matter, what matters is that the account has proxy-user permissions for all users submitting clusters. Since you're running dask-gateway-server as the hadoop user and the server is successfully proxying you as benschreck, then this is working fine.

The failure here appears to be that user benschreck doesn't have permission to write to the /user directory on HDFS. Do you have a home directory on HDFS? We rely on the Java libraries to infer your home directory, perhaps if it's missing it falls back to /user which you don't have permissions for. On application submission a small bundle is uploaded to HDFS and stored in ~/.skein, this upload is what's failing.

from dask-gateway.

bschreck avatar bschreck commented on June 30, 2024

Got it, that makes sense. I'll dig deeper on hdfs perms

from dask-gateway.

jcrist avatar jcrist commented on June 30, 2024

Closing as stale. Feel free to reopen if the problem persists.

from dask-gateway.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.