My guess is that you're creating a filename with invalid characters in it as far as hdfs is concerned.
Rather than the toString method, which includes colons and other punctuation, I'd just use Date.now() - the epoch time in millisecs as a number.
You may want to consider the case where two tweets arrive in the same millisecond... Which would otherwise generate the same filename if you're not careful.
Nick
--
http://nodered.org
---
You received this message because you are subscribed to the Google Groups "Node-RED" group.
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Oh, meant to say, if an invalid filename is the cause, I'll pass that on to the owner of the node as it really should warn you.
Nick
To unsubscribe from this group and stop receiving emails from it, send an email to node-red+unsubscribe@googlegroups.com.