-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
httpFS - Do not create file if it does not exist #46
Comments
I'm also experiencing this problem but on the cloudera platform. We cannot use webhdfs because it does not have HA capabilities compared to httpfs. |
Sorry for missing this issue.
From enarciso comment, it seems HttpFS behaviour is same on several distribution. I'm not sure this is a bug of HttpFS or not. |
My unfortunate workaround at the moment is to constantly monitor the httpfs logs, watch for string like above and run a |
|
Thank you @tagomoris, ive open a case with Cloudera. |
Hello,
We are running a MapR custer and webHDFS is not supported by MapR. So we are trying to populate hadoop using httpFS.
Our Webhdfs config :
However when using the fluentd plugin, logs are appended correclty to an existing file. But if the file does not exist (using a timestamp-based filename), we get a WebHDFS::ServerError instead of a WebHDFS::FileNotFoundError that would create the file I guess.
Error 500 received by Mapr :
logs by fluentd-webhdfs plugin :
related code :
https://github.com/fluent/fluent-plugin-webhdfs/blob/master/lib/fluent/plugin/out_webhdfs.rb#L262
What I am not sure and I can't find proper specifications for HttpFS on the web is :
Thank You
Alban
The text was updated successfully, but these errors were encountered: