Comments (4)
@zefir6 , you could try to reduce the buckets fsimage_user_fsize_bucket buckets for a start , or completely disable file size distribution for users.
Reduce the number of buckets:
# Configure file size distribution buckets, supporting IEC units of KiB, MiB, GiB, TiB, PiB
fileSizeDistributionBuckets: ['0','1MiB', '32MiB', '128MiB', '1GiB']
Disable any file size distribution on user level:
skipFileDistributionForUserStats : true
The file size distribution on user level is quite useful for catching culprits that create too many small files on HDFS though...
from hadoop-hdfs-fsimage-exporter.
Hey, thanks for reply :)
Regardless of how I set that option, I still get hundreds of lines like this:
fsimage_group_blocks{group_name="group.name",} 0.0
fsimage_user_blocks{user_name="user.name",} 0.0
(and the same for many other attributes)
According to my count, with every skip enabled, every user (even if he has one file), generates 15 lines in the exporter. I was just considering editing the code and trying to cut out the bit that generates user & group labels (as thats about peak of my java skills :) )
from hadoop-hdfs-fsimage-exporter.
Can you provide me the output of number of metrics?
sort_desc(count({__name__=~"fsimage_.*"}) by (__name__))
Usually the mentioned before histogram metrics for file size distribution have a real impact (number of users X number of buckets ...).
from hadoop-hdfs-fsimage-exporter.
... and the config if possible
from hadoop-hdfs-fsimage-exporter.
Related Issues (20)
- Switch container OpenJDK base image to azul/zulu-openjdk-alpine:17.0.3-jre-headless
- Export all default exporter JVM metrics
- Migrate to reload4j
- Update HFSA to 1.3.5
- Update Prometheus simpleclient to 0.16.0
- Docker configuration folder changed HOT 1
- config.yml paths How do I support cross-directory re syntax HOT 3
- Extend path regexp matching
- Update hfsa lib to 1.3.7
- Update docker base image to JDK 17.0.4
- Update snakeyaml to 1.31
- Update snakeyaml to 1.33
- Update HFSA lib to 1.3.8
- Update docker base image to OpenJDK 17.0.5
- Update JMH to 1.36 (test scope only)
- How to config the fsImagePath in the example.yml file when deploy hadoop-hdfs-fsimage-exporter not in namenode node HOT 2
- Fsimage metrics are not getting exported HOT 3
- Update container base image to latest JVM 17.0.6
- Update container base image to latest JVM 17.0.7
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 hadoop-hdfs-fsimage-exporter.