[
https://issues.apache.org/jira/browse/AMBARI-26444?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17944513#comment-17944513
]
Jhen-Yung Hsu commented on AMBARI-26444:
----------------------------------------
I'm working on this, thanks:)
> Build is broken: infra_solr.py:172:1: SyntaxError: Unexpected indentation
> -------------------------------------------------------------------------
>
> Key: AMBARI-26444
> URL: https://issues.apache.org/jira/browse/AMBARI-26444
> Project: Ambari
> Issue Type: Bug
> Components: build
> Reporter: Wei-Chiu Chuang
> Priority: Blocker
>
> Precommit is failing due to
> https://ci-hadoop.apache.org/job/Ambari/job/Ambari-PreCommit-GitHub-PR/job/PR-3979/1/console
> {noformat}
> mvn exec:exec@ruff-check -Pruff-check -pl :ambari -DskipTests
> -Dmaven.install.skip=true
> ...
> [INFO] --- exec:3.5.0:exec (ruff-check) @ ambari ---
> ambari-server/src/main/resources/common-services/AMBARI_INFRA_SOLR/3.0.0/package/scripts/infra_solr.py:172:1:
> SyntaxError: Unexpected indentation
> |
> 170 | import params
> 171 |
> 172 | if not params.infra_solr_znode:
> | ^
> 173 | Logger.info("Skipping reverting ACL")
> 174 | return
> |
> ambari-server/src/main/resources/common-services/AMBARI_INFRA_SOLR/3.0.0/package/scripts/infra_solr.py:216:1:
> SyntaxError: Expected a statement
> |
> 216 | if __name__ == "__main__":
> | ^
> 217 | InfraSolr().execute()
> |
> {noformat}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]