Pjotr,

i can only answer on the first two questions. I cc'd Neill, maybe he
knows about the IndexSearch stuff.

> Hello
>
> I have a few questions:
>
> 1. I have a multijob that consists of 5 equal subjob. My question is what
> happens if e.g. two of the subjobs are executed on the same host. If they
> have stagein stageout and deleting of e.g. an executable, can they get in
> trouble? So that they try to delete the same file at the same time?
>

Yes, they can get into trouble. Each subjob of a multijob is an independent
job and it's up to the user to handle dependencies between jobs properly.
Trying to delete the same file on the same host in different subjobs will
cause problems.

> 2. I tested a few multijobs with various subjobs. One multijob consisted
> of two subjobs where one had stagein and stageout. I executed it but the
> notification were only active - cleanup - done but no stagein stageout?
> Are there some problems with multijobs notifications because i read
> somewhere that multijobs should be executed in batch mode?
>

No, this is the way multijobs had been designed:
Only if all subjobs reached a certain state the multijob will be in
that state. The multijob will always be in the state of the "slowest"
subjob, but only if all other subjobs had been in that state too.
Example: If 4 out of 5 are in state Active, but 1 is still in state
Unsubmitted, the state of the multijob will be Unsubmitted because all
subjobs already had been in state Unsubmitted, but not in state Active.
Same with state Done: The state of the multijob will only be done if all
subjobs are in state Done.
Regarding your example: A multijob will never be in state StageIn if
at least one subjob does not include stageIn because not all subjobs
will ever be in state StageIn.

Martin

> 3.) I try to make an IndexSearch but it seems that I have some problems.
> The container reports:
>
> uthentication failed
> . Caused by
> Failure unspecified at GSS-API level
> . Caused by
> COM.claymoresystems.ptls.SSLCaughtAlertException: Unknown certificate
> processing problem
>         at
> COM.claymoresystems.ptls.SSLRecordReader.processAlert(SSLRecordReader.java:153)
>         at
> COM.claymoresystems.ptls.SSLRecordReader.readRecord(SSLRecordReader.java:90)
>         at
> COM.claymoresystems.ptls.SSLHandshake.recvHandshakeToken(SSLHandshake.java:177)
>         at
> COM.claymoresystems.ptls.SSLHandshakeServer.processTokens(SSLHandshakeServer.java:179)
>         at
> COM.claymoresystems.ptls.SSLHandshake.processHandshake(SSLHandshake.java:135)
>         at
> org.globus.gsi.gssapi.GlobusGSSContextImpl.acceptSecContext(GlobusGSSContextImpl.java:284)
>         at
> org.globus.gsi.gssapi.net.GssSocket.authenticateServer(GssSocket.java:124)
>         at
> org.globus.gsi.gssapi.net.GssSocket.startHandshake(GssSocket.java:142)
>         at
> org.globus.gsi.gssapi.net.GssSocket.getOutputStream(GssSocket.java:161)
>         at
> org.globus.wsrf.container.GSIServiceThread.process(GSIServiceThread.java:98)
>         at
> org.globus.wsrf.container.ServiceThread.run(ServiceThread.java:291)
>
>
>
> There seems to be a problem by delegating the certificate? My java code
> is:
>
>
>
>
>       EndpointReferenceType indexEPR = new EndpointReferenceType();
>
>               try {
>                       indexEPR.setAddress(new
> Address("https://127.0.0.2:8443/wsrf/services/DefaultIndexService";));
>
>               } catch (Exception e) {
>                       System.out.println("ERROR: Malformed index URI '" );
>                       //throw new RemoteException("ERROR: Malformed index URI 
> '" + indexURI
>                       //              + "'", e);
>               }
>
>               // Get QueryResourceProperties portType
>               WSResourcePropertiesServiceAddressingLocator queryLocator;
>
>               queryLocator = new 
> WSResourcePropertiesServiceAddressingLocator();
>
>               QueryResourceProperties_PortType query = null;
>               try {
>                       query = 
> queryLocator.getQueryResourcePropertiesPort(indexEPR);
>               } catch (ServiceException e) {
>                       //logger.error("ERROR: Unable to obtain query 
> portType.");
>               //      throw new RemoteException("ERROR: Unable to obtain 
> query portType.",
> e);
>               }
>
>               // Setup security options
>       //((Stub) query)._setProperty(Constants.GSI_TRANSPORT,
>               //              Constants.SIGNATURE);
>               //((Stub) query)._setProperty(Constants.AUTHORIZATION, 
> NoAuthorization
>                       //.getInstance());
>
>
>               //((Stub) query)._setProperty(Constants.GSI_SEC_CONV,
> Constants.ENCRYPTION);
>               ((Stub) query)._setProperty(GSIConstants.GSI_MODE,
> GSIConstants.GSI_MODE_FULL_DELEG);
>               //((Stub) query)._setProperty(Constants.AUTHORIZATION,
> NoAuthorization.getInstance());
>
>
>
>               // The following XPath query retrieves all the files with the 
> specified
>               // name
>               String xpathQuery =  "/*/*/*/*[local-name()='Address']";
>
>               // Create request to QueryResourceProperties
>               QueryExpressionType queryExpr = new QueryExpressionType();
>               try {
>                       queryExpr.setDialect(new 
> URI(WSRFConstants.XPATH_1_DIALECT));
>               } catch (Exception e) {
>               System.out.println("ERROR: Malformed URI
> (WSRFConstants.XPATH_1_DIALECT)");
>                       //throw new RemoteException(
>                               //      "ERROR: Malformed URI 
> (WSRFConstants.XPATH_1_DIALECT)", e);
>               }
>               queryExpr.setValue(xpathQuery);
>
>
>               QueryResourceProperties_Element queryRequest = new
> QueryResourceProperties_Element(
>                               queryExpr);
>
>               // Invoke QueryResourceProperties
>               QueryResourcePropertiesResponse queryResponse = null;
>               try {
>                       queryResponse = 
> query.queryResourceProperties(queryRequest);
>               } catch (RemoteException e) {
>               System.out.println("ERROR: Unable to invoke QueryRP 
> operation.");
>               //      throw new RemoteException(
>                       //              "ERROR: Unable to invoke QueryRP 
> operation.", e);
>               }
>               // The response includes 0 or more entries from the index 
> service.
>               MessageElement[] entries = queryResponse.get_any();
>
>
>
>
>
> --
> Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
> Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
>
>


Reply via email to