You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by "Sheryl John (Created) (JIRA)" <ji...@apache.org> on 2012/03/10 00:48:58 UTC

[jira] [Created] (OODT-404) Filemgr query not returning list of values for multi-value key

Filemgr query not returning list of values for multi-value key
--------------------------------------------------------------

                 Key: OODT-404
                 URL: https://issues.apache.org/jira/browse/OODT-404
             Project: OODT
          Issue Type: Bug
          Components: file manager
    Affects Versions: 0.4
            Reporter: Sheryl John
            Priority: Minor
             Fix For: 0.4


Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 

The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "Brian Foster (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228755#comment-13228755 ] 

Brian Foster commented on OODT-404:
-----------------------------------

cas-cli doesn't use: "org.apache.oodt.cas.filemgr.repositorymgr.dirs" or "org.apache.oodt.cas.filemgr.validation.dirs"... the same properties are used across the board for all components:

  -Dorg.apache.oodt.cas.cli.action.spring.config=../policy/cmd-line-actions.xml \
  -Dorg.apache.oodt.cas.cli.option.spring.config=../policy/cmd-line-options.xml \

                
> Filemgr query not returning list of values for multi-value key
> --------------------------------------------------------------
>
>                 Key: OODT-404
>                 URL: https://issues.apache.org/jira/browse/OODT-404
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Sheryl John
>            Assignee: Paul Ramirez
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: filemgr-cli-unit-test-mod.txt, filemgr-lucene-catalog-unit-test-mod.txt
>
>
> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
> The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "Brian Foster (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Foster updated OODT-404:
------------------------------

    Attachment: filemgr-lucene-catalog-unit-test-mod.txt

- attached mod to lucene catalog unit-test to prove that bug is in lucene's getReducedMetadata... getMetadata works fine, but something is wrong with getReducedMetadata
                
> Filemgr query not returning list of values for multi-value key
> --------------------------------------------------------------
>
>                 Key: OODT-404
>                 URL: https://issues.apache.org/jira/browse/OODT-404
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Sheryl John
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: filemgr-cli-unit-test-mod.txt, filemgr-lucene-catalog-unit-test-mod.txt
>
>
> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
> The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227866#comment-13227866 ] 

jiraposter@reviews.apache.org commented on OODT-404:
----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4297/#review5852
-----------------------------------------------------------

Ship it!


LGTM

- brian


On 2012-03-12 20:28:43, Paul Ramirez wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/4297/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2012-03-12 20:28:43)
bq.  
bq.  
bq.  Review request for Chris Mattmann and brian Foster.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  The source of all evil was the getMetadata instead of the getAllMetadata in the LuceneCatalog.getReducedMetadata method 
bq.  
bq.  
bq.  This addresses bug OODT-404.
bq.      https://issues.apache.org/jira/browse/OODT-404
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    http://svn.apache.org/repos/asf/oodt/trunk/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/LuceneCatalog.java 1299812 
bq.    http://svn.apache.org/repos/asf/oodt/trunk/filemgr/src/test/org/apache/oodt/cas/filemgr/catalog/TestLuceneCatalog.java 1299812 
bq.    http://svn.apache.org/repos/asf/oodt/trunk/filemgr/src/test/org/apache/oodt/cas/filemgr/cli/action/TestSqlQueryCliAction.java 1299812 
bq.  
bq.  Diff: https://reviews.apache.org/r/4297/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Paul
bq.  
bq.


                
> Filemgr query not returning list of values for multi-value key
> --------------------------------------------------------------
>
>                 Key: OODT-404
>                 URL: https://issues.apache.org/jira/browse/OODT-404
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Sheryl John
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: filemgr-cli-unit-test-mod.txt, filemgr-lucene-catalog-unit-test-mod.txt
>
>
> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
> The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "Sheryl John (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228666#comment-13228666 ] 

Sheryl John commented on OODT-404:
----------------------------------

Sorry the query works! Forgot to update the cmd-line-options.xml in filemgr's policy. It was reading the url as workflow's url and hence the above error.
Thanks again.
                
> Filemgr query not returning list of values for multi-value key
> --------------------------------------------------------------
>
>                 Key: OODT-404
>                 URL: https://issues.apache.org/jira/browse/OODT-404
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Sheryl John
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: filemgr-cli-unit-test-mod.txt, filemgr-lucene-catalog-unit-test-mod.txt
>
>
> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
> The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: [jira] [Commented] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
Hey Brian,

