You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oodt.apache.org by "Verma, Rishi (317I)" <Ri...@jpl.nasa.gov> on 2010/12/23 23:28:54 UTC

Filemanager how to only metadata

Hi everyone,

I'm experimenting with OODT filemanager, and wanted to ingest a product file's met into the filemgr catalog.

I don't have the product file on hand, but I do have the metadata.

The filemgr user's guide (ie. http://oodt.apache.org/components/maven/filemgr/user/basic.html) documents how to ingest a product file assuming you actually have the product on hand. However, if I only want to ingest the metadata, how would I go about doing this?

The 'filemgr-client' script seems to not allow ignoring the product reference. In other words, I cannot simply eliminate the "--refs" flag.


> ./filemgr-client --url http://localhost:9000 --operation \
   --ingestProduct --productName blah.txt --productStructure Flat \
   --productTypeName GenericFile \
   --metadataFile file:///usr/local/cas-filemgr-v1.8.0/bin/blah.txt.met \
   --refs file:///usr/local/cas-filemgr-v1.8.0/bin/blah.txt


Any tips on how to ingest metadata only?

Thanks!
Rishi

Re: Filemanager how to only metadata

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
Hi Rishi,

> I'm experimenting with OODT filemanager, and wanted to ingest a product file's met into the filemgr catalog.
> 
> I don't have the product file on hand, but I do have the metadata.
> 

Yep, I think bfost mentioned this, but the best way to take care of it here is two-fold:

