Skip to content

Conversation

@adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

Add support for creating cluster via blueprint using one or more manually installed mpacks.

Mpacks referenced in the blueprint are combined into a composite stack. Both single and composite stack implement a common interface, to minimize the change required.

For now it assumes that each service is defined in only one mpack.

How was this patch tested?

Tested cluster installation using:

  • blueprint with a stack
  • blueprint with 2 mpacks

Tested blueprint validation using:

  • blueprint referencing non-existent stack
  • blueprint referencing non-existent mpack
  • blueprint referencing non-existent component in existing mpack

Related unit tests are OK, no regression in other unit tests:

[ERROR] Tests run: 5104, Failures: 39, Errors: 230, Skipped: 37
->
[ERROR] Tests run: 5117, Failures: 39, Errors: 230, Skipped: 37

Checkstyle is OK:

[INFO] --- maven-checkstyle-plugin:2.17:check (checkstyle) @ ambari-server ---
[INFO] Starting audit...
Audit done.

@asfgit
Copy link

asfgit commented Jan 30, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/346/
Test FAILed.
Test FAILured.

Copy link

@rnettleton rnettleton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, the PR looks good to me, just a few minor issues that probably should be addressed prior to merging.

Thanks!

// TODO, need to pass the service Name that was modified.
// For now, hardcode
String serviceName = "ZOOKEEPER";
String serviceName = Iterables.getFirst(request.getServices(), null);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we consider using a JDK 8 Stream to get the first element, rather than add a new dependency?

Maybe we should use the "findFirst()" method:

https://docs.oracle.com/javase/8/docs/api/java/util/stream/Stream.html#findFirst--

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea, I changed it.

*/
Map<String, String> getConfigurationProperties(String service, String type);

Map<String, Stack.ConfigProperty> getConfigurationPropertiesWithMetadata(String service, String type);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method should have javadocs.

*/
Collection<Stack.ConfigProperty> getRequiredConfigurationProperties(String service, PropertyInfo.PropertyType propertyType);

boolean isPasswordProperty(String service, String type, String propertyName);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These three methods should have javadocs.

*/
Map<String, Map<String, String>> getConfigurationAttributes(String service, String type);

Map<String, Map<String, String>> getStackConfigurationAttributes(String type);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing javadoc.

*/
String getServiceForConfigType(String config);

Stream<String> getServicesForConfigType(String config);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing javadocs.

.map(ServiceComponent::getName)
.collect(toSet());
// FIXME ugly workaround
StackInfo hdp = ambariMetaInfo.getStacks().stream()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this hard-coding still required, now that the new BP parsing changes are merged into the feature branch?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, unfortunately it's still needed until hdp-select is replaced (or added to all mpacks).

