airavata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Christie (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AIRAVATA-2932) Exception thrown when trying to add a job submission protocol
Date Thu, 01 Nov 2018 17:47:00 GMT

     [ https://issues.apache.org/jira/browse/AIRAVATA-2932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Marcus Christie updated AIRAVATA-2932:
--------------------------------------
    Description: 
When creating a new compute resource, added the description and queue successfully. Then selected
SSH, port, bin path, etc and tried to add the submission protocol and exception thrown. - Error
while adding job submission interface to resource compute resource. More info : null

 

And the job submission module is not been added.

Same exception thrown for data movement interface as well.

Stacktrace
{noformat}
2018-11-01 14:17:59,220 [pool-9-thread-2] ERROR o.a.t.server.TThreadPoolServer  - Error occurred
during processing of m
essage.
org.apache.openjpa.persistence.PersistenceException: null
        at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:1029)
        at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:928)
        at org.apache.openjpa.kernel.BrokerImpl.isDetached(BrokerImpl.java:4634)
        at org.apache.openjpa.kernel.BrokerImpl.isDetached(BrokerImpl.java:4603)
        at org.apache.openjpa.kernel.VersionAttachStrategy.attach(VersionAttachStrategy.java:83)
        at org.apache.openjpa.kernel.AttachManager.attach(AttachManager.java:252)
        at org.apache.openjpa.kernel.AttachStrategy.attachCollection(AttachStrategy.java:369)
        at org.apache.openjpa.kernel.AttachStrategy.replaceList(AttachStrategy.java:430)
        at org.apache.openjpa.kernel.AttachStrategy.attachField(AttachStrategy.java:253)
        at org.apache.openjpa.kernel.VersionAttachStrategy.attach(VersionAttachStrategy.java:166)
        at org.apache.openjpa.kernel.AttachManager.attach(AttachManager.java:252)
        at org.apache.openjpa.kernel.AttachStrategy.attachField(AttachStrategy.java:232)
        at org.apache.openjpa.kernel.VersionAttachStrategy.attach(VersionAttachStrategy.java:158)
        at org.apache.openjpa.kernel.AttachManager.attach(AttachManager.java:252)
        at org.apache.openjpa.kernel.AttachManager.attach(AttachManager.java:105)
        at org.apache.openjpa.kernel.BrokerImpl.attach(BrokerImpl.java:3514)
        at org.apache.openjpa.kernel.DelegatingBroker.attach(DelegatingBroker.java:1213)
        at org.apache.openjpa.persistence.EntityManagerImpl.merge(EntityManagerImpl.java:879)
        at org.apache.airavata.registry.core.repositories.appcatalog.JobSubmissionInterfaceRepository.lambda$addJobSubm
ission$0(JobSubmissionInterfaceRepository.java:43)
        at org.apache.airavata.registry.core.repositories.AbstractRepository.execute(AbstractRepository.java:117)
        at org.apache.airavata.registry.core.repositories.appcatalog.JobSubmissionInterfaceRepository.addJobSubmission(
JobSubmissionInterfaceRepository.java:43)
        at org.apache.airavata.registry.core.repositories.appcatalog.ComputeResourceRepository.addJobSubmissionProtocol
(ComputeResourceRepository.java:283)
        at org.apache.airavata.registry.api.service.handler.RegistryServerHandler.addJobSubmissionInterface(RegistrySer
verHandler.java:4268)
        at org.apache.airavata.registry.api.service.handler.RegistryServerHandler.addSSHJobSubmissionDetails(RegistrySe
rverHandler.java:3327)
        at org.apache.airavata.registry.api.RegistryService$Processor$addSSHJobSubmissionDetails.getResult(RegistryServ
ice.java:17402)
        at org.apache.airavata.registry.api.RegistryService$Processor$addSSHJobSubmissionDetails.getResult(RegistryServ
ice.java:17386)
        at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
        at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
        at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NullPointerException: null
        at org.apache.airavata.registry.core.entities.appcatalog.BatchQueuePK.hashCode(BatchQueuePK.java:71)
        at org.apache.openjpa.util.ObjectId.idHash(ObjectId.java:58)
        at org.apache.openjpa.util.OpenJPAId.hashCode(OpenJPAId.java:124)
        at org.apache.commons.collections.map.AbstractHashedMap.hash(AbstractHashedMap.java:372)
        at org.apache.commons.collections.map.AbstractHashedMap.getEntry(AbstractHashedMap.java:432)
        at org.apache.commons.collections.map.AbstractReferenceMap.getEntry(AbstractReferenceMap.java:404)
        at org.apache.commons.collections.map.AbstractReferenceMap.get(AbstractReferenceMap.java:229)
        at org.apache.openjpa.kernel.ManagedCache.getById(ManagedCache.java:67)
        at org.apache.openjpa.kernel.BrokerImpl.getStateManagerImplById(BrokerImpl.java:4672)
        at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:952)
        ... 31 common frames omitted
{noformat} 

  was:
When creating a new compute resource, added the description and queue successfully. Then selected
SSH, port, bin path, etc and tried to add the submission protocol and exception thrown. - Error
while adding job submission interface to resource compute resource. More info : null

 

And the job submission module is not been added.

Same exception thrown for data movement interface as well.

 


