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.util.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

Reply via email to