* Indicates that the requested Stack doesn't exist.
*/
public class NoSuchStackException extends Exception {
public class NoSuchStackException extends IllegalArgumentException {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this being changed to a runtime exception? Is this required due to the JDK8 stream usages in the new code?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exactly.

* @throws InvalidTopologyException if the topology is invalid
*/
void validateTopology() throws InvalidTopologyException;
void validateTopology(Blueprint blueprint) throws InvalidTopologyException;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would recommend updating the javadoc for these methods, to document the Blueprint parameter.

AutoDeployInfo autoDeploy) {

private Collection<String> verifyComponentCardinalityCount(
Blueprint blueprint,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

javadoc needs to be updated for this method.


user_list = json.loads(config['hostLevelParams']['user_list'])
group_list = json.loads(config['hostLevelParams']['group_list'])
user_list = set(json.loads(config['hostLevelParams']['user_list']) + [smoke_user])

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this change included in this PR? It doesn't appear to be related to the other Blueprint-specific changes in this PR.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At some point I ran into an error where smoke_user was not being created, but I think the role-command order workaround addresses it, too. So we don't need this anymore.

@asfgit
Copy link

asfgit commented Jan 31, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/354/
Test FAILed.
Test FAILured.

Copy link
Contributor

@benyoka benyoka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM overall.
There are two issues where I would like clarification/change:

  • One incomplete if-else branch
  • Use of ObjectReader / Writer in JsonUtil

.map(StackDefinition::getConfiguration)
.reduce(Configuration.createEmpty(), Configuration::combine);
}
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This CompositeStack is a great idea!
One question though: Do we plan to have a sanity check somewhere to make sure a component/service/dependency/etc. is only defined in only one stack to avoid non-deterministic behavior?

Copy link
Contributor Author

@adoroszlai adoroszlai Jan 31, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added check for service and component.

}
} else {
} else if (Strings.isNotEmpty(repoVersionString)) {
repoVersion = repositoryVersionDAO.findByStackAndVersion(stackId, repoVersionString);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't there be a third else branch that throws an IllegalArgimentException? Looks like if null == repoVersion and repoVersionString is null it will fall through while in other error cases it throws an exception.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If both are null (ie. no repo version was specified in the request), createAmbariResources tries to find any repo for the stack (findRepoForStack). If both of these attempts fail, then an IllegalArgumentException is thrown by way of calling Preconditions.checkNotNull.

This is basically a slightly reorganized version of the existing logic, applied to each stack:

RepositoryVersionEntity repoVersion = null;
if (StringUtils.isEmpty(repoVersionString) && null == repoVersionId) {
List<RepositoryVersionEntity> stackRepoVersions = repositoryVersionDAO.findByStack(stackId);
if (stackRepoVersions.isEmpty()) {
// !!! no repos, try to get the version for the stack
VersionDefinitionResourceProvider vdfProvider = getVersionDefinitionResourceProvider();
Map<String, Object> properties = new HashMap<>();
properties.put(VersionDefinitionResourceProvider.VERSION_DEF_AVAILABLE_DEFINITION, stackId.toString());
Request request = new RequestImpl(Collections.<String>emptySet(),
Collections.singleton(properties), Collections.<String, String>emptyMap(), null);
Long defaultRepoVersionId = null;
try {
RequestStatus requestStatus = vdfProvider.createResources(request);
if (!requestStatus.getAssociatedResources().isEmpty()) {
Resource resource = requestStatus.getAssociatedResources().iterator().next();
defaultRepoVersionId = (Long) resource.getPropertyValue(VersionDefinitionResourceProvider.VERSION_DEF_ID);
}
} catch (Exception e) {
throw new IllegalArgumentException(String.format(
"Failed to create a default repository version definition for stack %s. "
+ "This typically is a result of not loading the stack correctly or being able "
+ "to load information about released versions. Create a repository version "
+ " and try again.", stackId), e);
}
repoVersion = repositoryVersionDAO.findByPK(defaultRepoVersionId);
// !!! better not!
if (null == repoVersion) {
throw new IllegalArgumentException(String.format(
"Failed to load the default repository version definition for stack %s. "
+ "Check for a valid repository version and try again.", stackId));
}
} else if (stackRepoVersions.size() > 1) {
Function<RepositoryVersionEntity, String> function = new Function<RepositoryVersionEntity, String>() {
@Override
public String apply(RepositoryVersionEntity input) {
return input.getVersion();
}
};
Collection<String> versions = Collections2.transform(stackRepoVersions, function);
throw new IllegalArgumentException(String.format("Several repositories were found for %s: %s. Specify the version"
+ " with '%s'", stackId, StringUtils.join(versions, ", "), ProvisionClusterRequest.REPO_VERSION_PROPERTY));
} else {
repoVersion = stackRepoVersions.get(0);
LOG.warn("Cluster is being provisioned using the single matching repository version {}", repoVersion.getVersion());
}
} else if (null != repoVersionId){
repoVersion = repositoryVersionDAO.findByPK(repoVersionId);
if (null == repoVersion) {
throw new IllegalArgumentException(String.format(
"Could not identify repository version with repository version id %s for installing services. "
+ "Specify a valid repository version id with '%s'",
repoVersionId, ProvisionClusterRequest.REPO_VERSION_ID_PROPERTY));
}
} else {
repoVersion = repositoryVersionDAO.findByStackAndVersion(stackId, repoVersionString);
if (null == repoVersion) {
throw new IllegalArgumentException(String.format(
"Could not identify repository version with stack %s and version %s for installing services. "
+ "Specify a valid version with '%s'",
stackId, repoVersionString, ProvisionClusterRequest.REPO_VERSION_PROPERTY));
}
}
// only use a STANDARD repo when creating a new cluster
if (repoVersion.getType() != RepositoryType.STANDARD) {
throw new IllegalArgumentException(String.format(
"Unable to create a cluster using the following repository since it is not a STANDARD type: %s",
repoVersion));
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see, thanks.

public static JsonParser jsonParser = new JsonParser();

private static final ObjectMapper JSON_SERIALIZER = new ObjectMapper();

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably we should use the immutable ObjectReader / ObjectWriter classes if we want to make this a general utility. ObjectMapper is said to be thread safe but uses internal locking that can be a perf bottleneck (according to StackOverflow).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@asfgit
Copy link

asfgit commented Jan 31, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/369/
Test FAILed.
Test FAILured.

@adoroszlai adoroszlai force-pushed the AMBARI-22875_bp_with_existing_mpacks branch from 9c251fe to a4b3ac9 Compare February 1, 2018 08:14
@asfgit
Copy link

asfgit commented Feb 1, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/380/
Test FAILed.
Test FAILured.

@adoroszlai adoroszlai merged commit 00f29b9 into apache:branch-feature-AMBARI-14714 Feb 1, 2018
@adoroszlai adoroszlai deleted the AMBARI-22875_bp_with_existing_mpacks branch February 2, 2018 00:19
ishanbha added a commit that referenced this pull request Feb 23, 2018
… (#462)

* AMBARI-22675 LogSearch Title Bar Fixes. (Istvan Tobias via ababiichuk)

* AMBARI-22749. Create Pull Request Template

* Added inline style link

* AMBARI-22731. Infra Manager - hdfs upload support for archiving Infra Solr

* AMBARI-22121. Create mpack for Isilon OneFS (amagyar)

* AMBARI-22115. Alerts for OneFS mpack (amagyar)

* AMBARI-22236. Expression parser support for JMXServerSide alerts (amagyar)

* AMBARI-22115. Alerts for OneFS mpack (amagyar)

* AMBARI-22319. Allow the same config type to belong to multiple services (amagyar)

* AMBARI-22339. Metrics for OneFS mpack (amagyar)

* AMBARI-22424. Quicklinks for OneFS (amagyar)

* AMBARI-22449. Improved service/component dependency support (amagyar)

* AMBARI-22449. Improved service/component dependency support (amagyar)

* AMBARI-22507. Ambari UI changes to support Isilon OneFS (amagyar)

* AMBARI-22634. Kerberos support for OneFS (amagyar)

* AMBARI-22674. ServiceAdvisor for OneFS (amagyar)

* AMBARI-22449. Improved service/component dependency support (amagyar)

* AMBARI-22121. Create mpack for Isilon OneFS (amagyar)

* AMBARI-22339. Metrics for OneFS mpack (amagyar)

* AMBARI-22756 Post-install: Reduce navigation width in wizard. (atkach)

* AMBARI-22236. Addendum - Expression parser support for JMXServerSide alerts (amagyar)

* AMBARI-22750. Add custom input / mapper descriptor to config api

* AMBARI-22667: Use internal LDAP configuration values rather than ambari.properties values when accessing the configured LDAP server for LDAP sync and authentication

* AMBARI-22757 Log Search UI: implement query manipulation from resources diagram. (ababiichuk)

* [AMBARI-22749] ADDENDUM: Create Pull Request Template - fix rat check (#82)

* AMBARI-22760 Infra Manager: install packages

* [AMBARI-22764] NN HA wizard is broken due to recent commit for config compare

* AMBARI-22767. Kerberos wizard. Advanced kerberos-env password properties should be visible only if the KDC type is 'Active Directory' (alexantonenko)

* AMBARI-22766 ambari-server setup with internal database may not work on centos 7 (dgrinenko)

* AMBARI-22768. Update Welcome page style (akovalenko)

* AMBARI-22772. Log Search / Log Feeder - config symlink cannot be created if etc/ambari-logsearch* folders do not exist

* AMBARI-22771. Ambari loads ambari.properties using ISO 8859-1 encoding (adoroszlai)

* [AMBARI-22770] Bring jenkins job build script under version control (#98)

[AMBARI-22770] Bring jenkins job build script under version control

* AMBARI-22637. Fix misuses of os.path.dirname(path) in yarn.py

* AMBARI-22771. Fix broken unit test

* AMBARI-22668. Moving LDAP related properties to DB upon upgrade to 3.0.0

* AMBARI-22668: implemented changes requested by reviewers

* AMBARI-22668: implemented changes requested by rlevas

* AMBARI-22783 Login page lost Ambari branding. (atkach)

* AMBARI-22779. Cannot scale cluster if Ambari Server restarted since blueprint cluster creation

* AMBARI-22789. Fix Log Search / Log Feeder / Infra Manager start scripts

* AMBARI-22787 - Add new Ambari Infra Manager component to Ambari infra stack

* AMBARI-22793. Notification popover layout issues

* AMBARI-22785: added force_tcp option to KRB5 configuration template so that customers can choose TCP over UDP when communicating with Kerberos

* AMBARI-22796. Widget menu goes out of bounds (alexantonenko)

* AMBARI-22667: fix commons-io version

* AMBARI-22794 Opacity decreased and the shadow has been added to the sticky filter bar.

* AMBARI-22726. Fix dependent tests in BlueprintImplTest (#133)

* Merge remote-tracking branch 'upstream/trunk' into branch-feature-AMBARI-20859

* AMBARI-22577. Migrate user data for upgrade to improved user account management

* AMBARI-22806.Unable to delete files from HDFS using Ambari File View when Ambari Views is accessed via Knox(Venkata Sairam)

* AMBARI-22792. Refactor agent-side kerberos code (echekanskiy)

* AMBARI-22807. Admin View: Add/Delete Group succeeds, but the group table does not refresh automatically. (alexantonenko)

* AMBARI-22809. Tez shown in red in the left nav for no apparent reason (alexantonenko)

* AMBARI-22796. Widget menu goes out of bounds. review (alexantonenko)

* AMBARI-22792. Refactor agent-side kerberos code - import fix (echekanskiy)

* AMBARI-22812. Fix checkstyle error in UpgradeCatalog300Test (#148)

* [AMBARI-22725]  Expose Conditional Elements For Tasks on Upgrade

* AMBARI-22795 LogSearch Fixes for LogList Display. (Istvan Tobias via ababiichuk)

AMBARI-22795 LogSearch Fixes for LogList Display. (Istvan Tobias via ababiichuk)

* AMBARI-22808 Ambari-Web: Fix randomly failing unit tests

* AMBARI-22788 Unsightly artifacts during Login. (atkach)

* AMBARI-22697. Throw exception when keytab creation fails due to wrong configuration of key encryption types

* [AMBARI-22798] Role authorization AMBARI.MANAGE_CONFIGURATION is not added to AMBARI.ADMINISTRATOR role during Ambari upgrade

* AMBARI-22818. Log Feeder: refactor - create plugin api

* [AMBARI-22820] Fix KerberosOperationHandlerTests due to changes from AMBARI-22697

* AMBARI-22805. Blueprints do not handle some failures properly

* AMBARI-22716: zeppelin.livy.url is not getting updated after moving livy to a new host (prabhjyotsingh)

* AMBARI-22698: Custom zeppelin interpreter properties are getting removed after moving zeppelin to a different host (prabhjyotsingh)

* AMBARI-22696 Whitelist execute latency from Storm Ambari metrics

* AMBARI-22759 [Hive Views 2.0] Deleting a Saved query is Buggy when Mutliple Queries exist in same Name

* Fix compilation issues after trunk merge (mradhakrishnan)

* Fix compilation issues in tests after trunk merge

* AMBARI-22797. The stup-ldap tool should persists its output into Ambari database rather than ambari.properties

* AMBARI-22797. Better CLI option names

* AMBARI-22797. Dot not filter for PAM only; we should inform the end user when configuring LDAP in case the currently cond=figured auth method is not LDAP

* AMBARI-22797. Removed redundant information from the JSON payload

* AMBARI-22797. Removing 'is_root' check from setup-ldap (according to R. Levas this is irrelevant)

* AMBARI-22797. Fixed error message

* AMBARI-22797. Created constants to avoid typos

* AMBARI-22797. Removed redundant constant (one already existed with the same value)

* AMBARI-22797. Fixed CLI option names under Windows

* AMBARI-22712. Update install Wizard layout. Second patch. (akovalenko)

* AMBARI-22776 Ambari Blueprint 3.0/3.1 database tables and JPA objects + DDL cleanup (#109) (benyoka)

* AMBARI-22776 Blueprint 3.0 Database schemas and JPA objects, DDL fixes (benyoka)

* AMBARI-22776 Revert accidental commit (benyoka)

* AMBARI-22776 Revert accidental change #2 (benyoka)

* AMBARI-22776 Fix review findings (benyoka)

* AMBARI-22776 Fix review findings #2 (benyoka)

* AMBARI-22776 remove blueprint -> stack reference, docs (benyoka)

* AMBARI-22776 fix build issues (benyoka)

* AMBARI-22776 Add MpackInstanceEntity -> MpackEntity reference (benyoka)

* [AMBARI-22817] Update backend code to handle new versioning schema. (#155)

* AMBARI-22817. Update backend code to handle new versioning schema.(vbrodetskyi)

* AMBARI-22817. Update backend code to handle new versioning schema.(vbrodetskyi)

* AMBARI-22817. Update backend code to handle new versioning schema.(vbrodetskyi)

* AMBARI-22817. Update backend code to handle new versioning schema.(vbrodetskyi)

* AMBARI-22817. Update backend code to handle new versioning schema.(vbrodetskyi)

* AMBARI-22817. Update backend code to handle new versioning schema.(vbrodetskyi)

* AMBARI-22805. Improve Blueprints error handling in case of timeout (#185)

* [AMBARI-22815]   Change requiredServices in metainfo xml (#181)

* AMBARI-22815 Change requiredServices in metainfo.xml (dsen)

* AMBARI 22815   Change requiredServices in metainfo xml   (renamed  scope  to  dependencyType) (dsen)

* AMBARI-22572. During cluster installation bower cannot resolve angularjs version (alexantonenko)

* AMBARI-22572. During cluster installation bower cannot resolve angularjs version (angular version changed) (alexantonenko)

* AMBARI-22776 Fix DDL issues resulting from incomplete table rename (benyoka) (#189)

* AMBARI-22776 Fix DDL issues resulting from incomplete table rename (benyoka)

* AMBARI-22776 More DDL fixes and renamings in the code (benyoka)

* AMBARI-22413 fix tar_archive.archive_directory_dereference (benyoka) (#195)

* AMBARI-22846. Get rid of Murmur Hash usage in Log Feeder for log events

* AMBARI-22799 - define scheduling of archiving Infra Solr Documents

* AMBARI-22840 Standardize precision when expressing durations

* AMBARI-22782. Fix Namenode alerts broken due to enabling federation (aonishuk)

* AMBARI-22853. NFS Gateway is not logging at the correct location (aonishuk)

* AMBARI-22851 Host Details page style fixes

* AMBARI-22861. Ambari UI for Scheduler configuration is trimming = from value sets

* AMBARI-22862. Ambari admin breaks cause of responseInterceptors property

* AMBARI-22861. Ambari UI for Scheduler configuration is trimming = from value sets (log removed)

* [AMBARI-22845] Update service metainfo schema (#194)

* AMBARI-22845 Update service metainfo schema (dsen)

* AMBARI-22845 Update service metainfo schema - changes according to review (dsen)

* AMBARI-22561. Need to address HDP-GPL repo update after user accepts license in post-install scenario (aonishuk)

* AMBARI-22855. Log Search: using shipperconfig api should be configurable

* AMBARI-22824. Let YARN/MR2 use ZK principal name set by users when enabling Kerberos (until now it's been hardcoded to 'zookeeper')

* AMBARI-22847. Let HBase use ZK principal name set by users when enabling Kerberos (until now it's been hardcoded to 'zookeeper')

* AMBARI-22860. Support external zookeeper for Infra Solr and Log Search

* AMBARI-22866. Log Search: Add userList query for audit log requests.

* AMBARI-22867 Add new state for Not Available data in Heatmap widget

* AMBARI-22712. Update install Wizard layout. Third patch. (akovalenko)

* [AMBARI-22858] First prereq not displaying for Free IPA method in Enable Kerberos Wizard

* AMBARI-22791 support for parsing MulitE blueprints and cluster templates (#213)

* AMBARI-22776 Blueprint 3.0 Database schemas and JPA objects, DDL fixes (benyoka)

* AMBARI-22776 Revert accidental commit (benyoka)

* AMBARI-22776 Revert accidental change #2 (benyoka)

* AMBARI-22776 Fix review findings (benyoka)

* AMBARI-22776 Fix review findings #2 (benyoka)

* AMBARI-22791-Update blueprint object and convert from entity (benyoka)

* AMBARI-22791-BlueprintFactory and tests (benyoka)

* AMBARI-22791 Can store and retrieve multi-instance blueprint

* AMBARI-22791 Build and unit test fixes (benyoka)

* AMBARI-22791 merge branch-feature-AMBARI-14714 and fixes (benyoka)

* AMBARI-22791 fix unit test failure (benyoka)

* AMBARI-22791 fix import error (benyoka)

* AMBARI-22791 Multi-everythin cluster template support (benyoka)

* AMBARI-22791 fix review findings (benyoka)

* AMBARI-22873: Remove HDP 3.0 stack from Ambari (jluniya)

* AMBARI-22865. Moving out get_service_component_meta to DefaultStackAdvisor so that all children can use this function

* AMBARI-22878: Update Service Group API to take list of mpack name associated with the service group

* AMBARI-22869. Log Search: use default page and pageSize to log requests (+ rename shipper config api key name)

* AMBARI-22874. Log Search: Return with 500 error for shipper config testing if an exception occurred.

* AMBARI-22879 Ambari makes unrelated changes to zookeeper quorum config in all services when delete host action fails

* AMBARI-20908 : Kafka advertised.listeners replaced in Kerberos Mode (bharatviswa via mradhakrishnan)

* [AMBARI-22876] Disable consecutive authentication failure account lockout feature by default

* [AMBARI-22882] Long cannot be cast to String error when changing a user's password

* AMBARI-22841. Fix upgrade-catalog after accordingly to kerberos changes(echekanskiy)

* [AMBARI-22881] Added user_authentication_id_seq into ambari_sequences upon upgrade to 2.7

* AMBARI-22881. Added user_authentication_id_seq into ambari_sequences upon upgrade to 2.7

* AMBARI-22881. Introduced a new function to fetch the maximum value of an ID column

* AMBARI-22881. Using constant instead of hard-coded value

* AMBARI-22830. Ambari-agent puts Python scripts in 2.6 directory on OSes that use python 2.7.x by default (aonishuk)

* AMBARI-22893: Update rat check rules for stack files (jluniya)

* AMBARI-22864. Agent commands hang even after freeing up disk space on the host (aonishuk)

* [AMBARI-22712] Update install Wizard layout. Fourth patch. (#247)

* AMBARI-22712. Update install Wizard layout. Fourth patch. (akovalenko)

* AMBARI-22712. Update install Wizard layout. Fourth patch. (akovalenko)

* AMBARI-22884. LogSearch Integration should call newer API to obtain log file metadata.

* [AMBARI-22888] Cancel operation during package deployment causing repository manager to be broken (dgrinenko)

* AMBARI-22890. LogSearch Integration support for external Shared LogSearch Server connections.

* [AMBARI-22875] Blueprint cluster creation using manually installed mpacks (#231)

* AMBARI-22878: Update Service Group API to take list of mpack name associated with the service group

* [AMBARI-22885] LDAP sync fails with 'LDAP is not configured' error after configuring LDAP

* AMBARI-22885. We fetch 'ldap enabled' flag from both ambari.properties (to support backward compatibility) and from AMBARI DB via our REST API

* AMBARI-22885. Make sure we close response (even if an error occurred)

* AMBARI-22885. Retrieving the 'is LDAP enabled' flag from AMBARI DB is enough (do not need to search it in ambari.properties)

* AMBARI-22900 Log Search UI: implement 'History' functionality

* AMBARI-22614. Fix some unit tests

* [AMBARI-22889] LDAP configuration is not reloaded in Guice

* AMBARI-22889. Make sure that the latest configuration is used when populating LDAP data

* AMBARI-22889. LDAP authentication provider aos uses configuration provider instead of the configuration directly

* AMBARI-22889. Fixed Python unit tests (not related to my changes)

* AMBARI-22835 Log Search UI: implement log level filter

* AMBARI-22905. Supporting old CLI option names in setup-ldap tool

* AMBARI-22909 Log Search UI: implement filter by username for access logs

* AMBARI-22712. Update install Wizard layout. Fifth patch. (akovalenko)

* AMBARI-22911 Log Search UI: move Capture button to top menu

* AMBARI-22912 Host details page: components not reconfigured after deleting their host

* [AMBARI-22914] Oracle DDL is broken at trunk

* [AMBARI-22886] Infra Manager: store s3 credentials in Hadoop credential store (#261)

* AMBARI-22886 Infra Manager: store s3 credentials in Hadoop credential store

* AMBARI-22886 Infra Manager: store s3 credentials in Hadoop credential store
- addendum: use Optional<String> as a return type of getPassword, remove unnecessary ArrayList

* AMBARI-22915 Dashboard-Metrics page style edits

* [AMBARI-22910] Add Ambari admin/pw CLI options for setup-ldap tool

* AMBARI-22910. Supporting Ambari admin user/pw CLI options in setup-ldap tool

* AMBARI-22910. Using more generic option names for Ambari username/password

* AMBARI-22917. Log Search make logsearch maven build to independent from other modules

* AMBARI-22903. Log Search: Add Knox to docker dev env (#265)

* AMBARI-22903. Log Search: Add Knox to docker dev env

* AMBARI-22890. Use quotes for checking bash variables

* AMBARI-22833 : change commons-collections-3.2.1.jar being used by ambari views to commons-collections-3.2.2.jar (nitirajrathore) (#188)

merging as changes are  approved

* AMBARI-22921. Unable to enable hive interactive, LLAP, on our Ambari 2.5.2 managed cluster (aonishuk)

* [AMBARI-22913]. Add ability to MasterHostResolver to resolve by namespa… (#269)

* AMBARI-22913. Add ability to MasterHostResolver to resolve by namespace at a time (amagyar)

* AMBARI-22913. Add ability to MasterHostResolver to resolve by namespace at a time (amagyar)

* AMBARI-22902. Changed description of Kadmin Host

* [AMBARI-22904] Revised mpack APIs (#252)

* [AMBARI-22904] Revised mpack APIs

* [AMBARI-22904] Revised mpack APIs

* [AMBARI-22904] Revised mpack APIs

* [AMBARI-22904] Revised mpack APIs

* [AMBARI-22904] Revised mpack APIs

* [AMBARI-22904] Revised mpack APIs

*  [AMBARI-22904] Revised mpack APIs

* [AMBARI-22854] Fix running service checks with new mpack definitions (#204)

* AMBARI-22854 Fix running service checks with new mpack definitions (dsen)

*  AMBARI-22854 Fix running service checks with new mpack definitions - removed obvious javadocs (dsen)

* Merge trunk into branch-feature-AMBARI-14714

* Branch feature ambari 14714 (#291)

* [AMBARI-22904] Revised mpack APIs

* [AMBARI-22904] Revised mpack APIs

* [AMBARI-22904] Revised mpack APIs

* [AMBARI-22904] Revised mpack APIs

* [AMBARI-22904] Revised mpack APIs

* [AMBARI-22904] Revised mpack APIs

*  [AMBARI-22904] Revised mpack APIs

* [AMBARI-22904] Revised mpack APIs - Fix for dependencyType -> Type in ModuleDependency class.

* Branch feature ambari 14714 (#307)

* [AMBARI-22948] stack-hooks has to be updated to use cluster-settings instead of cluster-env

* [AMBARI-22938] Fix SQL issue due to trunk merge issue

* AMBARI-22971: Remove current_mpack_id to mpack_id in stacks table (jluniya)

* AMBARI-22971: Remove current_mpack_id to mpack_id in stacks table (jluniya)

* [AMBARI-22957] Stack Metainfo.xml should contain the osSpecifics tag

* [AMBARI-22980] Commenting out stack_features and stack_select calls until instance_manager is ready

* [AMBARI-22980] Issue warnings when stack select tool is not present

* [AMBARI-22995] Remove deprecated Upgrade Packs

* [AMBARI-22992] Update error handling during mpack installation (#363)

* [AMBARI-22992] Update error handling during mpack installation

* [AMBARI-22997] cluster-settings.xml is not present in /var/lib/ambari-server/resources post ambari installation

* [AMBARI-22992] Update error handling during mpack installation - review comments

* [AMBARI-22980] Correct the name of the repo_suse_rhel_template

* [AMBARI-23036] Create Lifecycle changes for Upgrade Packs (#430)

* [AMBARI-23036] Create Lifecycle changes for Upgrade Packs

* [AMBARI-23036] Update new enum for ordering (review comments)

* [AMBARI-23004] Create initial version of InstanceManager to create instance layout (dsen)

* Changes according to the review + general improvements

* [AMBARI-23004] Create initial version of InstanceManager to create instance layout - additional fix (dsen) (#441)

* AMBARI-22649. settings library should convert true/false to boolean

* AMBARI-22979: Update software registry API to support new mpack schema (jluniya) (#433)

* [AMBARI-22883] A new REST API: GET /api/v1/hosts?format=summary or /api/v1/clusters/… (#285)

* A new REST API: GET /api/v1/hosts?format=summary or /api/v1/clusters/{cluster_name}/hosts?format=summary is supported with this implementation and return the number of hosts running each possible operating system. More aggregation info of hosts can be also added in this code structure.

* A new REST API: GET /api/v1/hosts?format=summary or /api/v1/clusters/{cluster_name}/hosts?format=summary is supported with this implementation and return the number of hosts running each possible operating system. More aggregation info of hosts can be also added in this code structure. (Rebased)

* A new REST API: GET /api/v1/hosts?format=summary or /api/v1/clusters/{cluster_name}/hosts?format=summary is supported with this implementation and return the number of hosts running each possible operating system. More aggregation info of hosts can be also added in this code structure. (Rebased)

* [AMBARI-23053] Rename NON-ROLLING to EXPRESS

* AMBARI-22995. Remove deprecated Upgrade Packs - after reintroduced by later merge commit

* AMBARI-22883. NPE in HostResourceDefinition (#458)
ishanbha added a commit that referenced this pull request Mar 9, 2018
…#610)

* [AMBARI-22764] NN HA wizard is broken due to recent commit for config compare

* AMBARI-22767. Kerberos wizard. Advanced kerberos-env password properties should be visible only if the KDC type is 'Active Directory' (alexantonenko)

* AMBARI-22766 ambari-server setup with internal database may not work on centos 7 (dgrinenko)

* AMBARI-22768. Update Welcome page style (akovalenko)

* AMBARI-22772. Log Search / Log Feeder - config symlink cannot be created if etc/ambari-logsearch* folders do not exist

* AMBARI-22771. Ambari loads ambari.properties using ISO 8859-1 encoding (adoroszlai)

* [AMBARI-22770] Bring jenkins job build script under version control (#98)

[AMBARI-22770] Bring jenkins job build script under version control

* AMBARI-22637. Fix misuses of os.path.dirname(path) in yarn.py

* AMBARI-22771. Fix broken unit test

* AMBARI-22668. Moving LDAP related properties to DB upon upgrade to 3.0.0

* AMBARI-22668: implemented changes requested by reviewers

* AMBARI-22668: implemented changes requested by rlevas

* AMBARI-22783 Login page lost Ambari branding. (atkach)

* AMBARI-22779. Cannot scale cluster if Ambari Server restarted since blueprint cluster creation

* AMBARI-22789. Fix Log Search / Log Feeder / Infra Manager start scripts

* AMBARI-22787 - Add new Ambari Infra Manager component to Ambari infra stack

* AMBARI-22793. Notification popover layout issues

* AMBARI-22785: added force_tcp option to KRB5 configuration template so that customers can choose TCP over UDP when communicating with Kerberos

* AMBARI-22796. Widget menu goes out of bounds (alexantonenko)

* AMBARI-22667: fix commons-io version

* AMBARI-22794 Opacity decreased and the shadow has been added to the sticky filter bar.

* AMBARI-22726. Fix dependent tests in BlueprintImplTest (#133)

* Merge remote-tracking branch 'upstream/trunk' into branch-feature-AMBARI-20859

* AMBARI-22577. Migrate user data for upgrade to improved user account management

* AMBARI-22806.Unable to delete files from HDFS using Ambari File View when Ambari Views is accessed via Knox(Venkata Sairam)

* AMBARI-22792. Refactor agent-side kerberos code (echekanskiy)

* AMBARI-22807. Admin View: Add/Delete Group succeeds, but the group table does not refresh automatically. (alexantonenko)

* AMBARI-22809. Tez shown in red in the left nav for no apparent reason (alexantonenko)

* AMBARI-22796. Widget menu goes out of bounds. review (alexantonenko)

* AMBARI-22792. Refactor agent-side kerberos code - import fix (echekanskiy)

* AMBARI-22812. Fix checkstyle error in UpgradeCatalog300Test (#148)

* [AMBARI-22725]  Expose Conditional Elements For Tasks on Upgrade

* AMBARI-22795 LogSearch Fixes for LogList Display. (Istvan Tobias via ababiichuk)

AMBARI-22795 LogSearch Fixes for LogList Display. (Istvan Tobias via ababiichuk)

* AMBARI-22808 Ambari-Web: Fix randomly failing unit tests

* AMBARI-22788 Unsightly artifacts during Login. (atkach)

* AMBARI-22697. Throw exception when keytab creation fails due to wrong configuration of key encryption types

* [AMBARI-22798] Role authorization AMBARI.MANAGE_CONFIGURATION is not added to AMBARI.ADMINISTRATOR role during Ambari upgrade

* AMBARI-22818. Log Feeder: refactor - create plugin api

* [AMBARI-22820] Fix KerberosOperationHandlerTests due to changes from AMBARI-22697

* AMBARI-22805. Blueprints do not handle some failures properly

* AMBARI-22716: zeppelin.livy.url is not getting updated after moving livy to a new host (prabhjyotsingh)

* AMBARI-22698: Custom zeppelin interpreter properties are getting removed after moving zeppelin to a different host (prabhjyotsingh)

* AMBARI-22696 Whitelist execute latency from Storm Ambari metrics

* AMBARI-22759 [Hive Views 2.0] Deleting a Saved query is Buggy when Mutliple Queries exist in same Name

* Fix compilation issues after trunk merge (mradhakrishnan)

* Fix compilation issues in tests after trunk merge

* AMBARI-22797. The stup-ldap tool should persists its output into Ambari database rather than ambari.properties

* AMBARI-22797. Better CLI option names

* AMBARI-22797. Dot not filter for PAM only; we should inform the end user when configuring LDAP in case the currently cond=figured auth method is not LDAP

* AMBARI-22797. Removed redundant information from the JSON payload

* AMBARI-22797. Removing 'is_root' check from setup-ldap (according to R. Levas this is irrelevant)

* AMBARI-22797. Fixed error message

* AMBARI-22797. Created constants to avoid typos

* AMBARI-22797. Removed redundant constant (one already existed with the same value)

* AMBARI-22797. Fixed CLI option names under Windows

* AMBARI-22712. Update install Wizard layout. Second patch. (akovalenko)

* AMBARI-22776 Ambari Blueprint 3.0/3.1 database tables and JPA objects + DDL cleanup (#109) (benyoka)

* AMBARI-22776 Blueprint 3.0 Database schemas and JPA objects, DDL fixes (benyoka)

* AMBARI-22776 Revert accidental commit (benyoka)

* AMBARI-22776 Revert accidental change #2 (benyoka)

* AMBARI-22776 Fix review findings (benyoka)

* AMBARI-22776 Fix review findings #2 (benyoka)

* AMBARI-22776 remove blueprint -> stack reference, docs (benyoka)

* AMBARI-22776 fix build issues (benyoka)

* AMBARI-22776 Add MpackInstanceEntity -> MpackEntity reference (benyoka)

* [AMBARI-22817] Update backend code to handle new versioning schema. (#155)

* AMBARI-22817. Update backend code to handle new versioning schema.(vbrodetskyi)

* AMBARI-22817. Update backend code to handle new versioning schema.(vbrodetskyi)

* AMBARI-22817. Update backend code to handle new versioning schema.(vbrodetskyi)

* AMBARI-22817. Update backend code to handle new versioning schema.(vbrodetskyi)

* AMBARI-22817. Update backend code to handle new versioning schema.(vbrodetskyi)

* AMBARI-22817. Update backend code to handle new versioning schema.(vbrodetskyi)

* AMBARI-22805. Improve Blueprints error handling in case of timeout (#185)

* [AMBARI-22815]   Change requiredServices in metainfo xml (#181)

* AMBARI-22815 Change requiredServices in metainfo.xml (dsen)

* AMBARI 22815   Change requiredServices in metainfo xml   (renamed  scope  to  dependencyType) (dsen)

* AMBARI-22572. During cluster installation bower cannot resolve angularjs version (alexantonenko)

* AMBARI-22572. During cluster installation bower cannot resolve angularjs version (angular version changed) (alexantonenko)

* AMBARI-22776 Fix DDL issues resulting from incomplete table rename (benyoka) (#189)

* AMBARI-22776 Fix DDL issues resulting from incomplete table rename (benyoka)

* AMBARI-22776 More DDL fixes and renamings in the code (benyoka)

* AMBARI-22413 fix tar_archive.archive_directory_dereference (benyoka) (#195)

* AMBARI-22846. Get rid of Murmur Hash usage in Log Feeder for log events

* AMBARI-22799 - define scheduling of archiving Infra Solr Documents

* AMBARI-22840 Standardize precision when expressing durations

* AMBARI-22782. Fix Namenode alerts broken due to enabling federation (aonishuk)

* AMBARI-22853. NFS Gateway is not logging at the correct location (aonishuk)

* AMBARI-22851 Host Details page style fixes

* AMBARI-22861. Ambari UI for Scheduler configuration is trimming = from value sets

* AMBARI-22862. Ambari admin breaks cause of responseInterceptors property

* AMBARI-22861. Ambari UI for Scheduler configuration is trimming = from value sets (log removed)

* [AMBARI-22845] Update service metainfo schema (#194)

* AMBARI-22845 Update service metainfo schema (dsen)

* AMBARI-22845 Update service metainfo schema - changes according to review (dsen)

* AMBARI-22561. Need to address HDP-GPL repo update after user accepts license in post-install scenario (aonishuk)

* AMBARI-22855. Log Search: using shipperconfig api should be configurable

* AMBARI-22824. Let YARN/MR2 use ZK principal name set by users when enabling Kerberos (until now it's been hardcoded to 'zookeeper')

* AMBARI-22847. Let HBase use ZK principal name set by users when enabling Kerberos (until now it's been hardcoded to 'zookeeper')

* AMBARI-22860. Support external zookeeper for Infra Solr and Log Search

* AMBARI-22866. Log Search: Add userList query for audit log requests.

* AMBARI-22867 Add new state for Not Available data in Heatmap widget

* AMBARI-22712. Update install Wizard layout. Third patch. (akovalenko)

* [AMBARI-22858] First prereq not displaying for Free IPA method in Enable Kerberos Wizard

* AMBARI-22791 support for parsing MulitE blueprints and cluster templates (#213)

* AMBARI-22776 Blueprint 3.0 Database schemas and JPA objects, DDL fixes (benyoka)

* AMBARI-22776 Revert accidental commit (benyoka)

* AMBARI-22776 Revert accidental change #2 (benyoka)

* AMBARI-22776 Fix review findings (benyoka)

* AMBARI-22776 Fix review findings #2 (benyoka)

* AMBARI-22791-Update blueprint object and convert from entity (benyoka)

* AMBARI-22791-BlueprintFactory and tests (benyoka)

* AMBARI-22791 Can store and retrieve multi-instance blueprint

* AMBARI-22791 Build and unit test fixes (benyoka)

* AMBARI-22791 merge branch-feature-AMBARI-14714 and fixes (benyoka)

* AMBARI-22791 fix unit test failure (benyoka)

* AMBARI-22791 fix import error (benyoka)

* AMBARI-22791 Multi-everythin cluster template support (benyoka)

* AMBARI-22791 fix review findings (benyoka)

* AMBARI-22873: Remove HDP 3.0 stack from Ambari (jluniya)

* AMBARI-22865. Moving out get_service_component_meta to DefaultStackAdvisor so that all children can use this function

* AMBARI-22878: Update Service Group API to take list of mpack name associated with the service group

* AMBARI-22869. Log Search: use default page and pageSize to log requests (+ rename shipper config api key name)

* AMBARI-22874. Log Search: Return with 500 error for shipper config testing if an exception occurred.

* AMBARI-22879 Ambari makes unrelated changes to zookeeper quorum config in all services when delete host action fails

* AMBARI-20908 : Kafka advertised.listeners replaced in Kerberos Mode (bharatviswa via mradhakrishnan)

* [AMBARI-22876] Disable consecutive authentication failure account lockout feature by default

* [AMBARI-22882] Long cannot be cast to String error when changing a user's password

* AMBARI-22841. Fix upgrade-catalog after accordingly to kerberos changes(echekanskiy)

* [AMBARI-22881] Added user_authentication_id_seq into ambari_sequences upon upgrade to 2.7

* AMBARI-22881. Added user_authentication_id_seq into ambari_sequences upon upgrade to 2.7

* AMBARI-22881. Introduced a new function to fetch the maximum value of an ID column

* AMBARI-22881. Using constant instead of hard-coded value

* AMBARI-22830. Ambari-agent puts Python scripts in 2.6 directory on OSes that use python 2.7.x by default (aonishuk)

* AMBARI-22893: Update rat check rules for stack files (jluniya)

* AMBARI-22864. Agent commands hang even after freeing up disk space on the host (aonishuk)

* [AMBARI-22712] Update install Wizard layout. Fourth patch. (#247)

* AMBARI-22712. Update install Wizard layout. Fourth patch. (akovalenko)

* AMBARI-22712. Update install Wizard layout. Fourth patch. (akovalenko)

* AMBARI-22884. LogSearch Integration should call newer API to obtain log file metadata.

* [AMBARI-22888] Cancel operation during package deployment causing repository manager to be broken (dgrinenko)

* AMBARI-22890. LogSearch Integration support for external Shared LogSearch Server connections.

* [AMBARI-22875] Blueprint cluster creation using manually installed mpacks (#231)

* AMBARI-22878: Update Service Group API to take list of mpack name associated with the service group

* [AMBARI-22885] LDAP sync fails with 'LDAP is not configured' error after configuring LDAP

* AMBARI-22885. We fetch 'ldap enabled' flag from both ambari.properties (to support backward compatibility) and from AMBARI DB via our REST API

* AMBARI-22885. Make sure we close response (even if an error occurred)

* AMBARI-22885. Retrieving the 'is LDAP enabled' flag from AMBARI DB is enough (do not need to search it in ambari.properties)

* AMBARI-22900 Log Search UI: implement 'History' functionality

* AMBARI-22614. Fix some unit tests

* [AMBARI-22889] LDAP configuration is not reloaded in Guice

* AMBARI-22889. Make sure that the latest configuration is used when populating LDAP data

* AMBARI-22889. LDAP authentication provider aos uses configuration provider instead of the configuration directly

* AMBARI-22889. Fixed Python unit tests (not related to my changes)

* AMBARI-22835 Log Search UI: implement log level filter

* AMBARI-22905. Supporting old CLI option names in setup-ldap tool

* AMBARI-22909 Log Search UI: implement filter by username for access logs

* AMBARI-22712. Update install Wizard layout. Fifth patch. (akovalenko)

* AMBARI-22911 Log Search UI: move Capture button to top menu

* AMBARI-22912 Host details page: components not reconfigured after deleting their host

* [AMBARI-22914] Oracle DDL is broken at trunk

* [AMBARI-22886] Infra Manager: store s3 credentials in Hadoop credential store (#261)

* AMBARI-22886 Infra Manager: store s3 credentials in Hadoop credential store

* AMBARI-22886 Infra Manager: store s3 credentials in Hadoop credential store
- addendum: use Optional<String> as a return type of getPassword, remove unnecessary ArrayList

* AMBARI-22915 Dashboard-Metrics page style edits

* [AMBARI-22910] Add Ambari admin/pw CLI options for setup-ldap tool

* AMBARI-22910. Supporting Ambari admin user/pw CLI options in setup-ldap tool

* AMBARI-22910. Using more generic option names for Ambari username/password

* AMBARI-22917. Log Search make logsearch maven build to independent from other modules

* AMBARI-22903. Log Search: Add Knox to docker dev env (#265)

* AMBARI-22903. Log Search: Add Knox to docker dev env

* AMBARI-22890. Use quotes for checking bash variables

* AMBARI-22833 : change commons-collections-3.2.1.jar being used by ambari views to commons-collections-3.2.2.jar (nitirajrathore) (#188)

merging as changes are  approved

* AMBARI-22921. Unable to enable hive interactive, LLAP, on our Ambari 2.5.2 managed cluster (aonishuk)

* [AMBARI-22913]. Add ability to MasterHostResolver to resolve by namespa… (#269)

* AMBARI-22913. Add ability to MasterHostResolver to resolve by namespace at a time (amagyar)

* AMBARI-22913. Add ability to MasterHostResolver to resolve by namespace at a time (amagyar)

* AMBARI-22902. Changed description of Kadmin Host

* [AMBARI-22904] Revised mpack APIs (#252)

* [AMBARI-22904] Revised mpack APIs

* [AMBARI-22904] Revised mpack APIs

* [AMBARI-22904] Revised mpack APIs

* [AMBARI-22904] Revised mpack APIs

* [AMBARI-22904] Revised mpack APIs

* [AMBARI-22904] Revised mpack APIs

*  [AMBARI-22904] Revised mpack APIs

* [AMBARI-22854] Fix running service checks with new mpack definitions (#204)

* AMBARI-22854 Fix running service checks with new mpack definitions (dsen)

*  AMBARI-22854 Fix running service checks with new mpack definitions - removed obvious javadocs (dsen)

* Merge trunk into branch-feature-AMBARI-14714

* Branch feature ambari 14714 (#291)

* [AMBARI-22904] Revised mpack APIs

* [AMBARI-22904] Revised mpack APIs

* [AMBARI-22904] Revised mpack APIs

* [AMBARI-22904] Revised mpack APIs

* [AMBARI-22904] Revised mpack APIs

* [AMBARI-22904] Revised mpack APIs

*  [AMBARI-22904] Revised mpack APIs

* [AMBARI-22904] Revised mpack APIs - Fix for dependencyType -> Type in ModuleDependency class.

* Branch feature ambari 14714 (#307)

* [AMBARI-22948] stack-hooks has to be updated to use cluster-settings instead of cluster-env

* [AMBARI-22938] Fix SQL issue due to trunk merge issue

* AMBARI-22971: Remove current_mpack_id to mpack_id in stacks table (jluniya)

* AMBARI-22971: Remove current_mpack_id to mpack_id in stacks table (jluniya)

* [AMBARI-22957] Stack Metainfo.xml should contain the osSpecifics tag

* [AMBARI-22980] Commenting out stack_features and stack_select calls until instance_manager is ready

* [AMBARI-22980] Issue warnings when stack select tool is not present

* [AMBARI-22995] Remove deprecated Upgrade Packs

* [AMBARI-22992] Update error handling during mpack installation (#363)

* [AMBARI-22992] Update error handling during mpack installation

* [AMBARI-22997] cluster-settings.xml is not present in /var/lib/ambari-server/resources post ambari installation

* [AMBARI-22992] Update error handling during mpack installation - review comments

* [AMBARI-22980] Correct the name of the repo_suse_rhel_template

* [AMBARI-23036] Create Lifecycle changes for Upgrade Packs (#430)

* [AMBARI-23036] Create Lifecycle changes for Upgrade Packs

* [AMBARI-23036] Update new enum for ordering (review comments)

* [AMBARI-23004] Create initial version of InstanceManager to create instance layout (dsen)

* Changes according to the review + general improvements

* [AMBARI-23004] Create initial version of InstanceManager to create instance layout - additional fix (dsen) (#441)

* AMBARI-22649. settings library should convert true/false to boolean

* AMBARI-22979: Update software registry API to support new mpack schema (jluniya) (#433)

* [AMBARI-22883] A new REST API: GET /api/v1/hosts?format=summary or /api/v1/clusters/… (#285)

* A new REST API: GET /api/v1/hosts?format=summary or /api/v1/clusters/{cluster_name}/hosts?format=summary is supported with this implementation and return the number of hosts running each possible operating system. More aggregation info of hosts can be also added in this code structure.

* A new REST API: GET /api/v1/hosts?format=summary or /api/v1/clusters/{cluster_name}/hosts?format=summary is supported with this implementation and return the number of hosts running each possible operating system. More aggregation info of hosts can be also added in this code structure. (Rebased)

* A new REST API: GET /api/v1/hosts?format=summary or /api/v1/clusters/{cluster_name}/hosts?format=summary is supported with this implementation and return the number of hosts running each possible operating system. More aggregation info of hosts can be also added in this code structure. (Rebased)

* [AMBARI-23053] Rename NON-ROLLING to EXPRESS

* AMBARI-22995. Remove deprecated Upgrade Packs - after reintroduced by later merge commit

* AMBARI-22883. NPE in HostResourceDefinition (#458)

* AMBARI-22878. Fix unit tests broken by reference to non-existent stack (#449)

* AMBARI-22614 fix some unit tests (benyoka) (#461)

* AMBARI-22614 fix some unit tests (benyoka)

* AMBARI-22614 fix some unit tests / remove unused import (benyoka)

* AMBARI-22878. Fix unit tests (#473)

* Few more unit test fixes (#486)

* AMBARI-22244
* AMBARI-22854
* AMBARI-22883
* AMBARI-22904

* [AMBARI-22854] Fix running service checks with new mpack definitions - UT fix (dsen) (#495)

* [AMBARI-22854] Fix running service checks with new mpack definitions - UT fix (dsen)

* [AMBARI-22854] Fix running service checks with new mpack definitions  (dsen) - addendum

* AMBARI-22875. Use mpacks specified in cluster creation request (#444)

* AMBARI-22875. Fix unit tests (#507)

* [AMBARI-23032] fix exceptions, export cluster settings and single mpack (#431)

* AMBARI-23032 fix execptions, export cluster settings and single mpacks (benyoka)

* AMBARI-23032 fix review comments (benyoka)

* AMBARI-23032 better method naming (benyoka)

* AMBARI-23032 fix review comments #2 (benyoka)

* AMBARI-23032 fix review comments #3 (benyoka)

* AMBARI-23032 fix swallowed exceptions during mpack installation

* AMBARI-22875. Exclude generated sources from checkstyle (#512)

* AMBARI-23107 - Deprecate Repo Versions And Start Tracking Repo OS's F… (#515)

* AMBARI-22875. Add missing license (#519)

* AMBARI-22883. Count of each OS type is always 1 (#516)

* [AMBARI-23121] Fix few instance manager issues found during ZK deploment (dsen) (#518)

* [AMBARI-23121] Fix few instance manager issues found during ZK deployment (dsen)

* [AMBARI-23121] Fix few instance manager issues found during ZK deployment (dsen) - changes according to review

* [Ambari 23125] Move check-properties XML (#521)

* AMBARI-23125. Move check-properties XML

* AMBARI-23125. Fixed for extraneous code

* AMBARI-23053. Fix unexpected indent in kafka_broker.py (#535)

* AMBARI-22883. Let HostSummaryRenderer add Hosts/os_type property to the query (#539)

* AMBARI-22945. Enhance host components API to support multiple host component instances.

* [Ambari 23133] Hooks scripts has hadoop specific code

* [AMBARI-23120] Create helper functions for using new instance manager library from the agent scripts (dsen) (#517)

* [AMBARI-23120] Create helper functions for using new instance manager library from the agent scripts (dsen)

* [AMBARI-23120] Create helper functions for using new instance manager library from the agent scripts (dsen) - changes according to review

* [AMBARI-23120] Create helper functions for using new instance manager library from the agent scripts (dsen) - import fix (#560)

* AMBARI-23147 - Expose Repository CRUD via the Mpack Endpoint (#552)

* AMBARI-23158. Fix NPE in Host Components query.

* [AMBARI-23130] Persist cluster creation request (#559)

* AMBARI-23130 persist raw cluster provision request and extract stack ids on server restart (benyoka)

* AMBARI-23130 add columnt to other DDLs + fix DDLs (benyoka)

* AMBARI-23130 fix review findings (benyoka)

* AMBARI-22614 fix OrmTestHelper to support mpacks in unit tests (benyoka) (#569)

* AMBARI-23156. Remove Required Group Name and Expose Lifecycle to API

* AMBARI-23167 - StackOverflowError thrown during cluster creation

* [AMBARI-23170] Instance manager json output should have the same structure for both client and server modules (dsen)

* AMBARI-23175. Fix for PUT Host Component API failing because validation check fails.

* AMBARI-23176 - Some Minor Fixes For Failing Tests Due to Repo Version Refactor (#587)

* [AMBARI-22875] Adopt changes in Host Component API for Blueprint cluster creation (#581)

* [AMBARI-23177] Yarn-MR separation and minor deployment fixes (#588)

* [AMBARI-23177] Yarn-MR separation and minor deployment fixes

* Review comments

* Review comments

* AMBARI-23183. Revert UI changes made to branch : branch-feature-AMBARI-14714.

* [Ambari-22990] Provide Bootstrap test connection feature (#530)

* [Ambari-22990] Provide Bootstrap test connection feature

* [Ambari-22990] Provide Bootstrap test connection feature

* Add newline to avoid audit failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants