Comments (4)
Do you configure time formatting with localtime
or utc
?
fluent-plugin-webhdfs
does not consider these options, and I think that it is bug.
from fluent-plugin-webhdfs.
This is my td-agent.conf
<>
type webhdfs
host localhost
port 50070
path /data/%Y%m%d%H%M%S
username hdfs
output_include_tag false
field_separator TAB
time_format %Y-%m-%d %H:%M:%S
output_data_type attr:............
flush_interval 2s
</>
from fluent-plugin-webhdfs.
I see.
Default timezone of time formatting of path is local timezone.
But default timezone of record time formatting is UTC. It is very misleading...
Specify localtime
to use local timezone for record time formatting:
path /data/%Y%m%d%H%M%S
time_format %Y-%m-%d %H:%M:%S
localtime
Path time formatting under UTC (non-localtime) is not supported now.
from fluent-plugin-webhdfs.
Thank you very much I got it.
from fluent-plugin-webhdfs.
Related Issues (20)
- Plugin lost file buffer when setting buffer type to file and split file by hourly HOT 5
- forward error error=#<Encoding::UndefinedConversionError: "\xE6" from ASCII-8BIT to UTF-8> error_class=Encoding::UndefinedConversionError HOT 7
- Output by tag like out_file (Feature Request) HOT 3
- 根据日志中的字段指定hdfs上的路径 HOT 5
- httpFS - Do not create file if it does not exist HOT 5
- part of data missing
- output_format , just simple HOT 12
- out_webhdfs.rb's class changed from TimeSlicedOutput to Output HOT 2
- the webhdfs doesn't work HOT 6
- Kerberos Keytab example HOT 5
- Can hdfs path use ${tag} or ${record} ? just like: /data/hdfs/${tag}.#{Socket.gethostname}.log HOT 1
- Error installing fluent-plugin-webhdfs HOT 3
- HA configuration performs incorrectly HOT 4
- When try to append to file more often then default timekey, exception happens
- kerberos_keytab not authorize HOT 2
- use chunk_id in path HOT 3
- httpFS - Can not create file when it does not exist
- Compression Snappy is not work. HOT 3
- systemctl reload td-agent.service is not working properly with @type webhdfs
- Operation category READ is not supported in state standby
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluent-plugin-webhdfs.