You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ambari.apache.org by "Zhiguo Wu (Jira)" <ji...@apache.org> on 2022/09/28 02:09:00 UTC
[jira] [Updated] (AMBARI-25743) Build number cannot be resolved sometimes on Ambari Agent
[ https://issues.apache.org/jira/browse/AMBARI-25743?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Zhiguo Wu updated AMBARI-25743:
-------------------------------
Attachment: (was: image-2022-09-28-10-01-19-938.png)
> Build number cannot be resolved sometimes on Ambari Agent
> ---------------------------------------------------------
>
> Key: AMBARI-25743
> URL: https://issues.apache.org/jira/browse/AMBARI-25743
> Project: Ambari
> Issue Type: Bug
> Reporter: Zhiguo Wu
> Priority: Major
> Attachments: image-2022-09-28-10-04-34-754.png, image-2022-09-28-10-05-48-072.png
>
>
> Variable `buildNumber` cannot be resolved sometimes on Ambari Agent after I run with `mvn -B clean install -DskipTests -Drat.skip=true`, but works fine on Ambari Server.
>
> {code:java}
> [root@ambari-server /]# ambari-agent start
> /var/lib/ambari-agent/bin/ambari-agent: line 23: buildNumber: unbound variable
> [root@ambari-server /]# cat /usr/sbin/ambari-server | grep "HASH" | head -1
> HASH="8a1d1e72a59f96aa7c775ca101a44a60737b7002"
> [root@ambari-server /]# cat /var/lib/ambari-agent/bin/ambari-agent | grep "HASH" | head -1
> HASH="${buildNumber}"{code}
> !image-2022-09-28-10-04-34-754.png!
> !image-2022-09-28-10-05-48-072.png!
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ambari.apache.org
For additional commands, e-mail: issues-help@ambari.apache.org