Repository Analysis

apache/hbase

Apache HBase

4.0 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of apache/hbase, a Java project with 5,541 GitHub stars. SynthScan v2.0 examined 1,346,241 lines of code across 5960 source files, recording 1580 pattern matches distributed across 19 syntactic categories. The overall adjusted score of 4.0 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

4.0
Adjusted Score
4.0
Raw Score
100%
Time Factor
2026-07-13
Last Push
5.5K
Stars
Java
Language
1.3M
Lines of Code
6.0K
Files
1.6K
Pattern Hits
2026-07-14
Scan Date
0.06
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 338HIGH 9MEDIUM 243LOW 990

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 1580 distinct pattern matches across 19 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hallucination Indicators338 hits · 3730 pts
SeverityFileLineSnippetContext
CRITICALhbase-website/public/old-book-static-files/MathJax.js19if(document.getElementById&&document.childNodes&&document.createElement){if(!(window.MathJax&&MathJax.Hub)){if(window.MaCODE
CRITICAL…c/old-book-static-files/config/TeX-MML-AM_HTMLorMML.js19if(document.getElementById&&document.childNodes&&document.createElement){if(!(window.MathJax&&MathJax.Hub)){if(window.MaCODE
CRITICAL…a/org/apache/hadoop/hbase/ClientMetaTableAccessor.java382 @edu.umd.cs.findbugs.annotations.SuppressWarnings(value = "NP_NONNULL_PARAM_VIOLATION",CODE
CRITICAL…oop/hbase/security/access/ShadedAccessControlUtil.java103 return org.apache.hadoop.hbase.TableName.valueOf(CODE
CRITICAL…ava/org/apache/hadoop/hbase/quotas/QuotaTableUtil.java536 org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceQuotaSnapshot.newBuilder()CODE
CRITICAL…ava/org/apache/hadoop/hbase/quotas/QuotaTableUtil.java547 org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos.SpaceQuotaSnapshot.newBuilder()CODE
CRITICAL…ache/hadoop/hbase/exceptions/ClientExceptionsUtil.java126 @edu.umd.cs.findbugs.annotations.SuppressWarnings(value = "MS_EXPOSE_REP",CODE
CRITICAL…rg/apache/hadoop/hbase/ipc/HBaseRpcControllerImpl.java118 @edu.umd.cs.findbugs.annotations.SuppressWarnings(value = "IS2_INCONSISTENT_SYNC",CODE
CRITICAL…rg/apache/hadoop/hbase/ipc/HBaseRpcControllerImpl.java153 @edu.umd.cs.findbugs.annotations.SuppressWarnings(value = "IS2_INCONSISTENT_SYNC",CODE
CRITICAL…org/apache/hadoop/hbase/ipc/BlockingRpcConnection.java89 @edu.umd.cs.findbugs.annotations.SuppressWarnings(value = "IS2_INCONSISTENT_SYNC",CODE
CRITICAL…nt/src/main/java/org/apache/hadoop/hbase/ipc/Call.java48 @edu.umd.cs.findbugs.annotations.SuppressWarnings(value = "IS2_INCONSISTENT_SYNC",CODE
CRITICAL…nt/src/main/java/org/apache/hadoop/hbase/ipc/Call.java53 @edu.umd.cs.findbugs.annotations.SuppressWarnings(value = "IS2_INCONSISTENT_SYNC",CODE
CRITICAL…a/org/apache/hadoop/hbase/ipc/CoprocessorRpcUtils.java100 .setRow(org.apache.hbase.thirdparty.com.google.protobuf.UnsafeByteOperations.unsafeWrap(row))CODE
CRITICAL…a/org/apache/hadoop/hbase/ipc/CoprocessorRpcUtils.java153 org.apache.hbase.thirdparty.com.google.protobuf.ByteString.copyFrom(result.toByteArray())));CODE
CRITICAL…/apache/hadoop/hbase/filter/DependentColumnFilter.java236 @edu.umd.cs.findbugs.annotations.SuppressWarnings(CODE
CRITICAL…pache/hadoop/hbase/filter/SingleColumnValueFilter.java90 this(family, qualifier, op, new org.apache.hadoop.hbase.filter.BinaryComparator(value));CODE
CRITICAL…ava/org/apache/hadoop/hbase/filter/NullComparator.java46 @edu.umd.cs.findbugs.annotations.SuppressWarnings(value = "EQ_UNUSUAL", justification = "")CODE
CRITICAL…/apache/hadoop/hbase/client/BufferedMutatorParams.java236 @edu.umd.cs.findbugs.annotations.SuppressWarnings(value = "CN_IDIOM_NO_SUPER_CALL",CODE
CRITICAL…io/asyncfs/FanOutOneBlockAsyncDFSOutputSaslHelper.java116 org.apache.hadoop.security.SaslRpcServer.AuthMethod.TOKEN.getMechanismName();CODE
CRITICAL…g/apache/hadoop/hbase/backup/impl/BackupAdminImpl.java671 + org.apache.hadoop.util.StringUtils.join(",", missingIds);CODE
CRITICAL…apache/hadoop/hbase/backup/impl/BackupSystemTable.java713 .setTableName(org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil.toProtoTableName(table));CODE
CRITICAL…apache/hadoop/hbase/backup/impl/BackupSystemTable.java736 org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil.toServerName(st.getServerName());CODE
CRITICAL…/regionserver/LogRollRegionServerProcedureManager.java49 * On shutdown, requires org.apache.hadoop.hbase.procedure.ProcedureMember.close() to be calledCOMMENT
CRITICAL…/apache/hadoop/hbase/PerformanceEvaluationCommons.java59 !org.apache.hadoop.hbase.util.Bytes.equals(expected, 0, expected.length, gotArray,CODE
CRITICAL…/apache/hadoop/hbase/PerformanceEvaluationCommons.java63 "Expected " + org.apache.hadoop.hbase.util.Bytes.toString(expected) + " but got "CODE
CRITICAL…/apache/hadoop/hbase/PerformanceEvaluationCommons.java64 + org.apache.hadoop.hbase.util.Bytes.toString(gotArray, gotArrayOffset, gotArrayLength));CODE
CRITICALbin/shutdown_regionserver.rb39org.apache.hadoop.hbase.logging.Log4jUtils.setAllLevels('org.apache.hadoop.hbase', log_level)CODE
CRITICALbin/shutdown_regionserver.rb40org.apache.hadoop.hbase.logging.Log4jUtils.setAllLevels('org.apache.zookeeper', log_level)CODE
CRITICALbin/shutdown_regionserver.rb41org.apache.hadoop.hbase.logging.Log4jUtils.setAllLevels('org.apache.hadoop', log_level)CODE
CRITICALbin/get-active-master.rb28org.apache.hadoop.hbase.logging.Log4jUtils.setAllLevels('org.apache.hadoop.hbase', log_level)CODE
CRITICALbin/get-active-master.rb29org.apache.hadoop.hbase.logging.Log4jUtils.setAllLevels('org.apache.zookeeper', log_level)CODE
CRITICALbin/get-active-master.rb30org.apache.hadoop.hbase.logging.Log4jUtils.setAllLevels('org.apache.hadoop', log_level)CODE
CRITICALbin/draining_servers.rb90 zkw = org.apache.hadoop.hbase.zookeeper.ZKWatcher.new(config, 'draining_servers', nil)CODE
CRITICALbin/draining_servers.rb107 zkw = org.apache.hadoop.hbase.zookeeper.ZKWatcher.new(config, 'draining_servers', nil)CODE
CRITICALbin/draining_servers.rb125 zkw = org.apache.hadoop.hbase.zookeeper.ZKWatcher.new(config, 'draining_servers', nil)CODE
CRITICALbin/draining_servers.rb140org.apache.hadoop.hbase.logging.Log4jUtils.setAllLevels('org.apache.hadoop.hbase', log_level)CODE
CRITICALbin/draining_servers.rb141org.apache.hadoop.hbase.logging.Log4jUtils.setAllLevels('org.apache.zookeeper', log_level)CODE
CRITICALbin/draining_servers.rb142org.apache.hadoop.hbase.logging.Log4jUtils.setAllLevels('org.apache.hadoop', log_level)CODE
CRITICALbin/replication/copy_tables_desc.rb79org.apache.hadoop.hbase.logging.Log4jUtils.setAllLevels('org.apache.hadoop.hbase', log_level)CODE
CRITICALbin/replication/copy_tables_desc.rb80org.apache.hadoop.hbase.logging.Log4jUtils.setAllLevels('org.apache.zookeeper', log_level)CODE
CRITICALbin/replication/copy_tables_desc.rb81org.apache.hadoop.hbase.logging.Log4jUtils.setAllLevels('org.apache.hadoop', log_level)CODE
CRITICAL…pache/hadoop/hbase/metrics/impl/FastLongHistogram.java141 @edu.umd.cs.findbugs.annotations.SuppressWarnings(value = "FL_FLOATS_AS_LOOP_COUNTERS",CODE
CRITICAL…rg/apache/hadoop/hbase/zookeeper/ZKAuthentication.java124 javax.security.auth.login.Configuration.setConfiguration(jaasConf);CODE
CRITICAL…rg/apache/hadoop/hbase/zookeeper/ZKAuthentication.java137 javax.security.auth.login.Configuration.getConfiguration();CODE
CRITICAL…rg/apache/hadoop/hbase/zookeeper/ZKAuthentication.java208 this.baseConfig = javax.security.auth.login.Configuration.getConfiguration();CODE
CRITICAL…che/hadoop/hbase/thrift2/TestThrift2ServerCmdLine.java66 return () -> new org.apache.hadoop.hbase.thrift2.ThriftServer(TEST_UTIL.getConfiguration());CODE
CRITICAL…apache/hadoop/hbase/thrift2/TestThrift2HttpServer.java59 return () -> new org.apache.hadoop.hbase.thrift2.ThriftServer(TEST_UTIL.getConfiguration());CODE
CRITICAL…che/hadoop/hbase/thrift/HBaseThriftTestingUtility.java94 return new org.apache.hadoop.hbase.thrift2.ThriftServer(conf);CODE
CRITICAL…java/org/apache/hadoop/hbase/thrift2/ThriftServer.java48@edu.umd.cs.findbugs.annotations.SuppressWarnings(value = "NM_SAME_SIMPLE_NAME_AS_SUPERCLASS",CODE
CRITICAL…/java/org/apache/hadoop/hbase/thrift/ThriftServer.java278 return org.apache.hadoop.security.SecurityUtil.getServerPrincipal(principal, host);CODE
CRITICALhbase-common/src/saveVersion.sh92@edu.umd.cs.findbugs.annotations.SuppressWarnings(value="DM_STRING_CTOR",CODE
CRITICAL…rg/apache/hadoop/hbase/util/TestConcatenatedLists.java93 @edu.umd.cs.findbugs.annotations.SuppressWarnings(value = "DMI_VACUOUS_SELF_COLLECTION_CALL",CODE
CRITICAL…org/apache/hadoop/hbase/util/RedundantKVGenerator.java41@edu.umd.cs.findbugs.annotations.SuppressWarnings(value = "RV_ABSOLUTE_VALUE_OF_RANDOM_INT",CODE
CRITICAL…va/org/apache/hadoop/hbase/logging/TestLog4jUtils.java40 org.apache.logging.log4j.LogManager.getLogger("org.apache.zookeeper");CODE
CRITICAL…va/org/apache/hadoop/hbase/logging/TestLog4jUtils.java43 org.apache.logging.log4j.LogManager.getLogger("org.apache.hadoop.hbase.zookeeper");CODE
CRITICAL…va/org/apache/hadoop/hbase/logging/TestLog4jUtils.java46 org.apache.logging.log4j.LogManager.getLogger("org.apache.hadoop.hbase.client");CODE
CRITICAL…va/org/apache/hadoop/hbase/logging/TestLog4jUtils.java50 assertEquals(org.apache.logging.log4j.Level.OFF.toString(),CODE
CRITICAL…va/org/apache/hadoop/hbase/logging/TestLog4jUtils.java53 assertEquals(org.apache.logging.log4j.Level.OFF.toString(),CODE
CRITICAL…va/org/apache/hadoop/hbase/logging/TestLog4jUtils.java56 assertEquals(org.apache.logging.log4j.Level.OFF.toString(),CODE
CRITICAL…va/org/apache/hadoop/hbase/logging/TestLog4jUtils.java59 org.apache.logging.log4j.core.config.Configurator.setLevel(zk.getName(), zkLevel);CODE
278 more matches not shown…
Over-Commented Block567 hits · 564 pts
SeverityFileLineSnippetContext
LOW.asf.yaml1# Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWhbase-website/react-router.config.ts1//COMMENT
LOWhbase-website/prettier.config.js1//COMMENT
LOWhbase-website/global.d.ts1//COMMENT
LOWhbase-website/source.config.ts1//COMMENT
LOWhbase-website/playwright.config.ts1//COMMENT
LOWhbase-website/eslint.config.js1//COMMENT
LOWhbase-website/eslint.config.js41// Licensed to the Apache Software Foundation (ASF) under oneCOMMENT
LOWhbase-website/vite.config.ts1//COMMENT
LOWhbase-website/vitest.config.ts1//COMMENT
LOWhbase-website/app/routes.ts1//COMMENT
LOWhbase-website/app/root.tsx1//COMMENT
LOWhbase-website/app/ui/aspect-ratio.tsx1//COMMENT
LOWhbase-website/app/ui/alert-dialog.tsx1//COMMENT
LOWhbase-website/app/ui/pagination.tsx1//COMMENT
LOWhbase-website/app/ui/tabs.tsx1//COMMENT
LOWhbase-website/app/ui/button-group.tsx1//COMMENT
LOWhbase-website/app/ui/card.tsx1//COMMENT
LOWhbase-website/app/ui/popover.tsx1//COMMENT
LOWhbase-website/app/ui/scroll-area.tsx1//COMMENT
LOWhbase-website/app/ui/label.tsx1//COMMENT
LOWhbase-website/app/ui/navigation-menu.tsx1//COMMENT
LOWhbase-website/app/ui/accordion.tsx1//COMMENT
LOWhbase-website/app/ui/tooltip.tsx1//COMMENT
LOWhbase-website/app/ui/alert.tsx1//COMMENT
LOWhbase-website/app/ui/breadcrumb.tsx1//COMMENT
LOWhbase-website/app/ui/item.tsx1//COMMENT
LOWhbase-website/app/ui/avatar.tsx1//COMMENT
LOWhbase-website/app/ui/menubar.tsx1//COMMENT
LOWhbase-website/app/ui/dialog.tsx1//COMMENT
LOWhbase-website/app/ui/badge.tsx1//COMMENT
LOWhbase-website/app/ui/table.tsx1//COMMENT
LOWhbase-website/app/ui/separator.tsx1//COMMENT
LOWhbase-website/app/ui/button.tsx1//COMMENT
LOWhbase-website/app/ui/spinner.tsx1//COMMENT
LOWhbase-website/app/ui/collapsible.tsx1//COMMENT
LOWhbase-website/app/ui/dropdown-menu.tsx1//COMMENT
LOWhbase-website/app/ui/textarea.tsx1//COMMENT
LOWhbase-website/app/ui/input.tsx1//COMMENT
LOWhbase-website/app/components/link.tsx1//COMMENT
LOWhbase-website/app/components/site-footer.tsx1//COMMENT
LOWhbase-website/app/components/mdx-components.tsx1//COMMENT
LOWhbase-website/app/components/links.ts1//COMMENT
LOWhbase-website/app/components/theme-toggle.tsx1//COMMENT
LOWhbase-website/app/components/site-navbar.tsx1//COMMENT
LOWhbase-website/app/components/getting-started.tsx1//COMMENT
LOWhbase-website/app/components/docs/toc/index.tsx1//COMMENT
LOWhbase-website/app/components/docs/toc/default.tsx1//COMMENT
LOWhbase-website/app/components/docs/toc/clerk.tsx1//COMMENT
LOWhbase-website/app/components/docs/layout/link-item.tsx1//COMMENT
LOWhbase-website/app/components/docs/layout/shared.tsx1//COMMENT
LOW…e-website/app/components/docs/layout/search-toggle.tsx1//COMMENT
LOW…website/app/components/docs/layout/language-toggle.tsx1//COMMENT
LOW…se-website/app/components/docs/layout/theme-toggle.tsx1//COMMENT
LOW…bsite/app/components/docs/layout/sidebar/link-item.tsx1//COMMENT
LOW…bsite/app/components/docs/layout/sidebar/page-tree.tsx1//COMMENT
LOW…se-website/app/components/docs/layout/sidebar/base.tsx1//COMMENT
LOW…site/app/components/docs/layout/sidebar/tabs/index.tsx1//COMMENT
LOW…e/app/components/docs/layout/sidebar/tabs/dropdown.tsx1//COMMENT
LOWhbase-website/app/components/docs/layout/docs/index.tsx1//COMMENT
507 more matches not shown…
Decorative Section Separators199 hits · 523 pts
SeverityFileLineSnippetContext
MEDIUMhbase-shell/src/test/ruby/shell/general_test_cluster.rb41 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/shell/general_test_cluster.rb55 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/shell/general_test_cluster.rb64 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/shell/general_test_cluster.rb104 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/shell/general_test_cluster.rb110 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/shell/general_test_cluster.rb116 #-----------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/shell/general_test_cluster.rb135 #-----------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/shell/general_test_cluster.rb145 #-----------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/shell/general_test_cluster.rb155 #-----------------------------------------------------------------------------COMMENT
MEDIUM…se-shell/src/test/ruby/shell/formatter_test_cluster.rb49 #-------------------------------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin2_test_cluster.rb117 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb134 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb141 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb147 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb153 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb161 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb167 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb177 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb422 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb429 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb436 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb114 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb123 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb188 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb208 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb214 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb233 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb241 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb268 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb295 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb322 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb349 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb376 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb536 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb613 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb638 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb662 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb686 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/admin_test.rb892 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/table_test.rb68 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/table_test.rb76 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/table_test.rb152 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/table_test.rb182 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/table_test.rb229 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/table_test.rb352 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/test/ruby/hbase/table_test.rb540 #-------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/main/ruby/shell.rb95 #----------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/main/ruby/shell/commands.rb109 #----------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/main/ruby/hbase/replication_admin.rb127 #----------------------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/main/ruby/hbase/replication_admin.rb133 #---------------------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/main/ruby/hbase/replication_admin.rb141 #----------------------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/main/ruby/hbase/replication_admin.rb147 #----------------------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/main/ruby/hbase/replication_admin.rb153 #----------------------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/main/ruby/hbase/replication_admin.rb159 #----------------------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/main/ruby/hbase/replication_admin.rb188 #----------------------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/main/ruby/hbase/replication_admin.rb201 #----------------------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/main/ruby/hbase/replication_admin.rb40 #----------------------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/main/ruby/hbase/replication_admin.rb170 #----------------------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/main/ruby/hbase/replication_admin.rb433 #----------------------------------------------------------------------------------------------COMMENT
MEDIUMhbase-shell/src/main/ruby/hbase/replication_admin.rb440 #----------------------------------------------------------------------------------------------COMMENT
139 more matches not shown…
Deep Nesting164 hits · 97 pts
SeverityFileLineSnippetContext
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py4061CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py4140CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py4213CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py4300CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py4381CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py4460CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py4536CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py4623CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py4705CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py4856CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py4981CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py5054CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py5203CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py5344CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py5431CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py5523CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py5648CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py5721CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py5800CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py5874CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py5953CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py6027CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py6106CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py6179CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py6257CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py6413CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py6487CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py6630CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py6719CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py6803CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py6891CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py7029CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py7122CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py7259CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py7397CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py7469CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py7544CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py7689CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py7762CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py7838CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py7984CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py8066CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py8142CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py8288CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py8370CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py8644CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py9104CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py9242CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py9380CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py9453CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py9595CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py9736CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py10449CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py10566CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py10691CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py10980CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py11064CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py11144CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py11217CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py11363CODE
104 more matches not shown…
Excessive Try-Catch Wrapping100 hits · 78 pts
SeverityFileLineSnippetContext
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py2736 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py2762 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py2788 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py2814 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py2840 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py2866 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py2892 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py2918 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py2944 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py2970 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py2996 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3022 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3048 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3077 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3106 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3132 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3158 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3184 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3210 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3236 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3262 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3288 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3314 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3340 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3366 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3392 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3418 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3444 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3470 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3496 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3522 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3548 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3574 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3600 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3626 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3652 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3678 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3704 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3730 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3756 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3782 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3808 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3834 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3860 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3886 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3909 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3932 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3958 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py3984 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py4010 except Exception:CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py4036 except Exception:CODE
LOW…examples/src/main/python/thrift1/gen_py/hbase/Hbase.py2684 except Exception:CODE
LOW…examples/src/main/python/thrift1/gen_py/hbase/Hbase.py2710 except Exception:CODE
LOW…examples/src/main/python/thrift1/gen_py/hbase/Hbase.py2736 except Exception:CODE
LOW…examples/src/main/python/thrift1/gen_py/hbase/Hbase.py2762 except Exception:CODE
LOW…examples/src/main/python/thrift1/gen_py/hbase/Hbase.py2788 except Exception:CODE
LOW…examples/src/main/python/thrift1/gen_py/hbase/Hbase.py2814 except Exception:CODE
LOW…examples/src/main/python/thrift1/gen_py/hbase/Hbase.py2840 except Exception:CODE
LOW…examples/src/main/python/thrift1/gen_py/hbase/Hbase.py2866 except Exception:CODE
LOW…examples/src/main/python/thrift1/gen_py/hbase/Hbase.py2898 except Exception:CODE
40 more matches not shown…
Self-Referential Comments22 hits · 68 pts
SeverityFileLineSnippetContext
MEDIUMhbase-common/src/saveVersion.sh3# This file is used to generate the annotation of package info thatCOMMENT
MEDIUMhbase-examples/src/main/python/thrift1/DemoClient.py61 # Create a client to use the protocol encoderCOMMENT
MEDIUMhbase-examples/src/main/python/thrift1/DemoClient.py88 # Create the demo table with two column families, entry: and unused:COMMENT
MEDIUMhbase-examples/src/main/perl/DemoClient.pl95# Create the demo table with two column families, entry: and unused:COMMENT
MEDIUMhbase-examples/src/main/php/DemoClient.php108# Create the demo table with two column families, entry: and unused:COMMENT
MEDIUMhbase-examples/src/main/ruby/DemoClient.rb75# Create the demo table with two column families, entry: and unused:COMMENT
MEDIUMhbase-server/src/main/python/hbase/merge_conf.py85 # Create the output configuration fileCOMMENT
MEDIUM…/hadoop/hbase/regionserver/RegionSplitRestriction.java41 * # Create a table with a "KeyPrefix" split restriction, where the prefix length is 2 bytesCOMMENT
MEDIUM…/hadoop/hbase/regionserver/RegionSplitRestriction.java46 * # Create a table with a "DelimitedKeyPrefix" split restriction, where the delimiter is a commaCOMMENT
MEDIUMdev-support/test-util.sh135 # Create the general commandCOMMENT
MEDIUMdev-support/test-util.sh158 # Create the general commandCOMMENT
MEDIUMdev-support/generate-website/build-hbase-website.sh233# Create the commit message and commit the changesCOMMENT
MEDIUMdev-support/generate-website/build-hbase-website.sh240# Create a patch, which Jenkins can save as an artifact and can be examined for debuggingCOMMENT
MEDIUMhbase-shell/src/test/ruby/test_helper.rb91 # Create the table if neededCOMMENT
MEDIUMhbase-shell/src/test/ruby/test_helper.rb104 # Create the table if neededCOMMENT
MEDIUMhbase-shell/src/test/ruby/test_helper.rb112 # Create the table if neededCOMMENT
MEDIUMhbase-shell/src/test/ruby/test_helper.rb120 # Create the table if neededCOMMENT
MEDIUMhbase-shell/src/main/ruby/jar-bootstrap.rb229# Create a workspace we'll use across sessions.COMMENT
MEDIUMhbase-shell/src/main/ruby/hbase/quotas.rb253 # Create a table or namespace quotaCOMMENT
MEDIUMhbase-shell/src/main/ruby/hbase/table.rb169 # Create a Delete mutationCOMMENT
MEDIUMhbase-shell/src/main/ruby/hbase/table.rb222 # Create a list to store all deletesCOMMENT
MEDIUMhbase-shell/src/main/ruby/hbase/admin.rb1359 # Create a new table by cloning the snapshot contentCOMMENT
AI Slop Vocabulary26 hits · 64 pts
SeverityFileLineSnippetContext
MEDIUM…va/org/apache/hadoop/hbase/ipc/NettyRpcConnection.java325 // usually we should not reach here, but for robust, just randomly select a principal toCOMMENT
LOW…/org/apache/hadoop/hbase/client/AsyncTableBuilder.java89 * {@link HBaseServerException#isServerOverloaded()} means the server is overloaded. We just useCOMMENT
LOW…/org/apache/hadoop/hbase/client/AsyncTableBuilder.java107 * {@link HBaseServerException#isServerOverloaded()} means the server is overloaded. We just useCOMMENT
LOW…/org/apache/hadoop/hbase/client/AsyncAdminBuilder.java63 * {@link HBaseServerException#isServerOverloaded()} means the server is overloaded. We just useCOMMENT
LOW…/org/apache/hadoop/hbase/client/AsyncAdminBuilder.java81 * {@link HBaseServerException#isServerOverloaded()} means the server is overloaded. We just useCOMMENT
MEDIUM…in/java/org/apache/hadoop/hbase/client/ClientUtil.java58 // Essentially we are treating it like an 'unsigned very very long' and doing +1 manually.COMMENT
MEDIUM…/visibility/ExpAsStringVisibilityLabelServiceImpl.java422 // If the size does not match. Definitely we are not comparing the equalCOMMENT
MEDIUM…rg/apache/hadoop/hbase/ipc/TestSimpleRpcScheduler.java638 // can utilize the maximum capacity of systemCOMMENT
MEDIUM…g/apache/hadoop/hbase/snapshot/SnapshotManifestV1.java181 // batches and may miss files being added/deleted. This could be more robust (iterativelyCOMMENT
MEDIUM…org/apache/hadoop/hbase/snapshot/SnapshotManifest.java309 // in batches and may miss files being added/deleted. This could be more robust (iterativelyCOMMENT
MEDIUM…rity/visibility/DefaultVisibilityLabelServiceImpl.java619 // If the size does not match. Definitely we are not comparing the equal tags.COMMENT
MEDIUM…g/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java1188 // these are orphan blocks anyway, so let's leverage this run of freeSpaceCOMMENT
MEDIUM…java/org/apache/hadoop/hbase/regionserver/HRegion.java6731 // usually this should not happen but let's make the code more robust, it is not aCOMMENT
LOW…java/org/apache/hadoop/hbase/regionserver/HRegion.java8444 * null,that means there is no {@link Mutation} is {@link Durability#SKIP_WAL},so we just useCOMMENT
MEDIUM…/hadoop/hbase/regionserver/wal/WALCoprocessorHost.java101 // utilize a WALObserver will have to check the observer initializationCOMMENT
MEDIUM…pache/hadoop/hbase/regionserver/wal/AbstractFSWAL.java397 // reject execution exception. Usually this should not happen but let's make it more robust.COMMENT
MEDIUM…pache/hadoop/hbase/regionserver/wal/AbstractFSWAL.java854 // let's make the code more robustCOMMENT
LOW…se/regionserver/querymatcher/UserScanQueryMatcher.java44 * {@link org.apache.hadoop.hbase.client.IsolationLevel#READ_UNCOMMITTED}, we just set the readCOMMENT
MEDIUM…hbase/master/snapshot/EnabledTableSnapshotHandler.java66 // enforce a snapshot time constraints, but lets us be potentially a bit more robust.COMMENT
MEDIUM…ion/MigrateReplicationQueueFromZkToTableProcedure.java132 // yet. But anyway, let's make the code more robust. And it is safe to wait a bit here sinceCOMMENT
MEDIUM…pache/hadoop/hbase/rsgroup/RSGroupInfoManagerImpl.java967 // robust. See TODO below.COMMENT
LOWdev-support/hbase-personality.sh180 # Just simply set to 'target', it is not very critical so we do not careCOMMENT
MEDIUMdev-support/hbase-personality.sh963## Essentially, we check for normal failures and then we look for zombies.COMMENT
MEDIUMdev-support/create-release/do-release-docker.sh33# comprehensive doing more steps of the RM process as well as running in aCOMMENT
LOWdev-support/create-release/release-util.sh808 # TODO could we just call gpg-connect-agent /byeCOMMENT
LOWhbase-shell/src/main/ruby/hbase/table.rb484 # If block given, we've yielded all the results, otherwise just return themCOMMENT
Structural Annotation Overuse29 hits · 46 pts
SeverityFileLineSnippetContext
LOW…g/apache/hadoop/hbase/backup/impl/BackupAdminImpl.java106 // Step 1: Make sure there is no active sessionCOMMENT
LOW…g/apache/hadoop/hbase/backup/impl/BackupAdminImpl.java119 // Step 2: Make sure there is no failed sessionCOMMENT
LOW…g/apache/hadoop/hbase/backup/impl/BackupAdminImpl.java128 // Step 3: Record delete sessionCOMMENT
LOW…g/apache/hadoop/hbase/backup/impl/BackupAdminImpl.java130 // Step 4: Snapshot backup system tableCOMMENT
LOW…g/apache/hadoop/hbase/backup/impl/BackupAdminImpl.java227 // Step 1: clean up data for backup session (idempotent)COMMENT
LOW…che/hadoop/hbase/procedure2/TestProcedureRecovery.java224 // Step 0 - killCOMMENT
LOW…che/hadoop/hbase/procedure2/TestProcedureRecovery.java253 // Step 0 - killCOMMENT
LOW…che/hadoop/hbase/procedure2/TestProcedureRecovery.java434 // Step 1 - killCOMMENT
LOW…che/hadoop/hbase/procedure2/TestProcedureRecovery.java472 // Step 1 - killCOMMENT
LOW…p/hbase/master/procedure/TestModifyTableProcedure.java730 // Step 1: Add coprocessors to the tableCOMMENT
LOW…p/hbase/master/procedure/TestModifyTableProcedure.java749 // Step 2: Modify only the column family property (COMPRESSION) with REOPEN_REGIONS=falseCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java72 // Step 1: Create table with column family and 3 regionsCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java83 // Step 2: Capture initial tableDescriptorHash from all regionsCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java102 // Step 3: Perform lazy table descriptor updateCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java122 // Step 4: Verify tableDescriptorHash has NOT changed in region metricsCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java138 // Step 5: Use new Admin API to reopen all regionsCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java165 // Step 6: Verify tableDescriptorHash HAS changed in all region metricsCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java196 // Step 1: Create table with 5 regionsCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java207 // Step 2: Capture initial hashesCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java223 // Step 3: Perform lazy updateCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java243 // Step 4: Reopen only first 2 regionsCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java270 // Step 5: Verify only reopened regions have new hashCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java291 // Step 6: Reopen remaining regionsCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java318 // Step 7: Verify all regions now have new hashCOMMENT
LOW…/org/apache/hadoop/hbase/mapreduce/TestRowCounter.java565 // Step 1: Insert rows with columnsCOMMENT
LOW…a/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java1320 // Step 1 - Copy fs1:/.snapshot/<snapshot> to fs2:/.snapshot/.tmp/<snapshot>COMMENT
LOW…a/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java1376 // Step 2 - Start MR Job to copy filesCOMMENT
LOW…a/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java1386 // Step 3 - Rename fs2:/.snapshot/.tmp/<snapshot> fs2:/.snapshot/<snapshot>COMMENT
LOW…a/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java1393 // Step 4 - Verify snapshot integrityCOMMENT
Verbosity Indicators27 hits · 40 pts
SeverityFileLineSnippetContext
LOW…pache/hadoop/hbase/client/CompleteScanResultCache.java47 // the last part of a partial result may not be marked as partial so here we need to check ifCOMMENT
LOW…g/apache/hadoop/hbase/backup/impl/BackupAdminImpl.java106 // Step 1: Make sure there is no active sessionCOMMENT
LOW…g/apache/hadoop/hbase/backup/impl/BackupAdminImpl.java119 // Step 2: Make sure there is no failed sessionCOMMENT
LOW…g/apache/hadoop/hbase/backup/impl/BackupAdminImpl.java128 // Step 3: Record delete sessionCOMMENT
LOW…g/apache/hadoop/hbase/backup/impl/BackupAdminImpl.java130 // Step 4: Snapshot backup system tableCOMMENT
LOW…g/apache/hadoop/hbase/backup/impl/BackupAdminImpl.java227 // Step 1: clean up data for backup session (idempotent)COMMENT
LOW…p/hbase/master/procedure/TestModifyTableProcedure.java730 // Step 1: Add coprocessors to the tableCOMMENT
LOW…p/hbase/master/procedure/TestModifyTableProcedure.java749 // Step 2: Modify only the column family property (COMPRESSION) with REOPEN_REGIONS=falseCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java72 // Step 1: Create table with column family and 3 regionsCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java83 // Step 2: Capture initial tableDescriptorHash from all regionsCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java102 // Step 3: Perform lazy table descriptor updateCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java122 // Step 4: Verify tableDescriptorHash has NOT changed in region metricsCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java138 // Step 5: Use new Admin API to reopen all regionsCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java165 // Step 6: Verify tableDescriptorHash HAS changed in all region metricsCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java196 // Step 1: Create table with 5 regionsCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java207 // Step 2: Capture initial hashesCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java223 // Step 3: Perform lazy updateCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java243 // Step 4: Reopen only first 2 regionsCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java270 // Step 5: Verify only reopened regions have new hashCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java291 // Step 6: Reopen remaining regionsCOMMENT
LOW…aster/procedure/TestReopenTableRegionsIntegration.java318 // Step 7: Verify all regions now have new hashCOMMENT
LOW…/java/org/apache/hadoop/hbase/io/hfile/HFileBlock.java800 * uncompressed, then this variable stores the checksum data for this block.COMMENT
LOW…g/apache/hadoop/hbase/io/hfile/bucket/BucketCache.java2537 // if there's no entry for the key itself, we need to check if this key is for a reference,COMMENT
LOW…rg/apache/hadoop/hbase/regionserver/RSRpcServices.java3448 // First we need to check if the last result is partial and we have a row change. IfCOMMENT
LOW…ache/hadoop/hbase/master/snapshot/SnapshotManager.java808 * we need to check if another zk-coordinated snapshot is in progress, for theCOMMENT
LOW…e/hadoop/hbase/http/ProxyUserAuthenticationFilter.java143 * The purpose of this function is to get the doAs parameter of a http request case insensitivelyCOMMENT
LOW…/org/apache/hadoop/hbase/mapreduce/TestRowCounter.java565 // Step 1: Insert rows with columnsCOMMENT
Hyper-Verbose Identifiers34 hits · 31 pts
SeverityFileLineSnippetContext
LOWbin/replication/copy_tables_desc.rb42def create_namespace_if_not_exists(src, dst, namespace)CODE
LOW…ache/hadoop/hbase/client/example/HttpProxyExample.java123 private static final class RequestHandler extends SimpleChannelInboundHandler<FullHttpRequest> {CODE
LOWdev-support/checkcompatibility.py278def compare_tool_results_count(tool_results, check, issue_type, known_count):CODE
LOWdev-support/yetus_console_to_md.py255def generate_failed_tests_table(CODE
LOWdev-support/yetus_console_to_md.py301def collect_continuation_lines(CODE
LOWdev-support/yetus_console_to_md.py448def convert_console_to_markdown(input_dir: str, output_file: Optional[str] = None) -> str:CODE
LOWdev-support/flaky-tests/report-flakies.py117def expand_multi_config_projects(cli_args):CODE
LOW…pport/git-jira-release-audit/git_jira_release_audit.py256 def identify_least_common_commit(self, ref_a, ref_b):CODE
LOW…pport/git-jira-release-audit/git_jira_release_audit.py270 def _identify_leading_jira_id(summary):CODE
LOW…pport/git-jira-release-audit/git_jira_release_audit.py277 def _identify_backport_jira_id(summary):CODE
LOW…pport/git-jira-release-audit/git_jira_release_audit.py292 def _identify_revert_revert_jira_id(summary):CODE
LOW…pport/git-jira-release-audit/git_jira_release_audit.py358 def populate_db_release_branch(self, origin_commit, release_branch):CODE
LOW…pport/git-jira-release-audit/git_jira_release_audit.py523 def report_new_for_release_line(self, release_line):CODE
LOW…pport/git-jira-release-audit/git_jira_release_audit.py545 def report_new_for_release_branch(self, release_branch):STRING
LOW…pport/git-jira-release-audit/git_jira_release_audit.py658 def _build_second_pass_parser(repo_reader, parent_parser, git_repo_group):CODE
LOWhbase-shell/src/test/ruby/test_helper.rb103 def create_test_table_with_splits(name, splits)CODE
LOWhbase-shell/src/test/ruby/test_helper.rb111 def create_test_table_with_splits_file(name, splits_file)CODE
LOWhbase-shell/src/test/ruby/test_helper.rb119 def create_test_table_with_region_replicas(name, num_of_replicas, splits)CODE
LOWhbase-shell/src/test/ruby/shell/rsgroup_shell_test.rb33 def add_rsgroup_and_move_one_server(group_name)CODE
LOWhbase-shell/src/main/ruby/shell/commands.rb119 def translate_hbase_exceptions(*args)CODE
LOW…ase-shell/src/main/ruby/shell/commands/list_regions.rb217 def get_regions_for_table_and_server(table_name, conn, server_name)CODE
LOWhbase-shell/src/main/ruby/hbase/quotas.rb140 def unthrottle_user_table_namespace(args)CODE
LOWhbase-shell/src/main/ruby/hbase/quotas.rb172 def unthrottle_user_namespace(args, user)CODE
LOWhbase-shell/src/main/ruby/hbase/quotas.rb373 def switch_exceed_throttle_quota(enabled)CODE
LOWhbase-shell/src/main/ruby/hbase/replication_admin.rb322 def append_peer_exclude_namespaces(id, namespaces)CODE
LOWhbase-shell/src/main/ruby/hbase/replication_admin.rb342 def remove_peer_exclude_namespaces(id, namespaces)CODE
LOWhbase-shell/src/main/ruby/hbase/replication_admin.rb377 def set_peer_exclude_namespaces(id, exclude_namespaces)CODE
LOWhbase-shell/src/main/ruby/hbase/replication_admin.rb390 def show_peer_exclude_namespaces(peer_config)CODE
LOWhbase-shell/src/main/ruby/hbase/replication_admin.rb421 def transit_peer_sync_replication_state(id, state)CODE
LOWhbase-shell/src/main/ruby/hbase/admin.rb776 def coprocessor_descriptor_from_spec_str(spec_str)CODE
LOWhbase-shell/src/main/ruby/hbase/admin.rb789 def coprocessor_descriptor_from_hash(spec)CODE
LOWhbase-shell/src/main/ruby/hbase/admin.rb1130 def build_running_source_stats(source_load, r_source_string)CODE
LOWhbase-shell/src/main/ruby/hbase/admin.rb1815 def decommission_regionservers(host_or_servers, should_offload)CODE
LOWhbase-shell/src/main/ruby/hbase/admin.rb1847 def recommission_regionserver(server_name_string, encoded_region_names)CODE
Unused Imports34 hits · 30 pts
SeverityFileLineSnippetContext
LOW…ples/src/main/python/thrift2/gen_py/hbase/constants.py9CODE
LOW…ples/src/main/python/thrift2/gen_py/hbase/constants.py9CODE
LOW…ples/src/main/python/thrift2/gen_py/hbase/constants.py9CODE
LOW…ples/src/main/python/thrift2/gen_py/hbase/constants.py9CODE
LOW…ples/src/main/python/thrift2/gen_py/hbase/constants.py9CODE
LOW…ples/src/main/python/thrift2/gen_py/hbase/constants.py10CODE
LOW…ples/src/main/python/thrift2/gen_py/hbase/constants.py11CODE
LOW…ples/src/main/python/thrift2/gen_py/hbase/constants.py13CODE
LOW…ples/src/main/python/thrift2/gen_py/hbase/constants.py14CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py9CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py9CODE
LOW…/src/main/python/thrift2/gen_py/hbase/THBaseService.py15CODE
LOW…xamples/src/main/python/thrift2/gen_py/hbase/ttypes.py9CODE
LOW…xamples/src/main/python/thrift2/gen_py/hbase/ttypes.py9CODE
LOW…xamples/src/main/python/thrift2/gen_py/hbase/ttypes.py9CODE
LOW…ples/src/main/python/thrift1/gen_py/hbase/constants.py9CODE
LOW…ples/src/main/python/thrift1/gen_py/hbase/constants.py9CODE
LOW…ples/src/main/python/thrift1/gen_py/hbase/constants.py9CODE
LOW…ples/src/main/python/thrift1/gen_py/hbase/constants.py9CODE
LOW…ples/src/main/python/thrift1/gen_py/hbase/constants.py9CODE
LOW…ples/src/main/python/thrift1/gen_py/hbase/constants.py10CODE
LOW…ples/src/main/python/thrift1/gen_py/hbase/constants.py11CODE
LOW…ples/src/main/python/thrift1/gen_py/hbase/constants.py13CODE
LOW…ples/src/main/python/thrift1/gen_py/hbase/constants.py14CODE
LOW…xamples/src/main/python/thrift1/gen_py/hbase/ttypes.py9CODE
LOW…xamples/src/main/python/thrift1/gen_py/hbase/ttypes.py9CODE
LOW…xamples/src/main/python/thrift1/gen_py/hbase/ttypes.py9CODE
LOW…xamples/src/main/python/thrift1/gen_py/hbase/ttypes.py10CODE
LOW…examples/src/main/python/thrift1/gen_py/hbase/Hbase.py9CODE
LOW…examples/src/main/python/thrift1/gen_py/hbase/Hbase.py9CODE
LOW…examples/src/main/python/thrift1/gen_py/hbase/Hbase.py10CODE
LOW…examples/src/main/python/thrift1/gen_py/hbase/Hbase.py13CODE
LOW…examples/src/main/python/thrift1/gen_py/hbase/Hbase.py15CODE
LOWdev-support/checkstyle_report.py26CODE
Cross-File Repetition5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHhbase-examples/src/main/python/thrift2/DemoClient.py0licensed to the apache software foundation (asf) under one or more contributor license agreements. see the notice file dSTRING
HIGH…mples/src/main/python/thrift2/gen_py/hbase/__init__.py0licensed to the apache software foundation (asf) under one or more contributor license agreements. see the notice file dSTRING
HIGHhbase-examples/src/main/python/thrift1/DemoClient.py0licensed to the apache software foundation (asf) under one or more contributor license agreements. see the notice file dSTRING
HIGH…main/python/thrift1/demo_hbase_thrift_over_http_tls.py0licensed to the apache software foundation (asf) under one or more contributor license agreements. see the notice file dSTRING
HIGH…mples/src/main/python/thrift1/gen_py/hbase/__init__.py0licensed to the apache software foundation (asf) under one or more contributor license agreements. see the notice file dSTRING
Fake / Example Data12 hits · 15 pts
SeverityFileLineSnippetContext
LOWhbase-website/unit-tests/extract-developers.test.js34 expect(extractField(block, 'name')).toBe('John Doe');CODE
LOWhbase-website/unit-tests/extract-developers.test.js46 expect(extractField(block, 'name')).toBe('John Doe');CODE
LOWhbase-website/unit-tests/extract-developers.test.js77 name: 'John Doe',CODE
LOWhbase-website/unit-tests/extract-developers.test.js83 name: 'Jane Doe',CODE
LOW…oop/hbase/io/crypto/tls/TestHBaseHostnameVerifier.java206 in = new ByteArrayInputStream(certificateCreator.newCert("CN=dummy-value.com", "1.1.1.1"));CODE
LOW…oop/hbase/io/crypto/tls/TestHBaseHostnameVerifier.java212 exceptionPlease(impl, "dummy-value.com", x509);CODE
LOW…oop/hbase/io/crypto/tls/TestHBaseHostnameVerifier.java215 certificateCreator.newCert("CN=dummy-value.com", "2001:0db8:85a3:0000:0000:8a2e:0370:7334"));CODE
LOW…oop/hbase/io/crypto/tls/TestHBaseHostnameVerifier.java221 exceptionPlease(impl, "dummy-value.com", x509);CODE
LOW…oop/hbase/io/crypto/tls/TestHBaseHostnameVerifier.java224 certificateCreator.newCert("CN=dummy-value.com", "2001:0db8:85a3:0000:0000:8a2e:0370:7334"));CODE
LOW…oop/hbase/io/crypto/tls/TestHBaseHostnameVerifier.java231 exceptionPlease(impl, "dummy-value.com", x509);CODE
LOWhbase-examples/src/main/ruby/index-builder-setup.rb24 ["2", "alice", "alice@example.com", "555-1234"],CODE
LOWhbase-examples/src/main/ruby/index-builder-setup.rb25 ["3", "kevin", "kevinpet@example.com", "555-1212"]].each do |fields|CODE
Cross-Language Confusion3 hits · 15 pts
SeverityFileLineSnippetContext
HIGHdev-support/yetus_console_to_md.py325 if '|| Subsystem || Report/Notes ||' in line:CODE
HIGHdev-support/yetus_console_to_md.py372 if '|| Subsystem || Report/Notes ||' in line:CODE
HIGHdev-support/yetus_console_to_md.py484 elif '|| Subsystem || Report/Notes ||' in line:CODE
Slop Phrases5 hits · 9 pts
SeverityFileLineSnippetContext
LOW.asf.yaml20# of the project and make sure to discuss the changes with dev@ before committing.COMMENT
MEDIUM…in/java/org/apache/hadoop/hbase/filter/FilterList.java38 * {@link Operator#MUST_PASS_ONE} (<code>OR</code>). Since you can use Filter Lists as children ofCOMMENT
LOWbin/hbase-daemon.sh248 # in case the parent shell gets the kill make sure to trap signals.COMMENT
LOWbin/hbase-daemon.sh256 # in case the parent shell gets the kill make sure to trap signals.COMMENT
LOW…e/hadoop/hbase/mapreduce/IntegrationTestImportTsv.java227 // adding more test methods? Don't forget to add them here... or consider doing whatCOMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGH…hadoop/hbase/security/access/TestAccessController.java1148 // Ensure the file permission as requested.COMMENT
Redundant / Tautological Comments5 hits · 7 pts
SeverityFileLineSnippetContext
LOWbin/hbase-config.sh145# Verify if hbase has the mlock agentCOMMENT
LOWdev-support/zombie-detector.sh156### Check if arguments to the script have been specified properly or notCOMMENT
LOWdev-support/create-release/do-release-docker.sh50# Set this to build other hbase repos: e.g. PROJECT=hbase-operator-toolsCOMMENT
LOWdev-support/create-release/release-util.sh240 # Check if the RC already exists, and if re-creating the RC, skip tag creation.COMMENT
LOWhbase-shell/src/main/ruby/hbase/table.rb874 # Check if the expression can be a converterCOMMENT
AI Structural Patterns6 hits · 5 pts
SeverityFileLineSnippetContext
LOW…xamples/src/main/python/thrift2/gen_py/hbase/ttypes.py950CODE
LOW…xamples/src/main/python/thrift2/gen_py/hbase/ttypes.py1773CODE
LOW…xamples/src/main/python/thrift2/gen_py/hbase/ttypes.py2564CODE
LOW…xamples/src/main/python/thrift2/gen_py/hbase/ttypes.py3175CODE
LOW…xamples/src/main/python/thrift1/gen_py/hbase/ttypes.py131CODE
LOW…xamples/src/main/python/thrift1/gen_py/hbase/ttypes.py840CODE
Modern Structural Boilerplate3 hits · 3 pts
SeverityFileLineSnippetContext
LOW…mples/src/main/python/thrift2/gen_py/hbase/__init__.py18__all__ = ['ttypes', 'constants', 'THBaseService']CODE
LOW…mples/src/main/python/thrift1/gen_py/hbase/__init__.py18__all__ = ['ttypes', 'constants', 'Hbase']CODE
LOWdev-support/flaky-tests/report-flakies.py74logger = logging.getLogger(__name__)CODE