1. Just use the InPlaceDataTransferer. It will neglect to transfer the product files (which is what you want since you don't have any)
2. Just pass dummy refs: fefs are only used for cataloging locations of products, and also passed to the data transferer to do with how it likes. If you use a transferer that doesn't bother to transfer, then you're fine there.

Another option would be to use the StdProductCrawler (part of cas-crawler). It expects .met files (in CAS format) and will look for:

Filename
FileLocation
ProductType 

To be set to ingest into the FM. If you're using InPlaceDataTransferer, then FileLocation can be a dummy value and it will still work.

> The filemgr user's guide (ie. http://oodt.apache.org/components/maven/filemgr/user/basic.html) documents how to ingest a product file assuming you actually have the product on hand. However, if I only want to ingest the metadata, how would I go about doing this?

See above.

Good luck!

Cheers,
Chris

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


Re: Filemanager how to only metadata

Posted by "Verma, Rishi (317I)" <Ri...@jpl.nasa.gov>.
Hi Chris,

Thanks for your help! I didn't realize '--clientTransfer' was necessary, but I now got the metadata ingest to work.

Thanks!
Rishi

On Dec 28, 2010, at 5:26 PM, Mattmann, Chris A (388J) wrote:

> Hi Rishi,
> 
> 
>> The filemgr-client usage statement seems to indicate support only for (--clienTransfer or --dataTransfer) options, not the "--transferFactory" as you suggested.
> 
> Sorry, I didn't know you interpreted my recollection of the *exact parameter name* literally. YMMV doing that. The best bet will always be to check the cmd line usage (with no args like you did) for the most up-to-date usage.
> 
>> In any case though, I tried a couple parameter arguments with filemgr-client, but all yield an error saying a product specified with --refs could not be located:
>> 
>> 1) ./filemgr-client ... --transferFactory InPlaceDataTransferFactory --refs file:///doesnotexist
>> 
>> 2) ./filemgr-client ... --dataTransfer InPlaceDataTransferFactory --refs file:///doesnotexist
>> 
>> 3) ./filemgr-client ... --dataTransfer org.apache.oodt.cas.filemgr.datatransfer.InPlaceDataTransfererFactory --refs file:///doesnotexist
>> 
>> 4) ./filemgr-client ... --transferFactory InPlaceDataTransfer --refs file:///doesnotexist
> 
> None of the above will would because they all omit the use of:
> 
> --clientTransfer
>  NOTE: this parameter tells the File Manager that the FM Client will be doing the actually data transferring, rather than the FM Server.
> 
> So, basically what you do is you provide both the switch to turn on client transfer *and* the appropriate data transfer factory. Try:
> 
>  --clientTransfer --dataTransfer org.apache.oodt.cas.filemgr.datatransfer.InPlaceDataTransferFactory
> 
> HTH!
> 
> Cheers,
> Chris
> 
>> 
>> On Dec 28, 2010, at 2:12 PM, Chris A Mattmann wrote:
>> 
>> Hi Rishi,
>> 
>> Thanks. You just need to specify InPlaceDataTransfer as the --transferFactory parameter to the fmClient or to the crawler (which also expects a transfer factory)...
>> 
>> Cheers,
>> Chris
>> 
>> On Dec 28, 2010, at 1:54 PM, Verma, Rishi (317I) wrote:
>> 
>> Hi -
>> 
>> Thanks for the helpful tips.
>> 
>> I was looking at InPlaceDataTransferer, and it does not seem to have a command line interface (there's no main). Specifically, I looked at the class
>> "org.apache.oodt.cas.filemgr.datatransfer.InPlaceDataTransferer"
>> 
>> Is there a command-line wrapper already built I can use?
>> 
>> Thanks again!
>> Rishi
>> 
>> 
>> On Dec 23, 2010, at 3:44 PM, holenoter wrote:
>> 
>> 
>> sounds like a case for the profile/product server . . . but if you really want to use the filemgr, you can just use the InPlaceDataTransferer . . . if you mean by "i don't have the product on hand" meaning it is stored somewhere else, then just put that url where it is stored as the --ref arg . . . otherwise, if the product isn't anywhere, just put a random url as the arg to --ref (e.g. file:///some/file/i/dont/have) . . . it will at least let you get the metadata in
>> 
>> -brian
>> 
>> On Dec 23, 2010, at 2:28 PM, Verma, Rishi (317I) wrote:
>> 
>> Hi everyone,
>> 
>> I'm experimenting with OODT filemanager, and wanted to ingest a product file's met into the filemgr catalog.
>> 
>> I don't have the product file on hand, but I do have the metadata.
>> 
>> The filemgr user's guide (ie. http://oodt.apache.org/components/maven/filemgr/user/basic.html) documents how to ingest a product file assuming you actually have the product on hand. However, if I only want to ingest the metadata, how would I go about doing this?
>> 
>> The 'filemgr-client' script seems to not allow ignoring the product reference. In other words, I cannot simply eliminate the "--refs" flag.
>> 
>> 
>> ./filemgr-client --url http://localhost:9000 --operation \
>> --ingestProduct --productName blah.txt --productStructure Flat \
>> --productTypeName GenericFile \
>> --metadataFile file:///usr/local/cas-filemgr-v1.8.0/bin/blah.txt.met \
>> --refs file:///usr/local/cas-filemgr-v1.8.0/bin/blah.txt
>> 
>> 
>> Any tips on how to ingest metadata only?
>> 
>> Thanks!
>> Rishi
>> 
>> 
>> 
>> 
>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>> 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<ma...@nasa.gov>
>> WWW:   http://sunset.usc.edu/~mattmann/
>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>> Adjunct Assistant Professor, Computer Science Department
>> University of Southern California, Los Angeles, CA 90089 USA
>> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>> 
>> 
> 
> 
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 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
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 


Re: Filemanager how to only metadata

Posted by "Mattmann, Chris A (388J)" <ch...@jpl.nasa.gov>.
Hi Rishi,


> The filemgr-client usage statement seems to indicate support only for (--clienTransfer or --dataTransfer) options, not the "--transferFactory" as you suggested.

Sorry, I didn't know you interpreted my recollection of the *exact parameter name* literally. YMMV doing that. The best bet will always be to check the cmd line usage (with no args like you did) for the most up-to-date usage.

> In any case though, I tried a couple parameter arguments with filemgr-client, but all yield an error saying a product specified with --refs could not be located:
> 
> 1) ./filemgr-client ... --transferFactory InPlaceDataTransferFactory --refs file:///doesnotexist
> 
> 2) ./filemgr-client ... --dataTransfer InPlaceDataTransferFactory --refs file:///doesnotexist
> 
> 3) ./filemgr-client ... --dataTransfer org.apache.oodt.cas.filemgr.datatransfer.InPlaceDataTransfererFactory --refs file:///doesnotexist
> 
> 4) ./filemgr-client ... --transferFactory InPlaceDataTransfer --refs file:///doesnotexist

None of the above will would because they all omit the use of:

--clientTransfer
  NOTE: this parameter tells the File Manager that the FM Client will be doing the actually data transferring, rather than the FM Server.

