Return-Path: X-Original-To: apmail-oodt-dev-archive@www.apache.org Delivered-To: apmail-oodt-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 38E2818AED for ; Sun, 7 Feb 2016 18:29:11 +0000 (UTC) Received: (qmail 41106 invoked by uid 500); 7 Feb 2016 18:29:11 -0000 Delivered-To: apmail-oodt-dev-archive@oodt.apache.org Received: (qmail 41068 invoked by uid 500); 7 Feb 2016 18:29:11 -0000 Mailing-List: contact dev-help@oodt.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@oodt.apache.org Delivered-To: mailing list dev@oodt.apache.org Received: (qmail 41056 invoked by uid 99); 7 Feb 2016 18:29:10 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 07 Feb 2016 18:29:10 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 62DAA1A0465 for ; Sun, 7 Feb 2016 18:29:10 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.199 X-Spam-Level: * X-Spam-Status: No, score=1.199 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, WEIRD_PORT=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id VhiSC4O0VMHB for ; Sun, 7 Feb 2016 18:29:08 +0000 (UTC) Received: from mail-io0-f177.google.com (mail-io0-f177.google.com [209.85.223.177]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 2FFD631AD0 for ; Sun, 7 Feb 2016 18:29:07 +0000 (UTC) Received: by mail-io0-f177.google.com with SMTP id f81so175323638iof.0 for ; Sun, 07 Feb 2016 10:29:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=5pcAfMIvwZWdREeodZmOjAChItcgI44fT+vICO0crbc=; b=hUMG/3dAQ9kZojTnsee6hhmcfSAbDBQRkU8uk8R9Sm9tEw+hHXI5N3FPgNnH1PPymw 29xcPPt60R8ga4JYccZU/evzxV/qm9ztRhvzUqvKDvW0hRfpKMHLZhq/mC28qPqJVL/2 TEB4piGGvcTMu96sG2epRGK2AiiiXNi3Mn5DyReoIIsNTcwlhD+2SJVLWmReX0VrxNI8 lWJ2JO3TTPqGJuy4WHCYzOgjMVHL5mppzodvXSL3wDhVcas2n4iknFrhTTfyXASTdtM2 zEFIohGn61/vE4v1NkyKhSohGx3EYqyM64dEhKqnTPQ2aW53qkGaohyxY9lhsql3oB9I 5Tlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=5pcAfMIvwZWdREeodZmOjAChItcgI44fT+vICO0crbc=; b=Iw9K+PfH/cT/gwjjtkA/cJLxMufl1VJzu7KkNN9zs/1m2ukI6jMg7LMLA8Isg6Gy3+ Vfvf0gCWGwyyqY4eq7nqMPtJijNUuwiI05YbakEbAE6rcraYXDgFvYJgh1a+RCqhbdyw Px6ptya7LbyrFtku0pTAg9irYUOizP5uBm8BC8FO9lS0vgSzxIGQCOIp5dCI+ZbDHYHI r3XZbNyT8AxcpgfBJCidaxL8TlGy/ZIujKMTONl8ZIIgyF/9I6VVSW3yU1J4G3C4GdbP O4K/Q3cbQqsExmv863EQBHPQvnMTdv+9YwUAqWozLkakG1c3LZyVIVTrSDzgi7d2gsUH CM2Q== X-Gm-Message-State: AG10YOQ3QHBSNsP/1Ox4nmOcQEU1WuWlqaYRz8kS9grABw8gwYf9/Z0zNiVjIhS6/hUANhi2SpAaXl1NqD/Iyw== MIME-Version: 1.0 X-Received: by 10.107.11.231 with SMTP id 100mr3526179iol.165.1454869746176; Sun, 07 Feb 2016 10:29:06 -0800 (PST) Received: by 10.36.150.71 with HTTP; Sun, 7 Feb 2016 10:29:06 -0800 (PST) In-Reply-To: References: Date: Sun, 7 Feb 2016 10:29:06 -0800 Message-ID: Subject: Re: FileManager: Delete Product Bug? From: Lewis John Mcgibbney To: "dev@oodt.apache.org" Content-Type: multipart/alternative; boundary=001a113f7b6a6a5fa6052b32421f --001a113f7b6a6a5fa6052b32421f Content-Type: text/plain; charset=UTF-8 ACk thanks Tom. Good man. On Sun, Feb 7, 2016 at 10:27 AM, Tom Barber wrote: > Yeah I fixed one delete bug and created another, PITA. I created the bug > so I'll fix the bug and as you're all so nice I might even write you a test > to validate it ! ;) > On 7 Feb 2016 17:10, "Lewis John Mcgibbney" > wrote: > > > ACK > > This issue clearly justifies a bug fix. > > Nice one Tom thanks for patching. > > > > On Sun, Feb 7, 2016 at 6:54 AM, Tom Barber > > wrote: > > > > > Fair enough! > > > On 7 Feb 2016 2:35 pm, "Mattmann, Chris A (3980)" < > > > chris.a.mattmann@jpl.nasa.gov> wrote: > > > > > > > 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 > > > > Reply-To: "dev@oodt.apache.org" > > > > Date: Saturday, February 6, 2016 at 11:42 PM > > > > To: "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" > 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 > > > > >> > > > > > > > > > > > > > > > > > > > -- > > *Lewis* > > > -- *Lewis* --001a113f7b6a6a5fa6052b32421f--