Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

java.lang.IllegalArgumentException: Pathname /tpa-paas/20180626.07:01:20/4604/psm/psm-check-report.xml/psm-check-report.xml.1530090504591.tmp is not a valid DFS filename.

avatar
New Member

Environment details : Hortonworks 2.5

Flume 1.7

Spool dir source.

Am trying to write a file to HDFS and the subdirectory name contains ":" in it and am getting "not a valid DFS name " while writing to HDFS.

Any workarounds for this?

1 ACCEPTED SOLUTION

avatar
Master Mentor
2 REPLIES 2

avatar
Master Mentor

@Jyotsna Ganji

You might want to see this JIRA: https://issues.apache.org/jira/browse/HADOOP-14217

and

https://issues.apache.org/jira/browse/HDFS-13 ( the use of : is not yet resolved)

avatar
New Member

Thank you @Jay Kumar SenSharma . Will try to build a custom interceptor to drop the : character.