Author: degenaro
Date: Sun Jan 20 16:17:47 2019
New Revision: 1851707

URL: http://svn.apache.org/viewvc?rev=1851707&view=rev
Log:
UIMA-5958 DUCC resources distribution tool

Modified:
    uima/uima-ducc/trunk/src/main/admin/ducc_rsync

Modified: uima/uima-ducc/trunk/src/main/admin/ducc_rsync
URL: 
http://svn.apache.org/viewvc/uima/uima-ducc/trunk/src/main/admin/ducc_rsync?rev=1851707&r1=1851706&r2=1851707&view=diff
==============================================================================
--- uima/uima-ducc/trunk/src/main/admin/ducc_rsync (original)
+++ uima/uima-ducc/trunk/src/main/admin/ducc_rsync Sun Jan 20 16:17:47 2019
@@ -93,10 +93,10 @@ class DuccRsync(DuccUtil):
         else:
             list.append(node)
     
-    # update the specified node, dir
+    # update the specified node, subdir
     def rsync(self,node,user,subdir):
         dir = os.path.join(DUCC_HOME,subdir)
-        cmd = self.rsync_cmd+' '+self.rsync_flags+' '+dir+' 
'+user+'@'+node+':'+dir
+        cmd = self.rsync_cmd+' '+self.rsync_flags+' '+dir+' 
'+user+'@'+node+':'+DUCC_HOME
         if(self.args.debug):
             print cmd
         proc = subprocess.Popen(cmd, shell=True, bufsize=0, 
stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
@@ -109,7 +109,7 @@ class DuccRsync(DuccUtil):
             for line in lines:
                 print line
     
-    # create list of node to be updated
+    # create list of nodes to be updated
     def create_node_list(self):
         node_list = []
         # head


Reply via email to