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

[Condor-users] problem submitting jobs with birdbath/axis



Hi!

 

I’m trying to submit a job to Condor using the birdbath / Axis SOAP interface. The job gets submitted but it just sits idle. I was wondering maybe someone else had the same problem and could give me a hint where the error is.

 

Thanks,

 

Bogdan

 

D:\condor\log>condor_q 132

 

-- Submitter: KANDTLKDANLK.ds.jdsu.net : <10.1.220.121:3304> : KANDTLKDANLK.ds.jdsu.net

 ID      OWNER            SUBMITTED     RUN_TIME ST PRI SIZE CMD

 132.0   sta52341        5/21 12:46   0+00:00:00 I  0   0.0  perl.EXE –v

 

D:\condor\log>condor_q 132 –analyze

 

-- Submitter: KANDTLKDANLK.ds.jdsu.net : <10.1.220.121:3304> : KANDTLKDANLK.ds.jdsu.net

 ID      OWNER            SUBMITTED     RUN_TIME ST PRI SIZE CMD

---

132.000:  Run analysis summary.  Of 2 machines,

      0 are rejected by your job's requirements

      0 reject your job because of their own requirements

      0 match but are serving users with a better priority in the pool

      2 match but reject the job for unknown reasons

      0 match but will not currently preempt their existing job

      0 are available to run your job

 

D:\condor\log>condor_q 132 –l

 

-- Submitter: KANDTLKDANLK.ds.jdsu.net : <10.1.220.121:3304> : KANDTLKDANLK.ds.jdsu.net

MyType = "Job"

TargetType = "Machine"

GlobalJobId = "KANDTLKDANLK.ds.jdsu.net#1211388360#132.0"

TransferInput = ""

UserLog = "D:\tmp\tmp\log"

Args = "-v"

Owner = "sta52341"

JobUniverse = 5

Cmd = "C:\Perl\bin\perl.EXE"

QDate = 1211388360

CompletionDate = 0

RemoteWallClockTime = 0.000000

LocalUserCpu = 0.000000

LocalSysCpu = 0.000000

RemoteUserCpu = 0.000000

RemoteSysCpu = 0.000000

CoreSize = -1

ExitStatus = 0

ExitBySignal = FALSE

NumCkpts_RAW = 0

NumCkpts = 0

NumJobStarts = 0

NumRestarts = 0

NumSystemHolds = 0

CommittedTime = 0

TotalSuspensions = 0

LastSuspensionTime = 0

CumulativeSuspensionTime = 0

RootDir = "/"

MinHosts = 1

MaxHosts = 1

CurrentHosts = 0

WantRemoteSyscalls = FALSE

WantCheckpoint = FALSE

WantRemoteIO = TRUE

JobStatus = 1

EnteredCurrentStatus = 1211388360

JobPrio = 0

User = "sta52341@xxxxxxxxxxxxxxxxxxxxxxxx"

NiceUser = FALSE

Env = ""

JobNotification = 0

KillSig = "SIGTERM"

ImageSize_RAW = 0

ImageSize = 0

In = "/dev/null"

Out = "out"

Err = "err"

BufferSize = 524288

BufferBlockSize = 32768

ShouldTransferFiles = "YES"

TransferFiles = "ONEXIT"

WhenToTransferOutput = "ON_EXIT"

PeriodicHold = FALSE

PeriodicRemove = FALSE

PeriodicRelease = FALSE

>

>

CondorVersion = "$CondorVersion: 7.1.0 Apr  1 2008 BuildID: 80895 $"

CondorPlatform = "$CondorPlatform: INTEL-WINNT50 $"

ClusterId = 132

ProcId = 0

Requirements = TRUE

StageInStart = 1

StageInFinish = 1

FilesRetrieved = FALSE

LeaveJobInQueue = FilesRetrieved =?= FALSE && (TRUE)

Arguments = ""

Iwd = "D:\condor/spool\cluster132.proc0.subproc0"

AutoClusterId = 0

AutoClusterAttrs = "JobUniverse,LastCheckpointPlatform,NumCkpts,Requirements,NiceUser"

ServerTime = 1211389050

 

Here is the code I’m using:

 

Schedd schedd = new Schedd(new java.net.URL("http://10.1.220.121:3304"));

birdbath.Transaction xact = schedd.createTransaction();

xact.begin(30);

int cluster = xact.createCluster();

int job = xact.createJob(cluster);

ClassAdStructAttr[] attributes =

      {

                new ClassAdStructAttr("Args", ClassAdAttrType.value3, "-v"),

                new ClassAdStructAttr("In", ClassAdAttrType.value3, "/dev/null"),

                new ClassAdStructAttr("Err", ClassAdAttrType.value3, "err"),

                new ClassAdStructAttr("Out", ClassAdAttrType.value3, "out"),

                new ClassAdStructAttr("UserLog", ClassAdAttrType.value3, "D:\\tmp\\tmp\\log")

            };

xact.submit(cluster, job, null, UniverseType.VANILLA, "C:\\Perl\\bin\\perl.EXE", null, null, attributes, null);

xact.commit();