[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Condor-users] Problems with -attr?



Hi:

I seem to remember that condor_status and condor_q when asked explicitly for a subset of class-ad attributes would return them in the order they were requested.  It seems that this is no longer the case in 7.5.3.  

For instance,

$ condor_status -xml -attr Name,Arch,State,Activity,OpSys

Would return something like this:

<?xml version="1.0"?>
<!DOCTYPE classads SYSTEM "classads.dtd">
<classads>
<c>
    ...
    <a n="Name"><s>zodiax.cs.uleth.ca</s></a>
    <a n="Arch"><s>SUN4u</s></a>
    <a n="State"><s>Unclaimed</s></a>
    <a n="Activity"><s>Idle</s></a>
    <a n="OpSys"><s>SOLARIS210</s></a>
    ...
</c>
...
</classads>

Instead I'm now seeing this:

<?xml version="1.0"?>
<!DOCTYPE classads SYSTEM "classads.dtd">
<classads>
<c>
    ...
    <a n="Name"><s>zodiax.cs.uleth.ca</s></a>
    <a n="OpSys"><s>SOLARIS210</s></a>
    <a n="State"><s>Unclaimed</s></a>
    <a n="Arch"><s>SUN4u</s></a>
    <a n="Activity"><s>Idle</s></a>
    ...
</c>
...
</classads>

Am I misremembering this?

-B