Skip to content

Instantly share code, notes, and snippets.

@rishiloyola
Created October 24, 2017 17:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rishiloyola/d75aea0582c38e6a8707f2eb8a49765e to your computer and use it in GitHub Desktop.
Save rishiloyola/d75aea0582c38e6a8707f2eb8a49765e to your computer and use it in GitHub Desktop.
[rshah@main-agent transfer2go]# ./transfer2go -config test/config/main.json -auth=false
WARN[0000] WARNING this agent is not registered with remote ones, either provide register in your config or invoke register API call
INFO[0000] Agent Auth=false Config="<Config: name=MainAgent url=http://localhost:8989 port=8989 base= catalog=test/catalog/main.json protocol=http backend=/tmp/transfer2go/main tool=/bin/cp opts= mfile=MainAgentMetrics.log minterval=60 staticdir=static workders=10 queuesize=100 register= type=pull router=true>" Model=pull
INFO[0000] Catalog="{sqlite3 test/catalog/main.db }"
INFO[0000] Enabling router model TrainInterval=24h
INFO[0000] Router successfully retrained DataFile=test/data/history.csv TrainInterval=24h
INFO[0000] Requests restored from db
INFO[0000] Start dispatcher QueueSize=100 Transfer Type=pull Workers=10
INFO[0013] RequestHandler received request Request="{0 /a/b/c http://localhost:8000 SourceAgent http://131.154.141.247:9000 DestinationAgent http://localhost:8989 MainAgent 0 0 }"
INFO[0013] Catalog: InsertRequest Request="{0 /a/b/c http://localhost:8000 SourceAgent http://131.154.141.247:9000 DestinationAgent http://localhost:8989 MainAgent 0 9f6390e0-41a4-58e0-a64e-1fc127974836 0 }"
INFO[0013] Request Saved Request="<TransferRequest id=9f6390e0-41a4-58e0-a64e-1fc127974836 priority=0 status= ts=0 lfn= block= dataset=/a/b/c srcUrl=http://localhost:8000 srcAlias=SourceAgent dstUrl=http://131.154.141.247:9000 dstAlias=DestinationAgent regUrl=http://localhost:8989 regAlias=MainAgent delay=0>"
INFO[0034] ActionHandler, receive new request Job="<Job TransferRequest=<TransferRequest id=9f6390e0-41a4-58e0-a64e-1fc127974836 priority=0 status= ts=0 lfn= block= dataset= srcUrl= srcAlias= dstUrl= dstAlias= regUrl= regAlias= delay=0> action=approve>"
INFO[0034] RedirectRequest Router=true TransferRequest="<TransferRequest id=9f6390e0-41a4-58e0-a64e-1fc127974836 priority=0 status= ts=0 lfn= block= dataset=/a/b/c srcUrl=http://localhost:8000 srcAlias=SourceAgent dstUrl=http://131.154.141.247:9000 dstAlias=DestinationAgent regUrl=http://localhost:8989 regAlias=MainAgent delay=0>" TransferType=pull
INFO[0034] ActionHandler, successfully send request to agent Job="<Job TransferRequest=<TransferRequest id=9f6390e0-41a4-58e0-a64e-1fc127974836 priority=0 status= ts=0 lfn= block= dataset=/a/b/c srcUrl=http://localhost:8000 srcAlias=SourceAgent dstUrl=http://131.154.141.247:9000 dstAlias=DestinationAgent regUrl=http://localhost:8989 regAlias=MainAgent delay=0> action=approve>"
INFO[0194] ActionHandler, receive new request Job="<Job TransferRequest=<TransferRequest id=9f6390e0-41a4-58e0-a64e-1fc127974836 priority=0 status=finished ts=0 lfn=file1.root block=/a/b/c#123 dataset=/a/b/c srcUrl=http://localhost:8000 srcAlias=SourceAgent dstUrl=http://131.154.141.247:9000 dstAlias=DestinationAgent regUrl=http://localhost:8989 regAlias=MainAgent delay=0> action=update>"
INFO[0214] ActionHandler, receive new request Job="<Job TransferRequest=<TransferRequest id=9f6390e0-41a4-58e0-a64e-1fc127974836 priority=0 status=finished ts=0 lfn=file2.root block=/a/b/c#123 dataset=/a/b/c srcUrl=http://localhost:8000 srcAlias=SourceAgent dstUrl=http://131.154.141.247:9000 dstAlias=DestinationAgent regUrl=http://localhost:8989 regAlias=MainAgent delay=0> action=update>"
INFO[0222] ActionHandler, receive new request Job="<Job TransferRequest=<TransferRequest id=9f6390e0-41a4-58e0-a64e-1fc127974836 priority=0 status=finished ts=0 lfn=file8.root block=/a/b/c#123 dataset=/a/b/c srcUrl=http://localhost:8000 srcAlias=SourceAgent dstUrl=http://131.154.141.247:9000 dstAlias=DestinationAgent regUrl=http://localhost:8989 regAlias=MainAgent delay=0> action=update>"
INFO[0314] ActionHandler, receive new request Job="<Job TransferRequest=<TransferRequest id=9f6390e0-41a4-58e0-a64e-1fc127974836 priority=0 status=finished ts=0 lfn=file10.root block=/a/b/c#123 dataset=/a/b/c srcUrl=http://localhost:8000 srcAlias=SourceAgent dstUrl=http://131.154.141.247:9000 dstAlias=DestinationAgent regUrl=http://localhost:8989 regAlias=MainAgent delay=0> action=update>"
INFO[0377] ActionHandler, receive new request Job="<Job TransferRequest=<TransferRequest id=9f6390e0-41a4-58e0-a64e-1fc127974836 priority=0 status=finished ts=0 lfn=file3.root block=/a/b/c#123 dataset=/a/b/c srcUrl=http://localhost:8000 srcAlias=SourceAgent dstUrl=http://131.154.141.247:9000 dstAlias=DestinationAgent regUrl=http://localhost:8989 regAlias=MainAgent delay=0> action=update>"
INFO[0500] ActionHandler, receive new request Job="<Job TransferRequest=<TransferRequest id=9f6390e0-41a4-58e0-a64e-1fc127974836 priority=0 status=finished ts=0 lfn=file6.root block=/a/b/c#123 dataset=/a/b/c srcUrl=http://localhost:8000 srcAlias=SourceAgent dstUrl=http://131.154.141.247:9000 dstAlias=DestinationAgent regUrl=http://localhost:8989 regAlias=MainAgent delay=0> action=update>"
INFO[0503] ActionHandler, receive new request Job="<Job TransferRequest=<TransferRequest id=9f6390e0-41a4-58e0-a64e-1fc127974836 priority=0 status=finished ts=0 lfn=file9.root block=/a/b/c#123 dataset=/a/b/c srcUrl=http://localhost:8000 srcAlias=SourceAgent dstUrl=http://131.154.141.247:9000 dstAlias=DestinationAgent regUrl=http://localhost:8989 regAlias=MainAgent delay=0> action=update>"
INFO[0529] ActionHandler, receive new request Job="<Job TransferRequest=<TransferRequest id=9f6390e0-41a4-58e0-a64e-1fc127974836 priority=0 status=finished ts=0 lfn=file7.root block=/a/b/c#123 dataset=/a/b/c srcUrl=http://localhost:8000 srcAlias=SourceAgent dstUrl=http://131.154.141.247:9000 dstAlias=DestinationAgent regUrl=http://localhost:8989 regAlias=MainAgent delay=0> action=update>"
INFO[0537] ActionHandler, receive new request Job="<Job TransferRequest=<TransferRequest id=9f6390e0-41a4-58e0-a64e-1fc127974836 priority=0 status=finished ts=0 lfn=file4.root block=/a/b/c#123 dataset=/a/b/c srcUrl=http://localhost:8000 srcAlias=SourceAgent dstUrl=http://131.154.141.247:9000 dstAlias=DestinationAgent regUrl=http://localhost:8989 regAlias=MainAgent delay=0> action=update>"
INFO[0944] ActionHandler, receive new request Job="<Job TransferRequest=<TransferRequest id=9f6390e0-41a4-58e0-a64e-1fc127974836 priority=0 status=error ts=0 lfn=file5.root block=/a/b/c#123 dataset=/a/b/c srcUrl=http://localhost:8000 srcAlias=SourceAgent dstUrl=http://131.154.141.247:9000 dstAlias=DestinationAgent regUrl=http://localhost:8989 regAlias=MainAgent delay=480> action=update>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment