{"id":19653623,"url":"https://github.com/sematext/hbasemetricscontext","last_synced_at":"2025-04-28T17:31:43.909Z","repository":{"id":1387069,"uuid":"1356912","full_name":"sematext/HBaseMetricsContext","owner":"sematext","description":null,"archived":false,"fork":false,"pushed_at":"2011-02-14T12:26:51.000Z","size":326,"stargazers_count":9,"open_issues_count":0,"forks_count":6,"subscribers_count":25,"default_branch":"master","last_synced_at":"2025-04-21T11:08:29.022Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sematext.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-02-11T22:23:46.000Z","updated_at":"2018-07-17T10:01:32.000Z","dependencies_parsed_at":"2022-07-29T12:38:59.478Z","dependency_job_id":null,"html_url":"https://github.com/sematext/HBaseMetricsContext","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sematext%2FHBaseMetricsContext","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sematext%2FHBaseMetricsContext/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sematext%2FHBaseMetricsContext/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sematext%2FHBaseMetricsContext/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sematext","download_url":"https://codeload.github.com/sematext/HBaseMetricsContext/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251355457,"owners_count":21576360,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T15:14:40.972Z","updated_at":"2025-04-28T17:31:43.666Z","avatar_url":"https://github.com/sematext.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"HBaseMetricsContext\n===================\n\nThis is an example of extending the Hadoop metrics framework. It stores Hadoop metrics in HBase. Since HBase itself uses the Hadoop metrics framework, you can use it to store its own metrics inside itself. Useful? Maybe. This is just an example after all.\n\nBuild the project using:\n\n::\n\n  mvn package\n\nPut the resulting Jar file in the HBase lib directory.\n\nYou will need to create a table with the relevant column families. We assume the column families are a composite of:\n\n:: \n\n  columnFamily = contextName + \".\" + recordName\n\nIn the HBase shell create your table: \n\n::\n\n  create 'metrics', 'hbase.master', 'hbase.regionserver'\n\nEdit your hadoop-metrics.properties file to include:\n\n::\n\n  hbase.class=com.sematext.hadoop.metrics.HBaseMetricsContext\n  hbase.tableName=metrics\n  hbase.period=10\n\nRestart HBase and it will start inserting to the metrics table every 10 seconds.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsematext%2Fhbasemetricscontext","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsematext%2Fhbasemetricscontext","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsematext%2Fhbasemetricscontext/lists"}