So, basically what you do is you provide both the switch to turn on client transfer *and* the appropriate data transfer factory. Try:

  --clientTransfer --dataTransfer org.apache.oodt.cas.filemgr.datatransfer.InPlaceDataTransferFactory

HTH!

Cheers,
Chris

> 
> On Dec 28, 2010, at 2:12 PM, Chris A Mattmann wrote:
> 
> Hi Rishi,
> 
> Thanks. You just need to specify InPlaceDataTransfer as the --transferFactory parameter to the fmClient or to the crawler (which also expects a transfer factory)...
> 
> Cheers,
> Chris
> 
> On Dec 28, 2010, at 1:54 PM, Verma, Rishi (317I) wrote:
> 
> Hi -
> 
> Thanks for the helpful tips.
> 
> I was looking at InPlaceDataTransferer, and it does not seem to have a command line interface (there's no main). Specifically, I looked at the class
> "org.apache.oodt.cas.filemgr.datatransfer.InPlaceDataTransferer"
> 
> Is there a command-line wrapper already built I can use?
> 
> Thanks again!
> Rishi
> 
> 
> On Dec 23, 2010, at 3:44 PM, holenoter wrote:
> 
> 
> sounds like a case for the profile/product server . . . but if you really want to use the filemgr, you can just use the InPlaceDataTransferer . . . if you mean by "i don't have the product on hand" meaning it is stored somewhere else, then just put that url where it is stored as the --ref arg . . . otherwise, if the product isn't anywhere, just put a random url as the arg to --ref (e.g. file:///some/file/i/dont/have) . . . it will at least let you get the metadata in
> 
> -brian
> 
> On Dec 23, 2010, at 2:28 PM, Verma, Rishi (317I) wrote:
> 
> Hi everyone,
> 
> I'm experimenting with OODT filemanager, and wanted to ingest a product file's met into the filemgr catalog.
> 
> I don't have the product file on hand, but I do have the metadata.
> 
> The filemgr user's guide (ie. http://oodt.apache.org/components/maven/filemgr/user/basic.html) documents how to ingest a product file assuming you actually have the product on hand. However, if I only want to ingest the metadata, how would I go about doing this?
> 
> The 'filemgr-client' script seems to not allow ignoring the product reference. In other words, I cannot simply eliminate the "--refs" flag.
> 
> 
> ./filemgr-client --url http://localhost:9000 --operation \
> --ingestProduct --productName blah.txt --productStructure Flat \
> --productTypeName GenericFile \
> --metadataFile file:///usr/local/cas-filemgr-v1.8.0/bin/blah.txt.met \
> --refs file:///usr/local/cas-filemgr-v1.8.0/bin/blah.txt
> 
> 
> Any tips on how to ingest metadata only?
> 
> Thanks!
> Rishi
> 
> 
> 
> 
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 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<ma...@nasa.gov>
> WWW:   http://sunset.usc.edu/~mattmann/
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Adjunct Assistant Professor, Computer Science Department
> University of Southern California, Los Angeles, CA 90089 USA
> ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 
> 


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


Re: Filemanager how to only metadata

Posted by "Verma, Rishi (317I)" <Ri...@jpl.nasa.gov>.
Hi Chris,

The filemgr-client usage statement seems to indicate support only for (--clienTransfer or --dataTransfer) options, not the "--transferFactory" as you suggested.

In any case though, I tried a couple parameter arguments with filemgr-client, but all yield an error saying a product specified with --refs could not be located:

1) ./filemgr-client ... --transferFactory InPlaceDataTransferFactory --refs file:///doesnotexist

2) ./filemgr-client ... --dataTransfer InPlaceDataTransferFactory --refs file:///doesnotexist

3) ./filemgr-client ... --dataTransfer org.apache.oodt.cas.filemgr.datatransfer.InPlaceDataTransfererFactory --refs file:///doesnotexist

4) ./filemgr-client ... --transferFactory InPlaceDataTransfer --refs file:///doesnotexist

For all the above attempts, I see in the filemgr log the following exception:
SEVERE: ingestProduct: DataTransferException when transfering Product: test.h5: Message: Source '/doesnotexist' does not exist
org.apache.oodt.cas.filemgr.structs.exceptions.DataTransferException: java.io.FileNotFoundException: Source '/doesnotexist' does not exist

Do you have any tips on the above usage or why its still looking for a real product file?

Thank you!
Rishi

