Comments (9)
Thanks, this is a good find. It will be a severe bug for us as well because
running pdsh where there is output from only some nodes is a common idiom for
us.
Do you know if this issue only happens with rsh? (Have you tried mrsh/ssh/exec)
mark
Original comment by [email protected]
on 11 Feb 2013 at 9:58
- Added labels: Priority-High
- Removed labels: Priority-Medium
from pdsh.
Ah, the -S option appears to be required to recreate this problem:
grondo@hype355:~/git/pdsh.git/src/pdsh$ pdsh -S -w hype[210-213] cd ..
hype210: hype212: hype211: hype213: grondo@hype355:~/git/pdsh.git/src/pdsh$
grondo@hype355:~/git/pdsh.git/src/pdsh$ pdsh -w hype[210-213] cd ..
and I cannot recreate the problem while using the 'exec' module (which is
unfortunate
for writing a testcase, but another good clue here)
To collect return codes from remote processes the rsh and mrsh modules use a
special
string embedded at the beginning of a line. If there is otherwise no output,
then
when this string is removed it leaves an empty line sans newline, so we get the
unwanted behavior.
I'll try to find exactly when this broke.
Original comment by [email protected]
on 11 Feb 2013 at 10:15
from pdsh.
So far, only tested with mrsh. Do not know if it happens with rsh or ssh.
Original comment by [email protected]
on 11 Feb 2013 at 10:50
from pdsh.
Yes, git bisect verified your guess above that commit
c37f0b533b93c0d6825df83dc3035ec54a1ce3e8 was the culprit.
Now comparing that change with preexisting code, I do see
that an if (strlen(buf) > 0) was dropped.
Thanks, this will be fixed in pdsh-2.29
Original comment by [email protected]
on 11 Feb 2013 at 11:16
from pdsh.
This issue was closed by revision 60b39484c3c9.
Original comment by [email protected]
on 11 Feb 2013 at 11:20
- Changed state: Fixed
from pdsh.
Joshua:
If you are willing can you verify the fix applied in revision 60b39484c3c9?
Original comment by [email protected]
on 11 Feb 2013 at 11:26
from pdsh.
Just built and tested on el5 {i686|x86_64} and el6 {i686|x86_64}. Did not test
suse11, but I can't imagine why it would be any different. The behavior is as
expected.
How soon do you think this will be made into a release?
Original comment by [email protected]
on 12 Feb 2013 at 2:20
from pdsh.
pdsh-2.29 should be out within the next day or so.
Original comment by [email protected]
on 13 Feb 2013 at 12:18
from pdsh.
I've uploaded pdsh-2.29
http://pdsh.googlecode.com/files/pdsh-2.29.tar.bz2
Original comment by [email protected]
on 13 Feb 2013 at 6:06
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
- 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.