-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/62368/
-----------------------------------------------------------
Review request for Ambari, Attila Doroszlai, Miklos Gergely, Robert Nettleton,
and Sebastian Toader.
Bugs: AMBARI-21975
https://issues.apache.org/jira/browse/AMBARI-21975
Repository: ambari
Description
-------
The default value for the number of shards is 5. On UI install, the proper
value is calculated, the max values is 3x number of solr instances. If you have
only 1 Solr and Log Search was installed with BP without any custom shard
config, the shard max value will be 3, but in fact the actual one is 5, that
can cause during adding a new service through the UI can reset the number of
shards. To fix that: set the max number of shard value to 5, in case you have
just 1 solr ( use: max (3x solrs, 5))
Diffs
-----
ambari-server/src/main/resources/stacks/HDP/2.2/services/stack_advisor.py
f0d9f78
ambari-server/src/test/python/stacks/2.3/common/test_stack_advisor.py ff57c7b
Diff: https://reviews.apache.org/r/62368/diff/1/
Testing
-------
done. (updated unit tests)
Thanks,
Oliver Szabo