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  September 2013

QSERV-L September 2013

Subject:

Re: Fwd: QMS and partitioning

From:

"Daniel L. Wang" <[log in to unmask]>

Reply-To:

General discussion for qserv (LSST prototype baseline catalog)

Date:

Tue, 3 Sep 2013 15:13:01 -0700

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (135 lines)

Just get a mirror of the LSST database (for the data) and qms_qms1 
qms_qms1_LSST databases from the mysqld accessible via 
/u1/local/mysql.sock .

Once you've populated your own mysqld, then you should be able to 
restart the qms (it should pick up the new metadata) and the qserv 
frontend (it should pull the right setttings from the restarted qms).

-Daniel

On 09/03/2013 03:07 PM, Bill Chickering wrote:
> Great, thanks! Where, specifically, is the data located? I would like to load this data into my dev instance of qserv, using the same partitioning parameters you use.
> -- Bill
>
> On Sep 3, 2013, at 3:01 PM, "Daniel L. Wang" <[log in to unmask]> wrote:
>
>> You are welcome to use the pt11 data that I am using on lsst-dev01.
>>
>> The old partitioner still works, and its performance is adequate at pt11 scale.
>>
>> -Daniel
>>
>> On 09/03/2013 11:58 AM, Bill Chickering wrote:
>>> Thanks, Douglas. Unfortunately, neither 60 stripes, 20 substripes nor 85 stripes, 12 substripes seems to work. Do the contents of ObjectPartitions.csv provide any clues?:
>>> 100,0,1628411,0.0,9.47368421053,0.0,9.0,0.01667,0.0168777936529
>>> 118,1,379476,350.526315789,360.0,0.0,9.0,0.01667,0.0168777936529
>>> 80,5,1631301,0.0,9.47368421053,-9.0,0.0,0.01667,0.0168777936529
>>> 98,6,373153,350.526315789,360.0,-9.0,0.0,0.01667,0.0168777936529
>>>
>>> Meanwhile, if anyone can direct me to an alternative dataset that is partitioned with known parameters, I might be able to work with that. Otherwise, I am unable to work with the latest versions of qserv that incorporate qms.
>>>
>>> -- Bill
>>>
>>>
>>> On Sep 3, 2013, at 8:41 AM, Douglas Smith <[log in to unmask]> wrote:
>>>
>>>> On 09/02/2013 05:16 PM, Bill Chickering wrote:
>>>>> Dear Qserv Team -
>>>>>
>>>>> I have yet to resolve my metadata/partitioning issues. I am not able to proceed without at least one of the following:
>>>>>
>>>>> 1) Repair my present instance of qserv, which uses pt11 object data from /u1/douglas/testing/data. This is broken because I do not know the correct options to provide qms. Perhaps Douglas can provide this information.
>>>> Ok, I can't find the exact details on how I made this data, it was a while ago
>>>> there.  But it was either 60 stripes, 20 substripes, or 85 stripes, 12 substripes.
>>>> Most of the partition testing I've done as been with 85 stripes, 12 substripes.
>>>> But there was a very early test that I did with 60 stripes and 20 substripes,
>>>> and that might be this data.
>>>>
>>>> You can try those options, and see how that goes.
>>>>
>>>>> 2) Alternative partitioned data with known qms options. Daniel, I believe you mentioned you could provide this.
>>>>>
>>>>> 3) I could partition data myself. To do this, I believe I need the new partitioner. The Trac pages say the source for this can be found at qserv/admin/dupr, however, I do not see this on the master branch. On which branch, or where else, can I find this?
>>>>>
>>>> I was going to say, wait, it is there, and it has been there, hasn't it?
>>>> But I just looked at the install that I setup for the head of the master
>>>> from last Thurs., and yeah, I don't see that there.  Didn't Serge merge
>>>> that into master yet?
>>>>
>>>> Douglas
>>>>
>>>>
>>>>> Thanks in advance,
>>>>> Bill
>>>>>
>>>>> Begin forwarded message:
>>>>>
>>>>>> *From: *Bill Chickering <[log in to unmask] <mailto:[log in to unmask]>>
>>>>>> *Subject: **Fwd: QMS and partitioning*
>>>>>> *Date: *September 1, 2013 8:08:36 PM PDT
>>>>>> *To: *Douglas Smith <[log in to unmask] <mailto:[log in to unmask]>>
>>>>>>
>>>>>> Hi Douglas -
>>>>>>
>>>>>> Still haven't resolved my metadata issues. Could you please send me the options you use for the pt11 data (i.e. the data at /u1/douglas/testing/data on lsst-dev03).
>>>>>>
>>>>>> Thanks,
>>>>>> Bill
>>>>>>
>>>>>> Begin forwarded message:
>>>>>>
>>>>>>> *From: *Bill Chickering <[log in to unmask] <mailto:[log in to unmask]>>
>>>>>>> *Subject: **QMS and partitioning*
>>>>>>> *Date: *August 28, 2013 7:25:12 PM PDT
>>>>>>> *To: *Douglas Smith <[log in to unmask] <mailto:[log in to unmask]>>
>>>>>>> *Cc: *Serge Monkewitz <[log in to unmask] <mailto:[log in to unmask]>>
>>>>>>>
>>>>>>> Hi Douglas -
>>>>>>>
>>>>>>> (Douglas, I think you're the right person for this email. Serge, if you would be so awesome as to scan through this email, I'd really appreciate it. I believe you wrote the partitioning logic, so perhaps you'll see what I'm doing wrong.)
>>>>>>>
>>>>>>> On the surface, my master branch instance of qserv seems to be working correctly. Some issues remain, however. In particular, when I submit the query: "select count(*) from Object;", only records from chunk 80 are included. I have three other chunks, however: 98, 100, and 118. These three chunks are incorrectly excluded from all of my queries. I suspect this is due to incorrect meta data.
>>>>>>>
>>>>>>> I'm using the pt11 data from /u1/douglas/testing/data/ on last-dev03. I've only loaded the Object table. Meanwhile, the script I'm using to initialize my QMS data is for pt12 data, as evidenced by its name: qms_setup_pt12.sh. Here are the contents of my version of qms_setup_pt12.sh:
>>>>>>> cd $SANDBOX
>>>>>>> export PATH=$SANDBOX/bin:$PATH
>>>>>>> export PYTHONPATH=$SANDBOX/qserv/meta/dist
>>>>>>>
>>>>>>> #reset all meta data:
>>>>>>>
>>>>>>> ./qserv/meta/bin/metaClientTool.py destroyMeta
>>>>>>> ./qserv/meta/bin/metaClientTool.py installMeta
>>>>>>>
>>>>>>> #setup database and tables
>>>>>>>
>>>>>>> #./qserv/meta/bin/metaClientTool.py createDb LSST partitioning=on partitioningStrategy=sphBox defaultOverlap_fuzziness=0 defaultOverlap_nearNeighbor=0.025 nStripes=85 nSubStripes=12
>>>>>>> ./qserv/meta/bin/metaClientTool.py createDb LSST partitioning=on partitioningStrategy=sphBox defaultOverlap_fuzziness=0 defaultOverlap_nearNeighbor=0.025 nStripes=20 nSubStripes=12
>>>>>>>
>>>>>>> ./qserv/meta/bin/metaClientTool.py createTable LSST tableName=Object partitioning=on schemaFile=$SANDBOX/qserv/master/examples/sampleData/Object.sql overlap=0.025 phiColName=ra_PS thetaColName=decl_PS objIdColName=objectId logicalPart=2 physChunking=0x0021
>>>>>>>
>>>>>>> Notice that I set nStripes=20. Originally, this value was different. Daniel made the observation that within ObjectPartitions.csv, the sixth or seventh columns contained +/-9.0, which implies 20 stripes. But what about nSubStripes and the other options provided to the createDb command? Are erroneous option values here responsible for why 3 of 4 of my chunks are ignored?
>>>>>>>
>>>>>>> Any insight insight will be greatly appreciated.
>>>>>>>
>>>>>>> Thanks!
>>>>>>> Bill
>>>>> ------------------------------------------------------------------------
>>>>>
>>>>> 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

########################################################################
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