LISTSERV mailing list manager LISTSERV 16.5

Help for QSERV-L Archives


QSERV-L Archives

QSERV-L Archives


QSERV-L@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

QSERV-L Home

QSERV-L Home

QSERV-L  April 2015

QSERV-L April 2015

Subject:

Re: Diagnosing and debugging xrootd-related problems (xrd)

From:

Andrew Hanushevsky <[log in to unmask]>

Reply-To:

General discussion for qserv (LSST prototype baseline catalog)

Date:

Thu, 23 Apr 2015 19:00:41 -0700

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (83 lines)

Just for completeness, xrdfs is the follow-on replacement for xrd. The xrdfs 
command is based on the new client and is generally more user-friendly.

Andy

-----Original Message----- 
From: Daniel L. Wang
Sent: Thursday, April 23, 2015 4:56 PM
To: qserv-l
Subject: [QSERV-L] Diagnosing and debugging xrootd-related problems (xrd)

Hello,

I would like to draw your attention to an xrootd utility that can be
helpful in testing/diagnosing xrootd-related problems in qserv.

Have a look at "xrd". You can think of it as a command-line tool that
speaks the xrootd protocol. It supports several commands and using it is
generally far easier than writing code that links to xrootd client
libraries and wondering whether you're doing it right.

Example:
----------
[danielw@lsst-dbdev2 xrdbuild]$ src/xrd
(C) 2004-2010 by the Xrootd group. Xrootd version: v20150319-d2df123
Welcome to the xrootd command line interface.
Type 'help' for a list of available commands.
> locateall /chk/qservTest_case01_qserv
Not connected to any server.

> connect lsst-dbdev2:1094
root://lsst-dbdev2.ncsa.illinois.edu:1094//> locateall
/chk/qservTest_case01_qserv
No matching files were found.

root://lsst-dbdev2.ncsa.illinois.edu:1094//> locateall
/chk/qservTest_case01_qserv/6630


------------- Location #1
InfoType: kXrdcLocDataServer
CanWrite: true
Location: '141.142.237.34:1099'

root://lsst-dbdev2.ncsa.illinois.edu:1094//> locateall
/chk/qservTest_case01_qserv/6639123
No matching files were found.

root://lsst-dbdev2.ncsa.illinois.edu:1094//> Goodbye.

[danielw@lsst-dbdev2 xrdbuild]$
----------

Note that when you connect, you should always connect to the xrootd
daemon, because there is no client protocol for the cmsd.  Still, you
can use this to connect to xrootd daemons to see what they know. I think
you can use it to perform the sort of cold-start precaching that would
speed up the first queries on a cluster whose redirector has just been
restarted. We could probably use a similar command-line tool that, say,
could issue queries as a sort of one-shot czar without bringing the czar
up and down.

So, when you get chunk missing errors, or weird error messages, point
this at the cluster and see what happens. Unfortunately, there isn't any
such command-line tool for XrdSsi (though I think a simple one could be
made: push a stream of bytes to a server addressed by a path, and dump
everything that comes back).

Good luck,
-Daniel

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1 

########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the QSERV-L list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=QSERV-L&A=1

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

March 2018
February 2018
January 2018
December 2017
August 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use