Skip to content
Snippets Groups Projects
Commit 52c158ba authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

Task #8598: applied some patches from production

parent 7b45caa4
No related branches found
No related tags found
No related merge requests found
......@@ -186,6 +186,9 @@ class IngestPipeline():
hostname = 'localhost'
cmd = ["cd %s && %s -Xmx256m -cp %s/qpid-properties/lexar001.offline.lofar:%s/ltacp.jar nl.astron.ltacp.client.LtaCp %s %s %s %s" % (self.LocationDir, javacmd, ltacppath, ltacppath, hostname, self.ltacpport, self.PrimaryUri, self.Source)]
else:
if self.HostLocation.startswith('locus') and not self.HostLocation.endswith('offline.lofar'):
self.HostLocation += '.offline.lofar'
# copy data with ltacp from a remote host, so use ssh
if self.PrimaryUri:
cmd = ["ssh", "-T", "ingest@" +self.HostLocation, "cd %s;%s -Xmx256m -cp %s/qpid-properties/lexar001.offline.lofar:%s/ltacp.jar nl.astron.ltacp.client.LtaCp %s %s %s %s" % (self.LocationDir, javacmd, ltacppath, ltacppath, hostname, self.ltacpport, self.PrimaryUri, self.Source)]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment