print.sh
#!/ bin / bash
cd /cygdrive/c/cygwin/home/apache-nutch-1.9/
bin / crawl urls / crawlresult / http:// localhost:8983 / solr / test 1
sample.bat
C:\ cygwin \ bin \ bash C:\ Users \ user \ Desktop \ print.sh
错误
Fetcher:org.apache.hadoop.mapred.InvalidInputException:输入路径不存在:file:/ C:/cygwin/home/apache-nutch-1.9/crawlresult/segments/crawl_generate 在org.apache.hadoop.mapred.FileInputFormat.listStatus(FileInputFormat.j) AVA:190)
我可以从cygwin终端运行nutch命令,但在运行脚本文件时失败。