GitHub user karanjeets opened a pull request:
https://github.com/apache/nutch/pull/76
Fixed FileNotFoundException (Invalid Argument) Error
Got ```FileNotFoundException``` while running nutch dump.
**Cause**: Character '?' in file name/extension producing the below error.
**Error Details**
java.io.FileNotFoundException:
/media/PATRO/Karan/nutch_12Oct/other_gun_urls/img/99/fb/97d3980f9954b597f372d092b97eff22_27tlt_recon_1_black_g_10_handle_.jpeg?
(Invalid argument)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:221)
at java.io.FileOutputStream.<init>(FileOutputStream.java:171)
at org.apache.nutch.tools.FileDumper.dump(FileDumper.java:222)
at org.apache.nutch.tools.FileDumper.main(FileDumper.java:325)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/karanjeets/nutch trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/nutch/pull/76.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #76
----
commit 400f8d613a0b2d5973e420b7ba7813a60b6b4d72
Author: karanjeets <[email protected]>
Date: 2015-10-13T16:30:42Z
Fixed FileNotFoundException Invalid Argument Error
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---