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 D6D66DBE3 for ; Fri, 21 Sep 2012 05:02:04 +0000 (UTC) Received: (qmail 14128 invoked by uid 500); 21 Sep 2012 05:02:04 -0000 Delivered-To: apmail-oodt-dev-archive@oodt.apache.org Received: (qmail 13984 invoked by uid 500); 21 Sep 2012 05:02:01 -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 13946 invoked by uid 99); 21 Sep 2012 05:02:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2012 05:02:00 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [128.149.139.106] (HELO mail.jpl.nasa.gov) (128.149.139.106) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Sep 2012 05:01:53 +0000 Received: from mail.jpl.nasa.gov (ap-ehub-sp01.jpl.nasa.gov [128.149.137.148]) by smtp.jpl.nasa.gov (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q8L51WA0018105 (using TLSv1/SSLv3 with cipher AES128-SHA (128 bits) verified NO) for ; Thu, 20 Sep 2012 22:01:33 -0700 Received: from AP-EMBX-SP20.RES.AD.JPL ([169.254.8.34]) by ap-ehub-sp01.RES.AD.JPL ([169.254.3.32]) with mapi id 14.02.0318.001; Thu, 20 Sep 2012 22:01:32 -0700 From: "Mattmann, Chris A (388J)" To: "" Subject: Re: Observation of the MetadataBasedProductMover Thread-Topic: Observation of the MetadataBasedProductMover Thread-Index: AQHNl0BztaWY+FcNyU2c5y+uHVDxzZeUtGaA Date: Fri, 21 Sep 2012 05:01:31 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [128.149.137.113] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Source-Sender: chris.a.mattmann@jpl.nasa.gov X-AUTH: Authorized X-Virus-Checked: Checked by ClamAV on apache.org Hey Cam, Yep the FileLocation should indeed be kept in sync. I think that the Produc= tMoverTool was constructed without this in mind.=20 Can you open a JIRA issue and we can fix? Thanks! Cheers, Chris On Sep 20, 2012, at 7:51 AM, Cameron Goodale wrote: > For anyone who needs to re-organize your OODT Archive I found this little > tool to be quite useful. >=20 > You can check out the code here: > https://svn.apache.org/repos/asf/oodt/trunk/filemgr/src/main/java/org/apa= che/oodt/cas/filemgr/tools/MetadataBasedProductMover.java >=20 >=20 > I have moved a lot of product using this tool, but I found a minor > inconsistency and I wanted to see if this is a bug. You see in the index > output listed below the FileLocation doesn't match the newly updated > reference_data_store, but it does match the reference_orig path. >=20 > stored,indexed > stored,indexed > stored,indexed > *stored,indexed* > stored,indexed > stored,omitNorms > stored,omitNorms > * > stored,omitNorms > * > stored,omitNorms > stored,indexed > * > stored,omitNorms > * >=20 > So the question I am posing to the list is: Should the FileLocation be > kept in-sync with the reference_data_store? If this should happen, then = I > think the MetadataBasedProductMover should be patched to make this update > at the time of the move. >=20 > Best Regards, >=20 >=20 > Cameron ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 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 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++