Skip to content

HIVE-29668: Add -rebuildIndexes utility to reconstruct backend Metast… - #6636

Open
soumyakanti3578 wants to merge 2 commits into
apache:masterfrom
soumyakanti3578:HIVE-29668-index-gen
Open

HIVE-29668: Add -rebuildIndexes utility to reconstruct backend Metast…#6636
soumyakanti3578 wants to merge 2 commits into
apache:masterfrom
soumyakanti3578:HIVE-29668-index-gen

Add an integration test that actually runs all the rebuild indexes sc…

d42f9cf
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Jul 28, 2026 in 9m 8s

Annotations

Check warning on line 1 in standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/tools/schematool/SchemaToolTaskRebuildIndexes.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

File does not end with a newline.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AZ-RiUSJzGMUC9_wtRON&open=AZ-RiUSJzGMUC9_wtRON&pullRequest=6636

Check failure on line 34 in standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/tools/schematool/SchemaToolTaskRebuildIndexes.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AZ-RiUSJzGMUC9_wtROM&open=AZ-RiUSJzGMUC9_wtROM&pullRequest=6636

Check warning on line 53 in standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/tools/schematool/SchemaToolTaskRebuildIndexes.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Invoke method(s) only conditionally.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AZ-RiUSJzGMUC9_wtROL&open=AZ-RiUSJzGMUC9_wtROL&pullRequest=6636

Check failure on line 490 in standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/tools/schematool/TestSchemaToolForMetastore.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Add at least one assertion to this test case.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AZ-lU8RKjUpubOXlXCpe&open=AZ-lU8RKjUpubOXlXCpe&pullRequest=6636

Check warning on line 106 in standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/tools/schematool/SchemaToolCommandLine.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'method call' child has incorrect indentation level 6, expected level should be 8.

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AZ-RiUmNzGMUC9_wtROO&open=AZ-RiUmNzGMUC9_wtROO&pullRequest=6636

Check warning on line 57 in standalone-metastore/metastore-server/src/test/java/org/apache/hadoop/hive/metastore/tools/schematool/TestRebuildIndexesScriptConsistency.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Line is longer than 120 characters (found 142).

See more on https://sonarcloud.io/project/issues?id=apache_hive&issues=AZ-lU75ejUpubOXlXCpd&open=AZ-lU75ejUpubOXlXCpd&pullRequest=6636