On Dec 28, 2010, at 2:12 PM, Chris A Mattmann wrote:

Hi Rishi,

Thanks. You just need to specify InPlaceDataTransfer as the --transferFactory parameter to the fmClient or to the crawler (which also expects a transfer factory)...

Cheers,
Chris

On Dec 28, 2010, at 1:54 PM, Verma, Rishi (317I) wrote:

Hi -

Thanks for the helpful tips.

I was looking at InPlaceDataTransferer, and it does not seem to have a command line interface (there's no main). Specifically, I looked at the class
"org.apache.oodt.cas.filemgr.datatransfer.InPlaceDataTransferer"

Is there a command-line wrapper already built I can use?

Thanks again!
Rishi


On Dec 23, 2010, at 3:44 PM, holenoter wrote:


sounds like a case for the profile/product server . . . but if you really want to use the filemgr, you can just use the InPlaceDataTransferer . . . if you mean by "i don't have the product on hand" meaning it is stored somewhere else, then just put that url where it is stored as the --ref arg . . . otherwise, if the product isn't anywhere, just put a random url as the arg to --ref (e.g. file:///some/file/i/dont/have) . . . it will at least let you get the metadata in

-brian

On Dec 23, 2010, at 2:28 PM, Verma, Rishi (317I) wrote:

Hi everyone,

I'm experimenting with OODT filemanager, and wanted to ingest a product file's met into the filemgr catalog.

I don't have the product file on hand, but I do have the metadata.

The filemgr user's guide (ie. http://oodt.apache.org/components/maven/filemgr/user/basic.html) documents how to ingest a product file assuming you actually have the product on hand. However, if I only want to ingest the metadata, how would I go about doing this?

The 'filemgr-client' script seems to not allow ignoring the product reference. In other words, I cannot simply eliminate the "--refs" flag.


./filemgr-client --url http://localhost:9000 --operation \
--ingestProduct --productName blah.txt --productStructure Flat \
--productTypeName GenericFile \
--metadataFile file:///usr/local/cas-filemgr-v1.8.0/bin/blah.txt.met \
--refs file:///usr/local/cas-filemgr-v1.8.0/bin/blah.txt


Any tips on how to ingest metadata only?

Thanks!
Rishi




++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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<ma...@nasa.gov>
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Re: Filemanager how to only metadata

Posted by Chris A Mattmann <ch...@gmail.com>.
Hi Rishi,

Thanks. You just need to specify InPlaceDataTransfer as the --transferFactory parameter to the fmClient or to the crawler (which also expects a transfer factory)...

Cheers,
Chris

On Dec 28, 2010, at 1:54 PM, Verma, Rishi (317I) wrote:

> Hi -
> 
> Thanks for the helpful tips.
> 
> I was looking at InPlaceDataTransferer, and it does not seem to have a command line interface (there's no main). Specifically, I looked at the class 
> "org.apache.oodt.cas.filemgr.datatransfer.InPlaceDataTransferer"
> 
> Is there a command-line wrapper already built I can use?
> 
> Thanks again!
> Rishi
> 
> 
> On Dec 23, 2010, at 3:44 PM, holenoter wrote:
> 
>> 
>> sounds like a case for the profile/product server . . . but if you really want to use the filemgr, you can just use the InPlaceDataTransferer . . . if you mean by "i don't have the product on hand" meaning it is stored somewhere else, then just put that url where it is stored as the --ref arg . . . otherwise, if the product isn't anywhere, just put a random url as the arg to --ref (e.g. file:///some/file/i/dont/have) . . . it will at least let you get the metadata in
>> 
>> -brian
>> 
>> On Dec 23, 2010, at 2:28 PM, Verma, Rishi (317I) wrote:
>> 
>>> Hi everyone,
>>> 
>>> I'm experimenting with OODT filemanager, and wanted to ingest a product file's met into the filemgr catalog.
>>> 
>>> I don't have the product file on hand, but I do have the metadata.
>>> 
>>> The filemgr user's guide (ie. http://oodt.apache.org/components/maven/filemgr/user/basic.html) documents how to ingest a product file assuming you actually have the product on hand. However, if I only want to ingest the metadata, how would I go about doing this?
>>> 
>>> The 'filemgr-client' script seems to not allow ignoring the product reference. In other words, I cannot simply eliminate the "--refs" flag.
>>> 
>>> 
>>>> ./filemgr-client --url http://localhost:9000 --operation \
>>> --ingestProduct --productName blah.txt --productStructure Flat \
>>> --productTypeName GenericFile \
>>> --metadataFile file:///usr/local/cas-filemgr-v1.8.0/bin/blah.txt.met \
>>> --refs file:///usr/local/cas-filemgr-v1.8.0/bin/blah.txt
>>> 
>>> 
>>> Any tips on how to ingest metadata only?
>>> 
>>> Thanks!
>>> Rishi
>> 
> 


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


Re: Filemanager how to only metadata

Posted by "Verma, Rishi (317I)" <Ri...@jpl.nasa.gov>.
Hi -

Thanks for the helpful tips.

I was looking at InPlaceDataTransferer, and it does not seem to have a command line interface (there's no main). Specifically, I looked at the class 
"org.apache.oodt.cas.filemgr.datatransfer.InPlaceDataTransferer"

Is there a command-line wrapper already built I can use?

Thanks again!
Rishi


On Dec 23, 2010, at 3:44 PM, holenoter wrote:

> 
> sounds like a case for the profile/product server . . . but if you really want to use the filemgr, you can just use the InPlaceDataTransferer . . . if you mean by "i don't have the product on hand" meaning it is stored somewhere else, then just put that url where it is stored as the --ref arg . . . otherwise, if the product isn't anywhere, just put a random url as the arg to --ref (e.g. file:///some/file/i/dont/have) . . . it will at least let you get the metadata in
> 
> -brian
> 
> On Dec 23, 2010, at 2:28 PM, Verma, Rishi (317I) wrote:
> 
>> Hi everyone,
>> 
>> I'm experimenting with OODT filemanager, and wanted to ingest a product file's met into the filemgr catalog.
>> 
>> I don't have the product file on hand, but I do have the metadata.
>> 
>> The filemgr user's guide (ie. http://oodt.apache.org/components/maven/filemgr/user/basic.html) documents how to ingest a product file assuming you actually have the product on hand. However, if I only want to ingest the metadata, how would I go about doing this?
>> 
>> The 'filemgr-client' script seems to not allow ignoring the product reference. In other words, I cannot simply eliminate the "--refs" flag.
>> 
>> 
>>> ./filemgr-client --url http://localhost:9000 --operation \
>>  --ingestProduct --productName blah.txt --productStructure Flat \
>>  --productTypeName GenericFile \
>>  --metadataFile file:///usr/local/cas-filemgr-v1.8.0/bin/blah.txt.met \
>>  --refs file:///usr/local/cas-filemgr-v1.8.0/bin/blah.txt
>> 
>> 
>> Any tips on how to ingest metadata only?
>> 
>> Thanks!
>> Rishi
> 


Re: Filemanager how to only metadata

Posted by holenoter <ho...@me.com>.
sounds like a case for the profile/product server . . . but if you really want to use the filemgr, you can just use the InPlaceDataTransferer . . . if you mean by "i don't have the product on hand" meaning it is stored somewhere else, then just put that url where it is stored as the --ref arg . . . otherwise, if the product isn't anywhere, just put a random url as the arg to --ref (e.g. file:///some/file/i/dont/have) . . . it will at least let you get the metadata in

-brian

On Dec 23, 2010, at 2:28 PM, Verma, Rishi (317I) wrote:

> Hi everyone,
> 
> I'm experimenting with OODT filemanager, and wanted to ingest a product file's met into the filemgr catalog.
> 
> I don't have the product file on hand, but I do have the metadata.
> 
> The filemgr user's guide (ie. http://oodt.apache.org/components/maven/filemgr/user/basic.html) documents how to ingest a product file assuming you actually have the product on hand. However, if I only want to ingest the metadata, how would I go about doing this?
> 
> The 'filemgr-client' script seems to not allow ignoring the product reference. In other words, I cannot simply eliminate the "--refs" flag.
> 
> 
>> ./filemgr-client --url http://localhost:9000 --operation \
>   --ingestProduct --productName blah.txt --productStructure Flat \
>   --productTypeName GenericFile \
>   --metadataFile file:///usr/local/cas-filemgr-v1.8.0/bin/blah.txt.met \
>   --refs file:///usr/local/cas-filemgr-v1.8.0/bin/blah.txt
> 
> 
> Any tips on how to ingest metadata only?
> 
> Thanks!
> Rishi