On Mar 13, 2012, at 5:55 PM, Brian Foster wrote:

> 
> Can't because filemgr.properties is loaded by the client which is created by the action run by cas-cli... the properties wouldn't be set soon enough

Ah, gotcha! Okey dok!

Cheers,
Chris

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattmann@nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Re: [jira] [Commented] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by Brian Foster <ho...@mac.com>.
Can't because filemgr.properties is loaded by the client which is created by the action run by cas-cli... the properties wouldn't be set soon enough

-brian

On Mar 13, 2012, at 04:46 PM, "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov> wrote:

Hey Guys,

Question here though: should these be properties that we set in the filemgr.properties, since that gets flowed through via
the filemgr-client script already?

Cheers,
Chris

On Mar 13, 2012, at 3:26 PM, Ricky Nguyen (Commented) (JIRA) wrote:

> 
> [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228773#comment-13228773 ] 
> 
> Ricky Nguyen commented on OODT-404:
> -----------------------------------
> 
> my mistake, sorry about that. I see it in the bin/filemgr-client script now. great work brian!
> 
>> Filemgr query not returning list of values for multi-value key
>> --------------------------------------------------------------
>> 
>> Key: OODT-404
>> URL: https://issues.apache.org/jira/browse/OODT-404
>> Project: OODT
>> Issue Type: Bug
>> Components: file manager
>> Affects Versions: 0.4
>> Reporter: Sheryl John
>> Assignee: Paul Ramirez
>> Priority: Minor
>> Fix For: 0.4
>> 
>> Attachments: filemgr-cli-unit-test-mod.txt, filemgr-lucene-catalog-unit-test-mod.txt
>> 
>> 
>> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
>> The queries returned expected list of values on 0.3v.
> 
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
> For more information on JIRA, see: http://www.atlassian.com/software/jira
> 
> 


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattmann@nasa.gov
WWW: http://sunset.usc.edu/~mattmann/
Phone: +1 (818) 354-8810
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Re: [jira] [Commented] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
Hey Guys,

Question here though: should these be properties that we set in the filemgr.properties, since that gets flowed through via
the filemgr-client script already?

Cheers,
Chris

On Mar 13, 2012, at 3:26 PM, Ricky Nguyen (Commented) (JIRA) wrote:

> 
>    [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228773#comment-13228773 ] 
> 
> Ricky Nguyen commented on OODT-404:
> -----------------------------------
> 
> my mistake, sorry about that. I see it in the bin/filemgr-client script now. great work brian!
> 
>> Filemgr query not returning list of values for multi-value key
>> --------------------------------------------------------------
>> 
>>                Key: OODT-404
>>                URL: https://issues.apache.org/jira/browse/OODT-404
>>            Project: OODT
>>         Issue Type: Bug
>>         Components: file manager
>>   Affects Versions: 0.4
>>           Reporter: Sheryl John
>>           Assignee: Paul Ramirez
>>           Priority: Minor
>>            Fix For: 0.4
>> 
>>        Attachments: filemgr-cli-unit-test-mod.txt, filemgr-lucene-catalog-unit-test-mod.txt
>> 
>> 
>> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
>> The queries returned expected list of values on 0.3v.
> 
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
> For more information on JIRA, see: http://www.atlassian.com/software/jira
> 
> 


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattmann@nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
Phone: +1 (818) 354-8810
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


[jira] [Commented] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "Ricky Nguyen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228773#comment-13228773 ] 

Ricky Nguyen commented on OODT-404:
-----------------------------------

my mistake, sorry about that. I see it in the bin/filemgr-client script now. great work brian!
                
> Filemgr query not returning list of values for multi-value key
> --------------------------------------------------------------
>
>                 Key: OODT-404
>                 URL: https://issues.apache.org/jira/browse/OODT-404
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Sheryl John
>            Assignee: Paul Ramirez
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: filemgr-cli-unit-test-mod.txt, filemgr-lucene-catalog-unit-test-mod.txt
>
>
> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
> The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "Paul Ramirez (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227232#comment-13227232 ] 

Paul Ramirez commented on OODT-404:
-----------------------------------

I read through your email again and my thought is that the command line clients have an issue. Those were recently refactored. I'll see if can get this fixed. Seems like something simple now that I know its not at the core. 
                
> Filemgr query not returning list of values for multi-value key
> --------------------------------------------------------------
>
>                 Key: OODT-404
>                 URL: https://issues.apache.org/jira/browse/OODT-404
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Sheryl John
>            Priority: Minor
>             Fix For: 0.4
>
>
> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
> The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "Brian Foster (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228757#comment-13228757 ] 

Brian Foster commented on OODT-404:
-----------------------------------

Also the org.apache.oodt.cas.workflow.url property in the filemgr has been changed to org.apache.oodt.cas.filemgr.url and checked it
                
> Filemgr query not returning list of values for multi-value key
> --------------------------------------------------------------
>
>                 Key: OODT-404
>                 URL: https://issues.apache.org/jira/browse/OODT-404
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Sheryl John
>            Assignee: Paul Ramirez
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: filemgr-cli-unit-test-mod.txt, filemgr-lucene-catalog-unit-test-mod.txt
>
>
> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
> The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "Paul Ramirez (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Ramirez resolved OODT-404.
-------------------------------

    Resolution: Fixed
      Assignee: Paul Ramirez

Committed revision 1299971.
                
> Filemgr query not returning list of values for multi-value key
> --------------------------------------------------------------
>
>                 Key: OODT-404
>                 URL: https://issues.apache.org/jira/browse/OODT-404
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Sheryl John
>            Assignee: Paul Ramirez
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: filemgr-cli-unit-test-mod.txt, filemgr-lucene-catalog-unit-test-mod.txt
>
>
> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
> The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "Paul Ramirez (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228184#comment-13228184 ] 

Paul Ramirez commented on OODT-404:
-----------------------------------

Committed revision 1299971.

Sheryl can you test this on the command line to confirm this resolves your issue. 
                
> Filemgr query not returning list of values for multi-value key
> --------------------------------------------------------------
>
>                 Key: OODT-404
>                 URL: https://issues.apache.org/jira/browse/OODT-404
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Sheryl John
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: filemgr-cli-unit-test-mod.txt, filemgr-lucene-catalog-unit-test-mod.txt
>
>
> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
> The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "Sheryl John (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228273#comment-13228273 ] 

Sheryl John commented on OODT-404:
----------------------------------

Hi Paul,

Yes, I'm getting the list of expected values for the key when using the query-tool as shown below:
./query_tool --url http://localhost:9000 --sql -query "SELECT CernerEpisodeStartTime FROM CernerLocations"
Mar 13, 2012 1:01:23 AM org.apache.oodt.cas.filemgr.system.XmlRpcFileManager complexQuery
INFO: Query returned 1 results
2010-01-16,2010-11-29,2011-07-16

However, for the filemgr-client command options, I'm getting an error similar to OODT-384.

./filemgr-client --url http://localhost:9000 -op -sql -q "SELECT CernerEpisodeStartTime FROM CernerLocations"
ERROR: Failed to perform sql query : sortBy 'null', outputFormat 'null', and delimiter '
', filterAlgor 'null', startDateTimeMetKey 'null', endDateTimeMetKey 'null', priorityMetKey 'null', null' : Must specify url


                
> Filemgr query not returning list of values for multi-value key
> --------------------------------------------------------------
>
>                 Key: OODT-404
>                 URL: https://issues.apache.org/jira/browse/OODT-404
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Sheryl John
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: filemgr-cli-unit-test-mod.txt, filemgr-lucene-catalog-unit-test-mod.txt
>
>
> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
> The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "Chris A. Mattmann (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227553#comment-13227553 ] 

Chris A. Mattmann commented on OODT-404:
----------------------------------------

Hey Guys: if you want to test the DataSourceCatalog, you can use the HsqlDbFriendlyDataSourceCatalog inside of http://svn.apache.org/repos/asf/oodt/trunk/filemgr/src/test/org/apache/oodt/cas/filemgr/catalog/TestDataSourceCatalog.java. It should probably be refactored into its own class, but the methods in the ingest package and the system package tests will allow you to quickly populate a data source catalog and then test out the returns and so forth.
                
> Filemgr query not returning list of values for multi-value key
> --------------------------------------------------------------
>
>                 Key: OODT-404
>                 URL: https://issues.apache.org/jira/browse/OODT-404
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Sheryl John
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: filemgr-cli-unit-test-mod.txt
>
>
> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
> The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "Paul Ramirez (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227820#comment-13227820 ] 

Paul Ramirez commented on OODT-404:
-----------------------------------

Thanks found the bug and apparently its been there since the getReducedMetadata function was added. I'll update it soon and commit those unit tests too.
                
> Filemgr query not returning list of values for multi-value key
> --------------------------------------------------------------
>
>                 Key: OODT-404
>                 URL: https://issues.apache.org/jira/browse/OODT-404
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Sheryl John
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: filemgr-cli-unit-test-mod.txt, filemgr-lucene-catalog-unit-test-mod.txt
>
>
> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
> The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "Sheryl John (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227885#comment-13227885 ] 

Sheryl John commented on OODT-404:
----------------------------------

Cool, Thanks!
                
> Filemgr query not returning list of values for multi-value key
> --------------------------------------------------------------
>
>                 Key: OODT-404
>                 URL: https://issues.apache.org/jira/browse/OODT-404
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Sheryl John
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: filemgr-cli-unit-test-mod.txt, filemgr-lucene-catalog-unit-test-mod.txt
>
>
> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
> The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "Paul Ramirez (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227229#comment-13227229 ] 

Paul Ramirez commented on OODT-404:
-----------------------------------

Sheryl what interface were you using to look at the metadata. I just wrote a unit test to confirm that the value gets stored and is able to be retrieved so the bug seems to be at a higher level. Was this a command line client? or were you calling some API. 
                
> Filemgr query not returning list of values for multi-value key
> --------------------------------------------------------------
>
>                 Key: OODT-404
>                 URL: https://issues.apache.org/jira/browse/OODT-404
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Sheryl John
>            Priority: Minor
>             Fix For: 0.4
>
>
> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
> The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "Chris A. Mattmann (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228790#comment-13228790 ] 

Chris A. Mattmann commented on OODT-404:
----------------------------------------

Yep my bad too - I didn't look and was just guessing at what the problem was. Typical though - bfost 10 steps ahead! ;)
                
> Filemgr query not returning list of values for multi-value key
> --------------------------------------------------------------
>
>                 Key: OODT-404
>                 URL: https://issues.apache.org/jira/browse/OODT-404
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Sheryl John
>            Assignee: Paul Ramirez
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: filemgr-cli-unit-test-mod.txt, filemgr-lucene-catalog-unit-test-mod.txt
>
>
> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
> The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227862#comment-13227862 ] 

jiraposter@reviews.apache.org commented on OODT-404:
----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4297/
-----------------------------------------------------------

Review request for Chris Mattmann and brian Foster.


Summary
-------

The source of all evil was the getMetadata instead of the getAllMetadata in the LuceneCatalog.getReducedMetadata method 


This addresses bug OODT-404.
    https://issues.apache.org/jira/browse/OODT-404


Diffs
-----

  http://svn.apache.org/repos/asf/oodt/trunk/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/LuceneCatalog.java 1299812 
  http://svn.apache.org/repos/asf/oodt/trunk/filemgr/src/test/org/apache/oodt/cas/filemgr/catalog/TestLuceneCatalog.java 1299812 
  http://svn.apache.org/repos/asf/oodt/trunk/filemgr/src/test/org/apache/oodt/cas/filemgr/cli/action/TestSqlQueryCliAction.java 1299812 

Diff: https://reviews.apache.org/r/4297/diff


Testing
-------


Thanks,

Paul


                
> Filemgr query not returning list of values for multi-value key
> --------------------------------------------------------------
>
>                 Key: OODT-404
>                 URL: https://issues.apache.org/jira/browse/OODT-404
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Sheryl John
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: filemgr-cli-unit-test-mod.txt, filemgr-lucene-catalog-unit-test-mod.txt
>
>
> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
> The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "Brian Foster (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227384#comment-13227384 ] 

Brian Foster commented on OODT-404:
-----------------------------------

Hey Sheryl... Can you post the command line options you are using?... If query_tool 0.4 is returning only the first values but 0.3 query_tool is working correctly then the problem probably isn't on the command line end because that tool was left as is with this whole cas-cli plugin changes
                
> Filemgr query not returning list of values for multi-value key
> --------------------------------------------------------------
>
>                 Key: OODT-404
>                 URL: https://issues.apache.org/jira/browse/OODT-404
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Sheryl John
>            Priority: Minor
>             Fix For: 0.4
>
>
> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
> The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "Chris A. Mattmann (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227827#comment-13227827 ] 

Chris A. Mattmann commented on OODT-404:
----------------------------------------

+1, sounds good Paul and great work to find them Brian. Paul, can you assign the issue if you are going to resolve it? Also yes, please commit Brian's updated #TDD unit tests.
                
> Filemgr query not returning list of values for multi-value key
> --------------------------------------------------------------
>
>                 Key: OODT-404
>                 URL: https://issues.apache.org/jira/browse/OODT-404
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Sheryl John
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: filemgr-cli-unit-test-mod.txt, filemgr-lucene-catalog-unit-test-mod.txt
>
>
> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
> The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "jiraposter@reviews.apache.org (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228103#comment-13228103 ] 

jiraposter@reviews.apache.org commented on OODT-404:
----------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4297/#review5865
-----------------------------------------------------------

Ship it!


LGTM

- Chris


On 2012-03-12 20:28:43, Paul Ramirez wrote:
bq.  
bq.  -----------------------------------------------------------
bq.  This is an automatically generated e-mail. To reply, visit:
bq.  https://reviews.apache.org/r/4297/
bq.  -----------------------------------------------------------
bq.  
bq.  (Updated 2012-03-12 20:28:43)
bq.  
bq.  
bq.  Review request for Chris Mattmann and brian Foster.
bq.  
bq.  
bq.  Summary
bq.  -------
bq.  
bq.  The source of all evil was the getMetadata instead of the getAllMetadata in the LuceneCatalog.getReducedMetadata method 
bq.  
bq.  
bq.  This addresses bug OODT-404.
bq.      https://issues.apache.org/jira/browse/OODT-404
bq.  
bq.  
bq.  Diffs
bq.  -----
bq.  
bq.    http://svn.apache.org/repos/asf/oodt/trunk/filemgr/src/main/java/org/apache/oodt/cas/filemgr/catalog/LuceneCatalog.java 1299812 
bq.    http://svn.apache.org/repos/asf/oodt/trunk/filemgr/src/test/org/apache/oodt/cas/filemgr/catalog/TestLuceneCatalog.java 1299812 
bq.    http://svn.apache.org/repos/asf/oodt/trunk/filemgr/src/test/org/apache/oodt/cas/filemgr/cli/action/TestSqlQueryCliAction.java 1299812 
bq.  
bq.  Diff: https://reviews.apache.org/r/4297/diff
bq.  
bq.  
bq.  Testing
bq.  -------
bq.  
bq.  
bq.  Thanks,
bq.  
bq.  Paul
bq.  
bq.


                
> Filemgr query not returning list of values for multi-value key
> --------------------------------------------------------------
>
>                 Key: OODT-404
>                 URL: https://issues.apache.org/jira/browse/OODT-404
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Sheryl John
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: filemgr-cli-unit-test-mod.txt, filemgr-lucene-catalog-unit-test-mod.txt
>
>
> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
> The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "Sheryl John (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227242#comment-13227242 ] 

Sheryl John commented on OODT-404:
----------------------------------

Yes, I could see the values stored after pointing the Luke lucene index toolbox to the filemgr catalog. I guessed the issue would be in the command line side and I'm looking through the code to see where's the issue.
                
> Filemgr query not returning list of values for multi-value key
> --------------------------------------------------------------
>
>                 Key: OODT-404
>                 URL: https://issues.apache.org/jira/browse/OODT-404
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Sheryl John
>            Priority: Minor
>             Fix For: 0.4
>
>
> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
> The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "Paul Ramirez (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227548#comment-13227548 ] 

Paul Ramirez commented on OODT-404:
-----------------------------------

Brian thats actually a bummer. The test I put in was only for the fmclient down that went to a lucene back end. From the email on list I believe Sheryl was using a Lucene backend but I could be wrong.
                
> Filemgr query not returning list of values for multi-value key
> --------------------------------------------------------------
>
>                 Key: OODT-404
>                 URL: https://issues.apache.org/jira/browse/OODT-404
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Sheryl John
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: filemgr-cli-unit-test-mod.txt
>
>
> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
> The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "Ricky Nguyen (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228664#comment-13228664 ] 

Ricky Nguyen commented on OODT-404:
-----------------------------------

Found the issue.  We updated lib/cas-filemgr.jar, but did not update policy/cmd-line-options.xml, which had the incorrect "org.apache.oodt.cas.workflow.url" system property.  Changed this property to "org.apache.oodt.cas.filemgr.url" and all is well.


As a side note... Why does "org.apache.oodt.cas.filemgr.repositorymgr.dirs" or "org.apache.oodt.cas.filemgr.validation.dirs" dictate the location of the CLI configuration? Does that make sense?


                
> Filemgr query not returning list of values for multi-value key
> --------------------------------------------------------------
>
>                 Key: OODT-404
>                 URL: https://issues.apache.org/jira/browse/OODT-404
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Sheryl John
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: filemgr-cli-unit-test-mod.txt, filemgr-lucene-catalog-unit-test-mod.txt
>
>
> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
> The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "Chris A. Mattmann (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228751#comment-13228751 ] 

Chris A. Mattmann commented on OODT-404:
----------------------------------------

bq. As a side note... Why does "org.apache.oodt.cas.filemgr.repositorymgr.dirs" or "org.apache.oodt.cas.filemgr.validation.dirs" dictate the location of the CLI configuration? Does that make sense?

Good question. I think it might have been Brian's take on reusing an existing policy/ directory deployment path. I think it would be an improvement and cleaner to have this separated out in its own namespace. Can you open a JIRA issue for 0.4 for this?
                
> Filemgr query not returning list of values for multi-value key
> --------------------------------------------------------------
>
>                 Key: OODT-404
>                 URL: https://issues.apache.org/jira/browse/OODT-404
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Sheryl John
>            Assignee: Paul Ramirez
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: filemgr-cli-unit-test-mod.txt, filemgr-lucene-catalog-unit-test-mod.txt
>
>
> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
> The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "Sheryl John (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13227568#comment-13227568 ] 

Sheryl John commented on OODT-404:
----------------------------------

Hi Brian,

The command line options I used for query_tool:

./query_tool --url http://localhost:9000 --sql -query "SELECT CernerEpisodeStartTime FROM CernerLocations"
Mar 12, 2012 7:15:20 AM org.apache.oodt.cas.filemgr.system.XmlRpcFileManager complexQuery
INFO: Query returned 1 results
20xy-xx-yyT00:00:00.000-08:00

Used the same option for 0.3 :
./query_tool --url http://localhost:9000 --sql -query "SELECT CernerEpisodeStartTime FROM CernerLocations"
Mar 12, 2012 7:18:28 AM org.apache.oodt.cas.filemgr.system.XmlRpcFileManager complexQuery
INFO: Query returned 30 results
--

The command line options I used for filemgr:
./filemgr-client --url http://localhost:9000 -op -sql -q 'SELECT CernerEpisodeStartTime FROM CernerLocations'
Mar 12, 2012 7:16:34 AM org.apache.oodt.cas.filemgr.system.XmlRpcFileManagerClient <init>
INFO: Loading File Manager Configuration Properties from: [../etc/filemgr.properties]
Mar 12, 2012 7:16:37 AM org.apache.oodt.cas.filemgr.system.XmlRpcFileManager complexQuery
INFO: Query returned 1 results
20xy-xx-yyT00:00:00.000-08:00

I was going through the complexQuery,filemgr and the cli yesterday and still couldn't find out where's the issue.
Thanks!


                
> Filemgr query not returning list of values for multi-value key
> --------------------------------------------------------------
>
>                 Key: OODT-404
>                 URL: https://issues.apache.org/jira/browse/OODT-404
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Sheryl John
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: filemgr-cli-unit-test-mod.txt
>
>
> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
> The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (OODT-404) Filemgr query not returning list of values for multi-value key

Posted by "Brian Foster (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/OODT-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian Foster updated OODT-404:
------------------------------

    Attachment: filemgr-cli-unit-test-mod.txt

i've attached a mod sqlQuery action unit-test to confirm that cas-cli filemgr sqlQuery action is getting back the multi-valued results... it comes back as a comma separated list of all the values... in the attached test Filename and Owners metadata is returned as: data.dat,Bob,Billy... this probably should be something more like: data.dat,[Bob,Billy]... but that is controlled by QueryResult class... but that is a separate issue, the results are being returned by the command line... i'll look into this more tomorrow (actually later today)... anyone have a 0.4 datasource filemgr up and running who can test if this problem exists for the datasource catalog as well?
                
> Filemgr query not returning list of values for multi-value key
> --------------------------------------------------------------
>
>                 Key: OODT-404
>                 URL: https://issues.apache.org/jira/browse/OODT-404
>             Project: OODT
>          Issue Type: Bug
>          Components: file manager
>    Affects Versions: 0.4
>            Reporter: Sheryl John
>            Priority: Minor
>             Fix For: 0.4
>
>         Attachments: filemgr-cli-unit-test-mod.txt
>
>
> Filemgr queries for a multi-value key returns only the first value and not a concatenated list of values (Tested on 0.4-SNAPSHOT).The lucene luke tool was used to confirm that the particular key has more than one value. 
> The queries returned expected list of values on 0.3v.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira