oodt-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Barber <tom.bar...@meteorite.bi>
Subject Re: FileManager: Delete Product Bug?
Date Sun, 07 Feb 2016 07:42:51 GMT
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.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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message