Comments (4)
I noticed that this region server does not have any regions on it yet. Could that be the reason why it is not getting shown on the inspector?
Correct. That's currently how it works, but yeah I guess it makes more sense to just display the servers unconditionally. I'll change that shortly.
The region count for a table is shown as zero when there is one region for that table created on the region server.
No, region count shouldn't be affected by the size of the regions and I can't reproduce the problem locally, so, can you post a screenshot of the page? Number of storefiles can be zero though if the table is new and was never flushed.
Do I need to start it explicitly?
Web page for each regionserver starts automatically unless you explicitly set hbase.regionserver.info.port
to -1 (which I doubt you did). 16030 is the default port since HBase 1.0, but Cloudera still uses the old 60030 for backward compatibility. Try changing the port or the URL to 60030 and see if it opens. The reason hbase-region-inspector uses the default port even when the actual port is different is because there is no API to retrieve the actual port being used. One thing you can do is to create a properties file such as follows and use it as the first argument to hbase-region-inspector.
hbase.zookeeper.quorum = localhost
hbase.regionserver.info.port = 60030
from hbase-region-inspector.
Appreciate your quick response.
About the second point - region count shown as zero, kindly find the screenshot here - http://i.imgur.com/KbvVD1r.png
Also here's a screenshot from the hbase web ui - http://i.imgur.com/ixCYXpU.png. Note that even though the UI doesn't show the start and end key of region I can still query the table through PHOENIX sqlline client. The table has 1 row.
Let me know if you find the root cause.
from hbase-region-inspector.
Ah, you're looking at "Data size" tab, so the zeros are not the number of regions but the size of the regions in megabytes. And apparently the size of your table is less than 1MB so it's not showing. In this case, you might want to check "Storefiles" tab instead. Note that the table will still not be visible there if it was never flushed before (no storefile).
I'll release a new version with the changes we discussed here later in the day and let you know.
from hbase-region-inspector.
Just released 0.3.4: https://github.com/kakao/hbase-region-inspector/releases/tag/v0.3.4
Try it and let me know if you have any issues. Thanks.
from hbase-region-inspector.
Related Issues (3)
- Unable to connect to zookeeper HOT 2
- HBase 최신버전에는 적용이 안되나요? HOT 4
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 hbase-region-inspector.