Comments (6)
Apparently, even the error isn't logged. I wanted to play with pachyderm so I ran
{
"type": "map",
"input": "identity",
"image": "ubuntu",
"command" : ["/bin/echo"]
}
Hoping to see some output. But log only shows me:
mapreduce.go:478: Running job:
identity
mapreduce.go:493: Job: {map identity ubuntu [/bin/echo] 0 0 0}
mapreduce.go:46: spinupContainer ubuntu [/bin/echo]
and nothing more. There's no result anywhere and no error.
from pachyderm.
Interesting, there should at least be some logging for the files that get posted in to the server. Is there anything in the identity
directory in pfs?
Either way this case should definitely give users more of an idea what's going on than it currently does.
from pachyderm.
A few comments on this issue in general:
I removed the v0.4 label because this obviously won't be shipping in that release. We've had to to rethink this issue a bit because materializing now happens asynchronously. This is good because materializing can take a while which may lead to timeouts and thus reported error message will be lost.
What if we added a route like:
pfs/job/foo/log
which would return stderr from the job.
Edit: This would also work nicely because you could see the results of materializing on a particular commit using pfs/jobs/foo/log?commit=<commit>
from pachyderm.
I think it'd be useful to have some blocking call that would stream the logs to my local machine. I'd like to know when a job is finished. I would like to have timestamps for logged messages.
How is running the job on multiple machines implemented? I think, depending on that the logging could be also complicated.
from pachyderm.
I think it'd be useful to have some blocking call that would stream the logs to my local machine. I'd like to know when a job is finished. I would like to have timestamps for logged messages.
Definitely agree on the value of both of these things. My idea for how this would work is that calls to get logs pfs/job/foo/log
and job output pfs/job/foo/file/...
would block until the job completed. So for example if I do:
curl pfs/job/foo/log?commit=<commit>
then that request will block until the job foo
is materialize for <commit>
How is running the job on multiple machines implemented? I think, depending on that the logging could be also complicated.
Each shard runs the job for its local data, recording the output from stderr of all of the containers it runs. This definitely makes collecting the logs a bit trickier. I'm not sure what it means for the interface for getting logs. Maybe we'd want a way to get logs from a particular physical machine or shard?
from pachyderm.
New pps supports errors nicely.
from pachyderm.
Related Issues (20)
- Helm chart 2.10 breaks cloud-sql-auth-proxy on google with private ip's.
- pachyderm_2.10.7_linux_amd64.tar.gz unzips to pachyderm_2.10.6_linux_amd64 (not sure if this is by design) HOT 6
- How to get in touch regarding a security concern
- pachctl get file returns 'branch "master" not found in repo'
- Can't run pachctl on WSL2 HOT 6
- Integrate pull request preview environments HOT 2
- pachtl put_file pfs folder specification HOT 2
- Console styling problems in airgapped (offline) environment HOT 2
- Proxy configuration does not honor no_proxy variable with hostname HOT 3
- Pachd says running but is Never Ready HOT 1
- Vulnerability of dependency "github.com/containerd/containerd"
- Examine Golang Arenas for GC Performance
- wrong proxy port in local deployment tutorial HOT 3
- 429 error when doing a put file using a url in the Pachyderm tutorial HOT 1
- Offer Database Hosting Locally instead of AWS s3
- pgbouncer cannot connect to server
- Unable to connect to PachD HOT 2
- Main Readme 404's
- console does not load
- sign docker images using docker content trust
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 pachyderm.