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 08459CBDF for ; Thu, 13 Nov 2014 16:36:52 +0000 (UTC) Received: (qmail 95057 invoked by uid 500); 13 Nov 2014 16:36:51 -0000 Delivered-To: apmail-oodt-dev-archive@oodt.apache.org Received: (qmail 95023 invoked by uid 500); 13 Nov 2014 16:36:51 -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 95011 invoked by uid 99); 13 Nov 2014 16:36:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Nov 2014 16:36:51 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of tpalsulich@gmail.com designates 209.85.217.171 as permitted sender) Received: from [209.85.217.171] (HELO mail-lb0-f171.google.com) (209.85.217.171) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Nov 2014 16:36:47 +0000 Received: by mail-lb0-f171.google.com with SMTP id b6so11393382lbj.16 for ; Thu, 13 Nov 2014 08:35:41 -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=fejDyYz45byTgT9m/dbmiBalC4NyxPAVDZ4foxT2vhY=; b=V9P45o/n2GcCIRs7e4NeRJd4aiqyWrCZ7I4n8B4Fo3XtfWZ1OM7dVWSF5gW9lc8qYn RJ4WZF8DFij3qnyXqUfUI5kEIW5GbXXmRFYbRfYQQlcSIpjEKRpJ8ihVKCuCSYTL0Jgw ajiR+kt8RbT3ydaurIgleTuCkR5vvcOU7SCfgaoT6iVoNpAgsSK8bwafKnvs6Mi0A3Lp gHYgazF9Xij4noOF/dHkNy144U8ZIkfeCXXySV0cE0P2x5eXoAYefod3V0AqKNPDBKKd IZkKo6r6LVpGvh5p5qvLnP4eNQuQ98iVRc2lB9U0fLB51NSGTMFA4qLHhGl9LJm+y16V SUQQ== MIME-Version: 1.0 X-Received: by 10.112.135.229 with SMTP id pv5mr3403836lbb.52.1415896540942; Thu, 13 Nov 2014 08:35:40 -0800 (PST) Received: by 10.112.170.101 with HTTP; Thu, 13 Nov 2014 08:35:40 -0800 (PST) Received: by 10.112.170.101 with HTTP; Thu, 13 Nov 2014 08:35:40 -0800 (PST) In-Reply-To: <8f142c5b4e40464c845cc5942fdb71ab@aplex01.dom1.jhuapl.edu> References: <5231e3948c064ca7822f8a832e8c2a9f@aplex01.dom1.jhuapl.edu> <8f142c5b4e40464c845cc5942fdb71ab@aplex01.dom1.jhuapl.edu> Date: Thu, 13 Nov 2014 11:35:40 -0500 Message-ID: Subject: RE: more info for OODT-751 OPSUI Pages constantly expire From: Tyler Palsulich To: dev Content-Type: multipart/alternative; boundary=089e0122930a5c969d0507c01aef X-Virus-Checked: Checked by ClamAV on apache.org --089e0122930a5c969d0507c01aef Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Have you tried installing and running DRAT? Tyler On Nov 13, 2014 8:11 AM, "Mallder, Valerie" wrote: > For those of you who are using the pcs-opsui in an operational environmen= t > without getting expired pages please tell me what version you are using, > the OS you are running it on, and the browser you are using. > > I need to demonstrate "something" to my project manager to show the > usefulness of OODT in the Jedi instrument science data pipeline here at > APL. And right now, I have nothing to "show" for my last few months of > work. If someone can tell me a configuration using opsui that is working > then maybe I can try to mimic that and get something useful up and runnin= g. > So far, for me, versions 0.6, 0.7 and the current trunk are showing only > expired pages. > > Thanks very much! > Val > > > > Sent from my iPhone. > ________________________________ > From: Mallder, Valerie > Sent: Tuesday, November 11, 2014 2:55:12 PM > To: dev@oodt.apache.org > Subject: more info for OODT-751 OPSUI Pages constantly expire > > Hi Chris, > > I know you are working on this, but I wanted to let you know that I tried > to use version 0.6 and am having the same problem in version 0.6. But, I > can't guarantee that I installed version 0.6 correctly so I would like to > run this by you. Based on your email below here's what I did: > > 1. Downloaded pcs-opsui-0.76.war from: > http://repo1.maven.org/maven2/org/apache/oodt/pcs-opsui/0.6/ > and saved it in a new folder named $OODT_HOME/bin/opsui > > 2. Created a script called $OODT_HOME/bin/opsui/runopsui that sets the > following variables (this is output from my script): > Using OODT_BASE: > /homes/malldva1/project/jedi/users/jedi-pipeline/oodt-deploy > Using OODT_HOME: > /homes/malldva1/project/jedi/users/jedi-pipeline/oodt-deploy > Using OODT_TMPDIR: > /homes/malldva1/project/jedi/users/jedi-pipeline/oodt-deploy/temp > Using FILEMGR_URL: http://localhost:9000 > Using WORKFLOW_URL: http://localhost:9001 > Using RESMGR_URL: http://localhost:9002 > Using WORKFLOW_HOME: > /homes/malldva1/project/jedi/users/jedi-pipeline/oodt-deploy/workflow > Using RESMGR_HOME: > /homes/malldva1/project/jedi/users/jedi-pipeline/oodt-deploy/resmgr > Using CRAWLER_HOME: > /homes/malldva1/project/jedi/users/jedi-pipeline/oodt-deploy/crawler > Using TOMCAT_HOME: > /homes/malldva1/project/jedi/users/jedi-pipeline/oodt-deploy/tomcat > Using PCS_HOME: > /homes/malldva1/project/jedi/users/jedi-pipeline/oodt-deploy/pcs > Using PGE_HOME: > /homes/malldva1/project/jedi/users/jedi-pipeline/oodt-deploy/pge > Using PGE_JOBS_DIR: > /homes/malldva1/project/jedi/users/jedi-pipeline/oodt-deploy/data/pge/job= s > Using FEI_DROP_DIR: > /homes/malldva1/project/jedi/users/jedi-pipeline/oodt-deploy/data/telemet= ry > Using JEDI_L0_DIR: > /homes/malldva1/project/jedi/users/jedi-pipeline/oodt-deploy/data/l0 > Using JEDI_L2_DIR: > /homes/malldva1/project/jedi/users/jedi-pipeline/oodt-deploy/data/l2 > Using ARCHIVE_DIR: > /homes/malldva1/project/jedi/users/jedi-pipeline/oodt-deploy/data/archiv= e > Using BACKUP_DIR: > /homes/malldva1/project/jedi/users/jedi-pipeline/oodt-deploy/data/met > Using FAILURE_DIR: > /homes/malldva1/project/jedi/users/jedi-pipeline/oodt-deploy/data/failur= e > Using JEDI_PIPELINE_DIR: /homes/malldva1/working/pipeline > Using SNAPSHOT_DIR: > /homes/malldva1/project/jedi/users/jedi-pipeline/oodt-deploy/data/pge/job= s/snapshot > > (Then, I followed the steps at the bottom of: > https://cwiki.apache.org/confluence/display/OODT/Quick+Start+for+PCS+OPSU= I > ) > > 3. Downloaded > http://svn.apache.org/repos/asf/oodt/trunk/pcs/opsui/src/main/webapp/META= -INF/context.xml > And saved it as $OODT_HOME/bin/opsui/pcs-opsui.xml > > 4. Edited $OODT_HOME/bin/opsui/pcs-opsui.xml and changed the first line > from: > > To > docBase=3D"[OODT_HOME]/bin/opsui/pcs-opsui-0.6.war"> > > 5. Killed any process with "tomcat" in its name to ensure that tomcat is > not running. > > 6. Executed the following command to create a symbolic link: > cd $OODT_HOME/bin/opsui/ > ln -s pcs-opsui.xml to $TOMCAT_HOME/conf/Catalina/localhost/pcs-opsui.xml > > 7. Then, in my script that sets the environment variables, I added the > following command to start tomcat. > exec "$OODT_BASE"/tomcat/bin/catalina.sh start > > 8. Then, I ran my new $OODT_HOME/bin/opsui/runopsui script > > 9. Then, I started firefox and went to "localhost:8080/pcs-opsui" > > > > The home page comes up, and the PCS Status page comes up, but all other > pages are expired. I should note that the "radix" installation of versio= n > 0.7 points me to localhost:8080/opsui, while step 10 of the instructions > from the quick start guide of the wiki point me to > localhost:8080/pcs-opsui. And, no matter which one I go to, the pages > expire. > > I also tried clearing out my cache and browser history and restarting > firefox and topcat, etc. and nothing seems to help. > > If I have gotten the version 0.6 up and running correctly, I thought you > would be interested to know that I am seeing the error. If I did not get > version 0.6 up and running, then I need more hints on how to do it. :) > > Thanks, > Val > > > > > > > > > > Valerie A. Mallder > New Horizons Deputy Mission System Engineer > Johns Hopkins University/Applied Physics Laboratory > > > > -----Original Message----- > > From: Mattmann, Chris A (3980) [mailto:chris.a.mattmann@jpl.nasa.gov] > > Sent: Friday, October 03, 2014 1:07 PM > > To: dev@oodt.apache.org > > Subject: Re: Success! RE: how to use MetadataBasedFileVersioner properl= y > > > > Awesome Val! :) > > > > I think you=C2=B9re running into this: > > > > https://issues.apache.org/jira/browse/OODT-751 > > > > > > In the meanwhile, try the 0.6 OPSUI, which you can grab from here: > > > > http://repo1.maven.org/maven2/org/apache/oodt/pcs-opsui/0.6/ > > > > > > Grab the WAR file and drop it into your favorite container. > > Make sure you have all of these environment variables installed > > *before* starting Tomcat or Jetty, etc.: > > > > > https://cwiki.apache.org/confluence/display/OODT/Quick+Start+for+PCS+OPSU= I > > > > > > (see steps at bottom and replace 0.5 with 0.6) > > > > I=C2=B9m working on a fix for OODT-751, at which point RADIX will be pr= etty > buff. Next > > steps at that point: > > > > 1. Release 0.7 and then encourage folks to get started by using the > Vagrant build, > > e.g., > > > > git clone https://github.com/apache/oodt cd vagrant/radix vagrant up > > > > 2. Fix OODT-491 and remaining workflow manager issues for Wengine 3. Wo= rk > > on Streaming OODT API with AMP Stack (via M. Starch et al) and release > in 0.8. > > 4. Conquer and win. > > > > Thanks! > > > > Cheers, > > Chris > > > > +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > +++++ > > 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: , Valerie > > Reply-To: "dev@oodt.apache.org" > > Date: Friday, October 3, 2014 at 9:53 AM > > To: "dev@oodt.apache.org" > > Subject: Success! RE: how to use MetadataBasedFileVersioner properly > > > > >Hi Chris, > > > > > >Yes, that indeed fixed it! Thanks so much! I now have 18 engineering > > >files ingested. Whoo hoo!! > > > > > >Ok, so now, I would like to see what the opsui has to say about my > > >ingested files. And here comes probably a really stupid question. I a= m > > >using Firefox on a Redhat Linux box, and I'm not that familiar with > > >Firefox and it's settings, so this might be a browser setting issue. > > >When I startup the opsui and select "File Catalog Browse" it shows tha= t > > >I have > > >18 EngineeringFiles. Then, when I select File Catalog Browse from the > > >strip of options under the logo, I get a message saying the page has > > >expired. And here's the link that shows up in the address bar: > > >http://localhost:8080/opsui/?wicket:interface=3D:7:fmbrowser_link::ILi= nkL > > >ist > > >ener:: > > > > > >And I get the page expired message for all of the options that I selec= t. > > >Any idea's on this one?? > > > > > >In the meantime though, I will start playing with an action for post > > >ingestion success that simply makes another copy of all these > > >engineering files and puts them another folder for Level 0 files. > > > > > >Thanks, > > >Val > > > > > > > > > > > > > > >Valerie A. Mallder > > >New Horizons Deputy Mission System Engineer Johns Hopkins > > >University/Applied Physics Laboratory > > > > > > > > >> -----Original Message----- > > >> From: Chris Mattmann [mailto:chris.mattmann@gmail.com] > > >> Sent: Friday, October 03, 2014 3:03 AM > > >> To: dev@oodt.apache.org > > >> Subject: Re: how to use MetadataBasedFileVersioner properly > > >> > > >> You?re almost there Val! > > >> > > >> Unfortunately Versioners right now aren?t configurable from product > > >>type policy (would be great to capture this in a JIRA issue, here: > > >> https://issues.apache.org/jira/browse/OODT). If they were, it would > > >>have picked up your > >> It?s been on my TODO list for a long time. > > >> > > >> Instead I created this: > > >> > > >> https://issues.apache.org/jira/browse/OODT-639 > > >> > > >> > > >> So you can amend your definition below (also note you always have to > > >>include /[Filename] at the end to get the filename you want). > > >> > > >> > > >> > > >> > >> > class=3D?org.apache.oodt.cas.filemgr.versioning.ProductTypeMetVersioner?/= > > > >> The default product type for any kind of > > >>file. > > >> > > >> > >> > > > >>class=3D"org.apache.oodt.cas.filemgr.metadata.extractors.CoreMetExtract= or"> > > >> > > >> > > >> > > >> > > >> > >> value=3D"ProductReceivedTime,ProductName,ProductId" /> > > >> > > >> > > >> > > >> > > >> > > >> filePathSpec > > >> /[YearDir]/[DoyDir]/[Filename] > > >> > > >> > > >> > > >> > > >> > > >> > > >> See if that fixes it! > > >> > > >> Cheers, > > >> Chris > > >> > > >> ------------------------ > > >> Chris Mattmann > > >> chris.mattmann@gmail.com > > >> > > >> > > >> > > >> > > >> -----Original Message----- > > >> From: "Mallder, Valerie" > > >> Reply-To: > > >> Date: Thursday, October 2, 2014 at 2:56 PM > > >> To: "dev@oodt.apache.org" > > >> Subject: how to use MetadataBasedFileVersioner properly > > >> > > >> >Hi All, > > >> > > > >> >I am trying to use the MetadataBasedFileVersioner to store my files > > >> >in a subdirectory of the data/archive folder based on the values of > > >> >two metadata elements. Has anyone does this before, and if so, can > > >> >you give me some hints. > > >> > > > >> >My files need to be organized in subdirectories by year and day of > > >>year. > > >> >So, lets say the file name is 'myfile', the year is 2014, and the > > >> >doy of year is 002. Then, the end result that I am looking for is t= o > > >> >have the final location of my file be: > > >>'data/archive/ops/eng/2014/002/myfile. > > >> > > > >> >However, in my log file, the INFO messages indicate that the > > >> >generated final location reference is 'data/archive/ops/eng/myfile'= . > > >> >And it doesn't include the year and day of year at all. And the > > >> >incorrect location leads to other errors. So I want to solve this > > >> >one first. Has anyone tried to do something like this before? > > >> > > > >> >Here is what I have done so far: > > >> > > > >> >Added two new elements to the .met file 'YearDir' and 'DoyDir'. > > >> >Added these new elements to the elements.xml file. > > >> >Added these new elements to the product in the > > >> >product-type-element-map.xml file. > > >> >And, I have made changes to the product-types.xml file, but here's > > >> >where I am not sure I've done this properly. > > >> > > > >> >Here's what product type definition looks like: > > >> > > > >> > > > >> > > >> > > >>>class=3D"org.apache.oodt.cas.filemgr.versioning.MetadataBasedFileVer= sio > > >>>ner > > >>>"> > > >> > /> > > >> > > > >> > The default product type for any kind of > > >> >file. > > >> > > > >> > > >> > > > >>>class=3D"org.apache.oodt.cas.filemgr.metadata.extractors.CoreMetExtrac= tor" > > >>>> > > >> > > > >> > > > >> > > > >> > > > >> > > >> >value=3D"ProductReceivedTime,ProductName,ProductId" /> > > >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> >Thanks in advance for any help or ideas you might have! > > >> > > > >> >Valerie > > >> > > > >> > > > >> > > > >> >Valerie A. Mallder > > >> > > > >> >New Horizons Deputy Mission System Engineer The Johns Hopkins > > >> >University/Applied Physics Laboratory > > >> >11100 Johns Hopkins Rd (MS 23-282), Laurel, MD 20723 > > >> >240-228-7846 (Office) 410-504-2233 (Blackberry) > > >> > > > >> > > > > > --089e0122930a5c969d0507c01aef--