Comments (2)
As a side note, a similar treatment for R might be nice once we support resource-update
events, so that flux job info JOBID R
returns any updated expiration at the time of the request.
from flux-core.
So pondering this a bit more and I see multiple approaches:
-
get the redacted jobspec via job-list
- Pro: it's already in there
- Con: we don't have guest access check in there
- Con: minor eventual consistency raciness
-
get the redacted jobspec via job-info
- Pro: guest access checks already there
- Pro: we already have to read the eventlog for guest access, so no extra KVS reads
- Con: gotta build the jobspec up, putting cycles on job-info in broker
-
get the redacted jobspec via job-manager
- Pro: it's already there
- Con: we gotta support some user facing service thingie to get it from here along w/ access checks
-
create library util functions to do this for job-info / tools so we atleast have it in one place
- Pro: no extra load on broker
- Con: more work
No obvious winner, pros and cons each direction. Am leaning to just create a helper function that flux job info
and flux update
and anything in the future can all use, since it doesn't appear we need widespread use at the moment.
Edit: Thinking about this even more I'm thinking of being even lazier. Perhaps until there's a need, we should just implement something into flux job info
just for flux job info
. A utility function in the future can be created when needed. flux job info
has the C implementation and flux update
has the Python implementation for the time being.
from flux-core.
Related Issues (20)
- Minor documentation fix for flux-jobs
- doc: flux-exec manpage is confusing
- doc: document `userrc` job shell option
- resource: constant load on large system HOT 4
- content-sqlite: treat ENOSPC as a transient condition
- sdexec: take extra measures to ensure cleanup HOT 7
- sdexec: does not comply with RFC42 protocol
- broker: add timezone designator to log timestamps
- fluxion logs resource status changed for individual nodes HOT 2
- t2410-sdexec-memlimit.t hangs after job-exec switched to FLUX_SUBPROCESS_FLAGS_UNBUF HOT 3
- user feedback on error messages
- `flux overlay status` is slow on large systems
- sdexec: add stdin buffering HOT 2
- sdexec: broker segfault in outbuf_mark_free HOT 2
- flux-start silently ignores `--recovery` when `-s, --test-size` is also present
- python: `jobspec.setattr()` should probably default to `attributes.system` like the `--setattr` command line option
- pmi: MPI job working in v0.55 fails in v0.63 HOT 2
- job-list: support `ranks` constraint
- shell: doom: include hostname of rank that caused early exit if possible
- job-manager possibly sends alloc requests after jobs have been canceled HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flux-core.