timyuer commented on code in PR #3421:
URL: https://github.com/apache/ambari/pull/3421#discussion_r1000036345
##########
ambari-server/src/main/resources/stacks/BIGTOP/3.2.0/services/SOLR/package/scripts/params.py:
##########
@@ -84,6 +92,10 @@ def get_name_from_principal(principal):
# Only supporting SolrCloud mode - so hardcode those options
solr_cloudmode = 'true'
solr_dir = '/usr/lib/solr'
+
+if stack_version_formatted and
check_stack_feature(StackFeature.ROLLING_UPGRADE, stack_version_formatted):
+ solr_dir = format("{stack_root}/current/solr-server")
Review Comment:
That's a good reminder, but I found `stack_packages.json` has the map
relation, should we obtain it from here?
e.g.

--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]