> Exception thrown when trying to add a job submission protocol
> -------------------------------------------------------------
>
>                 Key: AIRAVATA-2932
>                 URL: https://issues.apache.org/jira/browse/AIRAVATA-2932
>             Project: Airavata
>          Issue Type: Bug
>          Components: Registry API
>    Affects Versions: 0.18
>         Environment: https://dev.scigap.org
>            Reporter: Eroma
>            Assignee: Marcus Christie
>            Priority: Major
>             Fix For: 0.18
>
>         Attachments: Screen Shot 2018-11-01 at 10.02.22 AM.png
>
>
> When creating a new compute resource, added the description and queue successfully. Then
selected SSH, port, bin path, etc and tried to add the submission protocol and exception thrown.
- Error while adding job submission interface to resource compute resource. More info : null
>  
> And the job submission module is not been added.
> Same exception thrown for data movement interface as well.
> Stacktrace
> {noformat}
> 2018-11-01 14:17:59,220 [pool-9-thread-2] ERROR o.a.t.server.TThreadPoolServer  - Error
occurred during processing of m
> essage.
> org.apache.openjpa.persistence.PersistenceException: null
>         at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:1029)
>         at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:928)
>         at org.apache.openjpa.kernel.BrokerImpl.isDetached(BrokerImpl.java:4634)
>         at org.apache.openjpa.kernel.BrokerImpl.isDetached(BrokerImpl.java:4603)
>         at org.apache.openjpa.kernel.VersionAttachStrategy.attach(VersionAttachStrategy.java:83)
>         at org.apache.openjpa.kernel.AttachManager.attach(AttachManager.java:252)
>         at org.apache.openjpa.kernel.AttachStrategy.attachCollection(AttachStrategy.java:369)
>         at org.apache.openjpa.kernel.AttachStrategy.replaceList(AttachStrategy.java:430)
>         at org.apache.openjpa.kernel.AttachStrategy.attachField(AttachStrategy.java:253)
>         at org.apache.openjpa.kernel.VersionAttachStrategy.attach(VersionAttachStrategy.java:166)
>         at org.apache.openjpa.kernel.AttachManager.attach(AttachManager.java:252)
>         at org.apache.openjpa.kernel.AttachStrategy.attachField(AttachStrategy.java:232)
>         at org.apache.openjpa.kernel.VersionAttachStrategy.attach(VersionAttachStrategy.java:158)
>         at org.apache.openjpa.kernel.AttachManager.attach(AttachManager.java:252)
>         at org.apache.openjpa.kernel.AttachManager.attach(AttachManager.java:105)
>         at org.apache.openjpa.kernel.BrokerImpl.attach(BrokerImpl.java:3514)
>         at org.apache.openjpa.kernel.DelegatingBroker.attach(DelegatingBroker.java:1213)
>         at org.apache.openjpa.persistence.EntityManagerImpl.merge(EntityManagerImpl.java:879)
>         at org.apache.airavata.registry.core.repositories.appcatalog.JobSubmissionInterfaceRepository.lambda$addJobSubm
> ission$0(JobSubmissionInterfaceRepository.java:43)
>         at org.apache.airavata.registry.core.repositories.AbstractRepository.execute(AbstractRepository.java:117)
>         at org.apache.airavata.registry.core.repositories.appcatalog.JobSubmissionInterfaceRepository.addJobSubmission(
> JobSubmissionInterfaceRepository.java:43)
>         at org.apache.airavata.registry.core.repositories.appcatalog.ComputeResourceRepository.addJobSubmissionProtocol
> (ComputeResourceRepository.java:283)
>         at org.apache.airavata.registry.api.service.handler.RegistryServerHandler.addJobSubmissionInterface(RegistrySer
> verHandler.java:4268)
>         at org.apache.airavata.registry.api.service.handler.RegistryServerHandler.addSSHJobSubmissionDetails(RegistrySe
> rverHandler.java:3327)
>         at org.apache.airavata.registry.api.RegistryService$Processor$addSSHJobSubmissionDetails.getResult(RegistryServ
> ice.java:17402)
>         at org.apache.airavata.registry.api.RegistryService$Processor$addSSHJobSubmissionDetails.getResult(RegistryServ
> ice.java:17386)
>         at org.apache.thrift.ProcessFunction.process(ProcessFunction.java:39)
>         at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:39)
>         at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         at java.lang.Thread.run(Thread.java:748)
> Caused by: java.lang.NullPointerException: null
>         at org.apache.airavata.registry.core.entities.appcatalog.BatchQueuePK.hashCode(BatchQueuePK.java:71)
>         at org.apache.openjpa.util.ObjectId.idHash(ObjectId.java:58)
>         at org.apache.openjpa.util.OpenJPAId.hashCode(OpenJPAId.java:124)
>         at org.apache.commons.collections.map.AbstractHashedMap.hash(AbstractHashedMap.java:372)
>         at org.apache.commons.collections.map.AbstractHashedMap.getEntry(AbstractHashedMap.java:432)
>         at org.apache.commons.collections.map.AbstractReferenceMap.getEntry(AbstractReferenceMap.java:404)
>         at org.apache.commons.collections.map.AbstractReferenceMap.get(AbstractReferenceMap.java:229)
>         at org.apache.openjpa.kernel.ManagedCache.getById(ManagedCache.java:67)
>         at org.apache.openjpa.kernel.BrokerImpl.getStateManagerImplById(BrokerImpl.java:4672)
>         at org.apache.openjpa.kernel.BrokerImpl.find(BrokerImpl.java:952)
>         ... 31 common frames omitted
> {noformat} 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message