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: Problem happened when I tried to run the script "crawler_launcher"
Date Tue, 07 Aug 2012 05:54:12 GMT
Hi YunHee,

This looks like crawler option validation in the cmd-line-option-beans.xml
file, validating the filemgrUrl -- I don't think you can have the trailing slash at the 
end -- which is probably correct since that's not a valid URL I believe.

Cheers,
Chris

On Aug 6, 2012, at 9:46 AM, YunHee Kang wrote:

> Hi Chris,
> 
> I got an error message when I tried to run crawler_launcher by using a
> shell script. The error message may be caused by a  wrong URL of
> filemgr.
> $ ./crawler_launcher.sh
> ERROR: Validation Failures: - Value 'http://localhost:8000/' is not
> allowed for option
> [longOption='filemgrUrl',shortOption='fm',description='File Manager
> URL'] - Allowed values = [http://.*:\d*]
> 
> The following is the shell script that I wrote:
> $ cat crawler_launcher.sh
> #!/bin/sh
> export STAGE_AREA=/home/yhkang/oodt-0.5/cas-pushpull/staging/TESL2CO2
> ./crawler_launcher \
>       -op --launchStdCrawler \
>       --productPath $STAGE_AREA\
>       --filemgrUrl http://localhost:8000/\
>       --failureDir /tmp \
>       --actionIds DeleteDataFile MoveDataFileToFailureDir Unique \
>       --metFileExtension tmp \
>       --clientTransferer
> org.apache.oodt.cas.filemgr.datatransfer.LocalDataTransferer
> 
> I am wondering if there is a problem in the URL of the filemgr or elsewhere
> 
> Thanks,
> Yunhee


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