oodt-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mattmann, Chris A (388J)" <chris.a.mattm...@jpl.nasa.gov>
Subject Re: Extract meta data and populate database example
Date Thu, 02 Feb 2012 19:42:00 GMT
Hi Richard,

Thanks for your question!

I'm going to assume you'd like the File Manager component:

http://oodt.apache.org/components/maven/filemgr/

to store the metadata for you. Also, what'll happen if you use the File Manager component
is the following:

1. You'll define the configuration inside of $FILEMGR_DEPLOY/etc/filemgr.properties
   - select as the catalog factory org.apache.oodt.cas.filemgr.catalog.DataSourceCatalogFactory
   - below the factory configs are implementation-specific config properties. There should
be a set
of 4 of them for JDBC DataSource catalogs requiring you to specify the username, password,
JDBC
URL and driver class (fully qualified class name). Specify the appropriate options for any
of those
JDBC databases below there, and then make sure that you drop the appropriate JDBC driver jar
(the one that contains the class that you will reference in the config property) inside of
FILEMGR_DEPLOY/lib/

2. You can find some examples of the needed schemas/etc., inside of:

http://svn.apache.org/repos/asf/oodt/trunk/filemgr/src/main/resources/

Hope that helps and let me know if I can provide more information or if anyone else on the
list
can!

Cheers,
Chris

On Feb 1, 2012, at 10:52 AM, Yu, Richard (GSFC-474.0)[NOAA-JPSS] wrote:

>  
> Hi,
>  
> We are new to OODT and would like to know if there is any example of populating the metadata
into a database after successful ingest.  The database could be the following:
> POSTGRESQL, or MYSQL.  Your help in this area would be most appreciated!
>  
> Richard Yu
>  


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Mime
View raw message