Skip to content

Fixed issue #6239 removing toString() on String(CLI) #18404

Fixed issue #6239 removing toString() on String(CLI)

Fixed issue #6239 removing toString() on String(CLI) #18404

Re-run triggered January 15, 2025 20:19
Status Failure
Total duration 1m 52s
Artifacts

build.yml

on: pull_request
changes
4s
changes
compile-check
0s
compile-check
spark-connector-build
0s
spark-connector-build
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 3 warnings
build (17): task ':clients:cli:spotlessJavaCheck'#L1
Execution failed for task ':clients:cli:spotlessJavaCheck': The following files had format violations: src/main/java/org/apache/gravitino/cli/commands/ListUsers.java @@ -53,7 +53,7 @@ ······exitWithError(exp.getMessage()); ····} -····String·all·=·user.length==0·?·"No·User·exist.":·String.join(",",users); +····String·all·=·user.length·==·0·?·"No·User·exist."·:·String.join(",",·users); ····System.out.println(all); ··} } src/main/java/org/apache/gravitino/cli/commands/UntagEntity.java @@ -19,7 +19,6 @@ package·org.apache.gravitino.cli.commands; - import·org.apache.gravitino.Catalog; import·org.apache.gravitino.NameIdentifier; import·org.apache.gravitino.Schema; @@ -33,7 +32,7 @@ import·org.apache.gravitino.rel.Table; public·class·UntagEntity·extends·Command·{ -·· + ··protected·final·String·metalake; ··protected·final·FullName·name; ··protected·final·String[]·tags; Run './gradlew :clients:cli:spotlessApply' to fix these violations. at com.diffplug.gradle.spotless.SpotlessCheck.performAction(SpotlessCheck.java:111) at com.diffplug.gradle.spotless.SpotlessCheck.performAction(SpotlessCheck.java:53) at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:125) at org.gradle.api.internal.project.taskfactory.StandardTaskAction.doExecute(StandardTaskAction.java:58) at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:51) at org.gradle.api.internal.project.taskfactory.StandardTaskAction.execute(StandardTaskAction.java:29) at org.gradle.api.internal.tasks.execution.TaskExecution$3.run(TaskExecution.java:248) at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:29) at org.gradle.internal.operations.DefaultBuildOperationRunner$1.execute(DefaultBuildOperationRunner.java:26) at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66) at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157) at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59) at org.gradle.internal.operations.DefaultBuildOperationRunner.run(DefaultBuildOperationRunner.java:47) at org.gradle.internal.operations.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:68) at org.gradle.api.internal.tasks.execution.TaskExecution.executeAction(TaskExecution.java:233) at org.gradle.api.internal.tasks.execution.TaskExecution.executeActions(TaskExecution.java:216) at org.gradle.api.internal.tasks.execution.TaskExecution.executeWithPreviousOutputFiles(TaskExecution.java:199) at org.gradle.api.internal.tasks.execution.TaskExecution.execute(TaskExecution.java:166) at org.gradle.internal.execution.steps.ExecuteStep.executeInternal(ExecuteStep.java:105) at org.gradle.internal.execution.steps.ExecuteStep.access$000(ExecuteStep.java:44) at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:59) at org.gradle.internal.execution.steps.ExecuteStep$1.call(ExecuteStep.java:56) at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204) at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199) at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner
build (17)
Process completed with exit code 1.
build (11)
The job was canceled because "_17" failed.
build (11)
The operation was canceled.
build (8)
The job was canceled because "_17" failed.
build (8)
The operation was canceled.
changes
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (17)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build (17)
No files were found with the provided path: build/reports catalogs/**/*.log catalogs/**/*.tar. No artifacts will be uploaded.