Comments (8)
Oh, that doesn't sound good. I'll try to work on this issue this weekend.
Thanks,
mark
Original comment by [email protected]
on 3 Sep 2011 at 12:45
- Changed state: Accepted
from pdsh.
Can you give more details about how pdsh is trimming the output? I tried some
very simple tests with long lines of output, a single long line of output, etc
and
have not been able to reproduce this issue.
If your data isn't sensitive it might help a lot to attach the output of
grep STRING /var/log/server.log* | grep VISUAL, or perhaps at first an example
of
an original line of output, and one that has been mangled by pdsh.
Thanks!
Original comment by [email protected]
on 3 Sep 2011 at 3:58
from pdsh.
Sorry, I _was_ able to reproduce this issue.
Currently, pdsh truncates lines at 8K.
I'm working on a fix.
Original comment by [email protected]
on 4 Sep 2011 at 1:20
from pdsh.
Could you try the two attached patches? Together they should allow lines up to
128K.
Original comment by [email protected]
on 7 Sep 2011 at 3:50
Attachments:
- 0001-Increase-output-cbuf-max-size-to-128K.patch
- 0002-Use-a-dynamic-buffer-for-output-to-avoid-truncation.patch
from pdsh.
Yes, patches fixed the issue.
Thank you very much,
Nejat
Original comment by [email protected]
on 7 Sep 2011 at 6:52
from pdsh.
Thanks for reporting the issue. This will be fixed in pdsh-2.27
Original comment by [email protected]
on 7 Sep 2011 at 7:37
- Changed state: Fixed
from pdsh.
This issue was updated by revision 8117d3ac974c.
Add a test that reproduces the user observation that pdsh is truncating
very long lines. Lines of length > 8191 characters are probably required
to reproduce this behavior, which appears to be due to a static buffer
used in pdsh output routines, along with a maximum circular buffer size
of 8192 characters. Both issues will need to be resolved before this
test passes.
Original comment by [email protected]
on 8 Sep 2011 at 4:37
from pdsh.
This issue was closed by revision c37f0b533b93.
Original comment by [email protected]
on 8 Sep 2011 at 4:37
from pdsh.
Related Issues (20)
- option to remove .hostname when doing a rpdcp HOT 1
- "/": Owner not root, current uid, or pdsh executable owner HOT 7
- Random pick in host list HOT 1
- Patch to add SLURM partition support to pdsh slurm module HOT 6
- Undesirable change in 2.28 when there is no host output. HOT 9
- genders: pdsh -X excludes more hosts than expected HOT 2
- allow mix of -P and -w in slum plugin HOT 4
- output to named file[s] HOT 2
- Output all exit codes to stdout HOT 4
- pdsh slow when using a few thousand hosts and genders HOT 2
- Header compatibility with slurm 2.6 HOT 1
- Use libgenders.a when compiling with --enable-static-modules HOT 5
- pdcp uses local absolute path to pdcp on remotes HOT 3
- Add lastest release to Download link HOT 1
- Torque module doesn't support job arrays HOT 1
- Change fanout at runtime HOT 4
- history file not written in Debian HOT 9
- Support in Centos7
- segfault in pdsh-2.29 read_wcoll() when file == NULL
- support multiple globs in host specification 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 pdsh.