Skip to content

Add the setting for JAVA_HOME in the start-cli.bat file - #18503

Open
FLOW4215 wants to merge 1 commit into
masterfrom
FLOW4215-patch-1
Open

Add the setting for JAVA_HOME in the start-cli.bat file#18503
FLOW4215 wants to merge 1 commit into
masterfrom
FLOW4215-patch-1

Add the setting for JAVA_HOME in the start-cli.bat file

01b0969
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Aug 22, 2026 in 8m 2s

Quality Gate failed

Failed conditions
B Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check warning on line 174 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadPathHelper.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Reduce the total number of break and continue statements in this loop to use at most one.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAp3mftLm9l5kt0Xhhk&open=AaAp3mftLm9l5kt0Xhhk&pullRequest=18503

Check warning on line 121 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/thrift/async/handler/PipeTransferTsFileHandler.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Constructor has 10 parameters, which is greater than 7 authorized.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAp3mqGLm9l5kt0Xhhz&open=AaAp3mqGLm9l5kt0Xhhz&pullRequest=18503

Check warning on line 128 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/active/ActiveLoadPathHelper.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Method has 9 parameters, which is greater than 7 authorized.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAp3mftLm9l5kt0Xhhl&open=AaAp3mftLm9l5kt0Xhhl&pullRequest=18503

Check failure on line 958 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/parser/scan/TsFileInsertionEventScanParser.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 16 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAp3muULm9l5kt0Xhh3&open=AaAp3muULm9l5kt0Xhh3&pullRequest=18503

Check warning on line 841 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/parser/scan/TsFileInsertionEventScanParser.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'catch' child has incorrect indentation level 14, expected level should be 12.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAp3muULm9l5kt0XhiF&open=AaAp3muULm9l5kt0XhiF&pullRequest=18503

Check warning on line 755 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/parser/scan/TsFileInsertionEventScanParser.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'try' has incorrect indentation level 12, expected level should be 10.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAp3muULm9l5kt0Xhh4&open=AaAp3muULm9l5kt0Xhh4&pullRequest=18503

Check warning on line 768 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/parser/scan/TsFileInsertionEventScanParser.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'catch' child has incorrect indentation level 14, expected level should be 12.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAp3muULm9l5kt0XhiA&open=AaAp3muULm9l5kt0XhiA&pullRequest=18503

Check warning on line 835 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/parser/scan/TsFileInsertionEventScanParser.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'try rcurly' has incorrect indentation level 12, expected level should be 10.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAp3muULm9l5kt0XhiC&open=AaAp3muULm9l5kt0XhiC&pullRequest=18503

Check warning on line 596 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/opcua/OpcUaSink.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace generic exceptions with specific library exceptions or a custom exception.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAp3mleLm9l5kt0Xhhv&open=AaAp3mleLm9l5kt0Xhhv&pullRequest=18503

Check warning on line 185 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/converter/PipeTsFileConversionTaskManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

All overloaded methods should be placed next to each other. Placing non-overloaded methods in between overloaded methods with the same type is a violation. Previous overloaded method located at line '149'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAp3miMLm9l5kt0Xhhr&open=AaAp3miMLm9l5kt0Xhhr&pullRequest=18503

Check warning on line 311 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/payload/evolvable/request/PipeTransferTsFileSealWithModReq.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Method has 8 parameters, which is greater than 7 authorized.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAp3msaLm9l5kt0Xhh1&open=AaAp3msaLm9l5kt0Xhh1&pullRequest=18503

Check warning on line 147 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/opcua/server/OpcUaNameSpace.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Expected @throws tag for 'Exception'.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAp3mnwLm9l5kt0Xhhy&open=AaAp3mnwLm9l5kt0Xhhy&pullRequest=18503

Check failure on line 162 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/opcua/client/IoTDBOpcUaClient.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 21 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAp3mmnLm9l5kt0Xhhx&open=AaAp3mmnLm9l5kt0Xhhx&pullRequest=18503

Check warning on line 760 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/parser/scan/TsFileInsertionEventScanParser.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'try rcurly' has incorrect indentation level 12, expected level should be 10.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAp3muULm9l5kt0Xhh7&open=AaAp3muULm9l5kt0Xhh7&pullRequest=18503

Check warning on line 842 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/parser/scan/TsFileInsertionEventScanParser.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'catch rcurly' has incorrect indentation level 12, expected level should be 10.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAp3muULm9l5kt0XhiG&open=AaAp3muULm9l5kt0XhiG&pullRequest=18503

Check warning on line 866 in iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/pipe/receiver/IoTDBFileReceiver.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove these unused method parameters "req", "loadStatus".

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAp3mHsLm9l5kt0Xhhh&open=AaAp3mHsLm9l5kt0Xhhh&pullRequest=18503

Check failure on line 112 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/payload/evolvable/request/PipeTransferTsFileSealWithModReq.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 27 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAp3msaLm9l5kt0Xhh2&open=AaAp3msaLm9l5kt0Xhh2&pullRequest=18503

Check warning on line 473 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/sink/protocol/airgap/IoTDBDataRegionAirGapSink.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Method has 8 parameters, which is greater than 7 authorized.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAp3mruLm9l5kt0Xhh0&open=AaAp3mruLm9l5kt0Xhh0&pullRequest=18503

Check warning on line 148 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/converter/PipeTsFileConversionTaskManager.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Single-line Javadoc comment should be multi-line.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAp3miMLm9l5kt0Xhhq&open=AaAp3miMLm9l5kt0Xhhq&pullRequest=18503

Check warning on line 232 in iotdb-client/subscription/src/main/java/org/apache/iotdb/session/subscription/consumer/base/AbstractSubscriptionProviders.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Single-line Javadoc comment should be multi-line.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAp3m2HLm9l5kt0XhiI&open=AaAp3m2HLm9l5kt0XhiI&pullRequest=18503

Check warning on line 756 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/parser/scan/TsFileInsertionEventScanParser.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'if' has incorrect indentation level 14, expected level should be 12.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAp3muULm9l5kt0Xhh5&open=AaAp3muULm9l5kt0Xhh5&pullRequest=18503

Check warning on line 765 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/parser/scan/TsFileInsertionEventScanParser.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'catch' child has incorrect indentation level 14, expected level should be 12.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAp3muULm9l5kt0Xhh9&open=AaAp3muULm9l5kt0Xhh9&pullRequest=18503

Check failure on line 67 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/converter/LoadTableStatementDataTypeConvertExecutionVisitor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this method to reduce its Cognitive Complexity from 31 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAp3mhwLm9l5kt0Xhhn&open=AaAp3mhwLm9l5kt0Xhhn&pullRequest=18503

Check failure on line 89 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/storageengine/load/converter/LoadTableStatementDataTypeConvertExecutionVisitor.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Change this "try" to a try-with-resources.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAp3mhwLm9l5kt0Xhho&open=AaAp3mhwLm9l5kt0Xhho&pullRequest=18503

Check warning on line 830 in iotdb-core/datanode/src/main/java/org/apache/iotdb/db/pipe/event/common/tsfile/parser/scan/TsFileInsertionEventScanParser.java

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'try' has incorrect indentation level 12, expected level should be 10.

See more on https://sonarcloud.io/project/issues?id=apache_iotdb&issues=AaAp3muULm9l5kt0XhiB&open=AaAp3muULm9l5kt0XhiB&pullRequest=18503