[
https://issues.apache.org/jira/browse/AMBARI-26444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wei-Chiu Chuang resolved AMBARI-26444.
--------------------------------------
Fix Version/s: 3.1.0
Resolution: Fixed
> 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
> Assignee: Jhen-Yung Hsu
> Priority: Blocker
> Fix For: 3.1.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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]