Comments (6)
meant to enter as enhancement but can't seem to change it.
Original comment by [email protected]
on 2 May 2011 at 10:34
from pdsh.
This was not intentional, but also I'm not exactly sure what the
change in behavior was from your description (sorry). I don't remember
any indentation from recent dshbak, but I'll go back and try a version
from before the refactor.
Would you mind pasting some output from the two versions (include the version
of pdsh from each output). That will help a lot.
Thanks, and sorry. It is toward the end of the day on a Monday ;-)
mark
Original comment by [email protected]
on 2 May 2011 at 10:55
- Changed state: Accepted
from pdsh.
The output lines were indented by one column:
----------------
mpws[108-208]
----------------
pdsh-2.23-1.el6.x86_64
----------------
mpws[209-308]
----------------
pdsh-2.25-1.el6.x86_64
is now:
----------------
mpws[108-208]
----------------
pdsh-2.23-1.el6.x86_64
----------------
mpws[209-308]
----------------
pdsh-2.25-1.el6.x86_64
which seems less readable. Old version was that from
2.11, new was with trunk.
Controllable indent with a new dshbak option might be a
good solution. Maybe I will give it a whirl; in the
meantime current behavior is fine. I only meant it as
enhancement, not bug.
Original comment by [email protected]
on 2 May 2011 at 11:32
from pdsh.
Hm, I guess the change was intentional
(see r1158) This change went into pdsh-2.16 (2008-03-19)
and I guess the extra space (which is actually added
by pdsh in output "host: <output>"), was reported as a bug.
I would be happy to work on or take a dshbak option to prefix output
with a configurable string.
Original comment by [email protected]
on 2 May 2011 at 11:43
- Added labels: Type-Enhancement
- Removed labels: Type-Defect
from pdsh.
The new format is probably better because it's easier
to parse and/or filter for additional processing.
Not a big deal... just kind of curious, erroneously
thought it was part of the dshbak refactoring. I will
maybe give a try sometime if it really bothers me...
you can close the ticket if you like and if I ever get
around to it I'll just send a patch in.
Thanks!
Original comment by [email protected]
on 3 May 2011 at 12:08
from pdsh.
Yeah, I think the idea was that the output in dshbak should be the output that
actually came from the node(s). (Not the output plus leading whitespace)
If you really need an option to prefix output with something, then we can open
another issue. (it actually should be fairly easy, a couple lines of perl),
but if you don't really _need_ it, I'd rather leave dshbak as is. :-)
Original comment by [email protected]
on 3 May 2011 at 8:13
- Changed state: WontFix
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.