[ 
https://issues.apache.org/jira/browse/AMBARI-26444?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jhen-Yung Hsu reassigned AMBARI-26444:
--------------------------------------

    Assignee: Jhen-Yung Hsu

> 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
>
> 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: issues-unsubscr...@ambari.apache.org
For additional commands, e-mail: issues-h...@ambari.apache.org

Reply via email to