Support Questions
Find answers, ask questions, and share your expertise

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.

Explorer

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

Super Mentor
2 REPLIES 2

Super 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)

Explorer

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

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.