oodt-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mattmann, Chris A (3980)" <chris.a.mattm...@jpl.nasa.gov>
Subject Re: FileManager: Delete Product Bug?
Date Sun, 07 Feb 2016 14:34:48 GMT
Hey Tom, easier to just call it 0.12 and +1 to doing so..

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Chief Architect
Instrument Software and Science Data Systems Section (398)
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 168-519, Mailstop: 168-527
Email: chris.a.mattmann@nasa.gov
WWW:  http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Associate Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++





-----Original Message-----
From: Tom Barber <tom.barber@meteorite.bi>
Reply-To: "dev@oodt.apache.org" <dev@oodt.apache.org>
Date: Saturday, February 6, 2016 at 11:42 PM
To: "dev@oodt.apache.org" <dev@oodt.apache.org>
Subject: Re: FileManager: Delete Product Bug?

>Hi Jordan
>
>That error got flagged last week and patched in trunk. You should be able
>to get the latest snapshot build and just copy the file manager snapshot
>into your deployment.
>
>I'll ship a 0.11.1 next week to fix the issue.
>
>Tom
>On 7 Feb 2016 03:36, "Jordan Padams" <jordan.padams@gmail.com> wrote:
>
>> I am using FileManager from OODT 0.11 and I am having an issue trying to
>> delete a product from the filemgr-client tool.
>>
>> I followed the steps from the User Guide [1] to test out ingestion:
>>
>> $ ./filemgr-client --url http://localhost:9000 --operation
>>--ingestProduct
>> --productName blah.txt --productStructure Flat --productTypeName
>> GenericFile --metadataFile file:///tmp/blah.txt.met --refs
>> file:///tmp/blah.txt
>> .
>> .
>> ingestProduct: Result: 573e5415-cd48-11e5-94c4-09fe75d3671d
>>
>> Then I the `deleteProductByName` operation from the Solr File Manager
>>Wiki
>> [2] to try to remove the product and received an error:
>>
>> $ ./filemgr-client --deleteProductByName --productName blah.txt --url
>> http://localhost:9000
>> .
>> .
>> ERROR: Failed to delete product
>> 'org.apache.oodt.cas.filemgr.structs.Product@6cbc2704' :
>> org.apache.xmlrpc.XmlRpcException: java.lang.NoSuchMethodException:
>>
>> 
>>org.apache.oodt.cas.filemgr.system.XmlRpcFileManager.removeProduct(java.u
>>til.Hashtable)
>>
>>
>> It looks like it remove the file from the archive but just not from the
>> catalog:
>>
>> $ ls /usr/local/oodt/cas-filemgr/files/blah.txt/
>> total 0
>> drwxr-xr-x+ 2 jpadams  staff    68B Feb  6 19:31 ./
>> drwxr-xr-x+ 3 jpadams  staff   102B Feb  6 19:30 ../
>>
>>
>> Any help on what is going on here would be a great help!
>>
>> Quick minor bug note: The Filemgr User Guide [1] references 'query-tool'
>> throughout, which should actually be 'query_tool'.
>>
>> [1]
>> https://cwiki.apache.org/confluence/display/OODT/OODT+Filemgr+User+Guide
>> [2]
>>
>> 
>>https://cwiki.apache.org/confluence/display/OODT/Solr+File+Manager+Quick+
>>Start+Guide
>>
>>
>> Thanks,
>> Jordan
>>
>> --
>> Jordan Padams
>> Software Engineer
>> NASA Jet Propulsion Laboratory
>>

Mime
View raw message