[
https://issues.apache.org/jira/browse/AMBARI-23654?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated AMBARI-23654:
------------------------------------
Labels: pull-request-available (was: )
> Install wizard issues
> ---------------------
>
> Key: AMBARI-23654
> URL: https://issues.apache.org/jira/browse/AMBARI-23654
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: 2.7.0
> Reporter: Srikanth Janardhan
> Assignee: Antonenko Alexander
> Priority: Blocker
> Labels: pull-request-available
> Fix For: 2.7.0
>
> Attachments: Screen Shot 2018-04-05 at 5.35.06 PM.png
>
>
> When install wizard is running , reloading Ambari fails to load the page
> completely.
> Reason:
> Selected stack from VDF was not saved (or was saved but it is not present on
> response)
> Stack creation:
> POST api/v1/version_definitions?dry_run=true
> Request body:
> {code:java}
> {"VersionDefinition":{"version_url":"http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos7/3.x/BUILDS/3.0.0.0-1223/HDP-3.0.0.0-1223.xml"}}
> {code}
> Response:
> status: 201 created
> body:
> {code:java}
> {
> "resources" : [
> {
> "href" : "http://104.196.80.21:8080/api/v1/version_definitions/",
> "operating_systems" : [
> {
> "OperatingSystems" : {
> "ambari_managed_repositories" : true,
> "os_type" : "redhat7",
> "stack_name" : "HDP",
> "stack_version" : "3.0"
> },
> "repositories" : [
> {
> "Repositories" : {
> "base_url" :
> "http://s3.amazonaws.com/dev.hortonworks.com/HDP/centos7/3.x/BUILDS/3.0.0.0-1223",
> "os_type" : "redhat7",
> "repo_id" : "HDP-3.0",
> "repo_name" : "HDP",
> "distribution" : null,
> "components" : null,
> "stack_name" : "HDP",
> "stack_version" : "3.0",
> "tags" : [ ]
> }
> },
> {
> "Repositories" : {
> "base_url" :
> "http://s3.amazonaws.com/dev.hortonworks.com/HDP-GPL/centos7/3.x/BUILDS/3.0.0.0-1223",
> "os_type" : "redhat7",
> "repo_id" : "HDP-3.0-GPL",
> "repo_name" : "HDP-GPL",
> "distribution" : null,
> "components" : null,
> "stack_name" : "HDP",
> "stack_version" : "3.0",
> "tags" : [
> "GPL"
> ]
> }
> },
> {
> "Repositories" : {
> "base_url" :
> "http://s3.amazonaws.com/dev.hortonworks.com/HDP-UTILS-1.1.0.22/repos/centos7",
> "os_type" : "redhat7",
> "repo_id" : "HDP-UTILS-1.1.0.22",
> "repo_name" : "HDP-UTILS",
> "distribution" : null,
> "components" : null,
> "stack_name" : "HDP",
> "stack_version" : "3.0",
> "tags" : [ ]
> }
> }
> ]
> }
> ],
> "VersionDefinition" : {
> "display_name" : "HDP-3.0.0.0-1223",
> "id" : null,
> "max_jdk" : "1.8",
> "min_jdk" : "1.8",
> "repository_version" : "3.0.0.0-1223",
> "services" : [
> {
> "name" : "SQOOP",
> "versions" : [
> {
> "version" : "1.4.7",
> "components" : [ ]
> }
> ],
> "display_name" : "Sqoop"
> },
> {
> "name" : "DRUID",
> "versions" : [
> {
> "version" : "0.12.0",
> "components" : [ ]
> }
> ],
> "display_name" : "Druid"
> },
> {
> "name" : "OOZIE",
> "versions" : [
> {
> "version" : "4.2.0",
> "components" : [ ]
> }
> ],
> "display_name" : "Oozie"
> },
> {
> "name" : "MAPREDUCE2",
> "versions" : [
> {
> "version" : "3.0.0",
> "components" : [ ]
> }
> ],
> "display_name" : "MapReduce2"
> },
> {
> "name" : "TEZ",
> "versions" : [
> {
> "version" : "0.9.0",
> "components" : [ ]
> }
> ],
> "display_name" : "Tez"
> },
> {
> "name" : "HDFS",
> "versions" : [
> {
> "version" : "3.0.0",
> "components" : [ ]
> }
> ],
> "display_name" : "HDFS"
> },
> {
> "name" : "ACCUMULO",
> "versions" : [
> {
> "version" : "1.7.0",
> "components" : [ ]
> }
> ],
> "display_name" : "Accumulo"
> },
> {
> "name" : "ZOOKEEPER",
> "versions" : [
> {
> "version" : "3.4.6",
> "components" : [ ]
> }
> ],
> "display_name" : "ZooKeeper"
> },
> {
> "name" : "HBASE",
> "versions" : [
> {
> "version" : "2.0.0",
> "components" : [ ]
> }
> ],
> "display_name" : "HBase"
> },
> {
> "name" : "YARN",
> "versions" : [
> {
> "version" : "3.0.0",
> "components" : [ ]
> }
> ],
> "display_name" : "YARN"
> },
> {
> "name" : "RANGER_KMS",
> "versions" : [
> {
> "version" : "1.0.0",
> "components" : [ ]
> }
> ],
> "display_name" : "Ranger KMS"
> },
> {
> "name" : "PIG",
> "versions" : [
> {
> "version" : "0.16.0",
> "components" : [ ]
> }
> ],
> "display_name" : "Pig"
> },
> {
> "name" : "KNOX",
> "versions" : [
> {
> "version" : "1.0.0",
> "components" : [ ]
> }
> ],
> "display_name" : "Knox"
> },
> {
> "name" : "ATLAS",
> "versions" : [
> {
> "version" : "1.0.0",
> "components" : [ ]
> }
> ],
> "display_name" : "Atlas"
> },
> {
> "name" : "RANGER",
> "versions" : [
> {
> "version" : "1.0.0",
> "components" : [ ]
> }
> ],
> "display_name" : "Ranger"
> },
> {
> "name" : "STORM",
> "versions" : [
> {
> "version" : "1.2.1",
> "components" : [ ]
> }
> ],
> "display_name" : "Storm"
> },
> {
> "name" : "HIVE",
> "versions" : [
> {
> "version" : "3.0.0",
> "components" : [ ]
> }
> ],
> "display_name" : "Hive"
> },
> {
> "name" : "ZEPPELIN",
> "versions" : [
> {
> "version" : "0.8.0",
> "components" : [ ]
> }
> ],
> "display_name" : "Zeppelin Notebook"
> },
> {
> "name" : "KAFKA",
> "versions" : [
> {
> "version" : "1.0.0",
> "components" : [ ]
> }
> ],
> "display_name" : "Kafka"
> },
> {
> "name" : "SPARK2",
> "versions" : [
> {
> "version" : "2.3.0",
> "components" : [ ]
> }
> ],
> "display_name" : "Spark2"
> }
> ],
> "stack_name" : "HDP",
> "stack_services" : [
> {
> "name" : "SPARK2",
> "display_name" : "Spark2",
> "comment" : "Apache Spark 2.0 is a fast and general engine for
> large-scale data processing. This service is <b>Technical Preview</b>.",
> "versions" : [
> "2.3.0"
> ]
> },
> {
> "name" : "RANGER_KMS",
> "display_name" : "Ranger KMS",
> "comment" : "Key Management Server",
> "versions" : [
> "1.0.0"
> ]
> },
> {
> "name" : "ATLAS",
> "display_name" : "Atlas",
> "comment" : "Atlas Metadata and Governance platform",
> "versions" : [
> "1.0.0"
> ]
> },
> {
> "name" : "KAFKA",
> "display_name" : "Kafka",
> "comment" : "A high-throughput distributed messaging system",
> "versions" : [
> "1.0.0"
> ]
> },
> {
> "name" : "SUPERSET",
> "display_name" : "Superset",
> "comment" : "Superset is a data exploration platform designed to
> be visual, intuitive and interactive.",
> "versions" : [
> "0.15.0"
> ]
> },
> {
> "name" : "TEZ",
> "display_name" : "Tez",
> "comment" : "Tez is the next generation Hadoop Query Processing
> framework written on top of YARN.",
> "versions" : [
> "0.9.0"
> ]
> },
> {
> "name" : "AMBARI_METRICS",
> "display_name" : "Ambari Metrics",
> "comment" : "A system for metrics collection that provides
> storage and retrieval capability for metrics collected from the cluster\n
> ",
> "versions" : [
> "0.1.0"
> ]
> },
> {
> "name" : "ACCUMULO",
> "display_name" : "Accumulo",
> "comment" : "Robust, scalable, high performance distributed
> key/value store.\n ",
> "versions" : [
> "1.7.0"
> ]
> },
> {
> "name" : "SMARTSENSE",
> "display_name" : "SmartSense",
> "comment" : "SmartSense - Hortonworks SmartSense Tool (HST) helps
> quickly gather configuration, metrics, logs from common HDP\n
> services that aids to quickly troubleshoot support cases and receive
> cluster-specific recommendations.\n ",
> "versions" : [
> "1.5.0.2.7.0.0-362"
> ]
> },
> {
> "name" : "SQOOP",
> "display_name" : "Sqoop",
> "comment" : "Tool for transferring bulk data between Apache
> Hadoop and\n structured data stores such as relational databases\n
> ",
> "versions" : [
> "1.4.7"
> ]
> },
> {
> "name" : "RANGER",
> "display_name" : "Ranger",
> "comment" : "Comprehensive security for Hadoop",
> "versions" : [
> "1.0.0"
> ]
> },
> {
> "name" : "HDFS",
> "display_name" : "HDFS",
> "comment" : "Apache Hadoop Distributed File System",
> "versions" : [
> "3.0.0"
> ]
> },
> {
> "name" : "OOZIE",
> "display_name" : "Oozie",
> "comment" : "System for workflow coordination and execution of
> Apache Hadoop jobs. This also includes the installation of the optional
> Oozie Web Console which relies on and will install the <a target=\"_blank\"
> href=\"http://www.sencha.com/legal/open-source-faq/\">ExtJS</a> Library.\n
> ",
> "versions" : [
> "4.2.0"
> ]
> },
> {
> "name" : "AMBARI_INFRA_SOLR",
> "display_name" : "Infra Solr",
> "comment" : "Core shared service used by Ambari managed
> components.",
> "versions" : [
> "0.1.0"
> ]
> },
> {
> "name" : "YARN",
> "display_name" : "YARN",
> "comment" : "Apache Hadoop NextGen MapReduce (YARN)",
> "versions" : [
> "3.0.0"
> ]
> },
> {
> "name" : "MAPREDUCE2",
> "display_name" : "MapReduce2",
> "comment" : "Apache Hadoop NextGen MapReduce (YARN)",
> "versions" : [
> "3.0.0"
> ]
> },
> {
> "name" : "ZEPPELIN",
> "display_name" : "Zeppelin Notebook",
> "comment" : "A web-based notebook that enables interactive data
> analytics. It enables you to\n make beautiful data-driven, interactive
> and collaborative documents with SQL, Scala\n and more.\n ",
> "versions" : [
> "0.8.0"
> ]
> },
> {
> "name" : "ZOOKEEPER",
> "display_name" : "ZooKeeper",
> "comment" : "Centralized service which provides highly reliable
> distributed coordination",
> "versions" : [
> "3.4.6"
> ]
> },
> {
> "name" : "DRUID",
> "display_name" : "Druid",
> "comment" : "A fast column-oriented distributed data store.",
> "versions" : [
> "0.12.0"
> ]
> },
> {
> "name" : "KERBEROS",
> "display_name" : "Kerberos",
> "comment" : "A computer network authentication protocol which
> works on\n the basis of 'tickets' to allow nodes communicating over
> a\n non-secure network to prove their identity to one another in a\n
> secure manner.\n ",
> "versions" : [
> "1.10.3-30"
> ]
> },
> {
> "name" : "KNOX",
> "display_name" : "Knox",
> "comment" : "Provides a single point of authentication and access
> for Apache Hadoop services in a cluster",
> "versions" : [
> "1.0.0"
> ]
> },
> {
> "name" : "LOGSEARCH",
> "display_name" : "Log Search",
> "comment" : "Log aggregation, analysis, and visualization for
> Ambari managed services. This service is <b>Technical Preview</b>.",
> "versions" : [
> "0.5.0"
> ]
> },
> {
> "name" : "PIG",
> "display_name" : "Pig",
> "comment" : "Scripting platform for analyzing large datasets",
> "versions" : [
> "0.16.0"
> ]
> },
> {
> "name" : "HIVE",
> "display_name" : "Hive",
> "comment" : "Data warehouse system for ad-hoc queries & analysis
> of large datasets and table & storage management service",
> "versions" : [
> "3.0.0"
> ]
> },
> {
> "name" : "STORM",
> "display_name" : "Storm",
> "comment" : "Apache Hadoop Stream processing framework",
> "versions" : [
> "1.2.1"
> ]
> },
> {
> "name" : "HBASE",
> "display_name" : "HBase",
> "comment" : "Non-relational distributed database and centralized
> service for configuration management &\n synchronization\n ",
> "versions" : [
> "2.0.0"
> ]
> }
> ],
> "stack_version" : "3.0",
> "type" : "STANDARD",
> "validation" : [ ],
> "release" : {
> "build" : "1223",
> "compatible_with" : "3\\.\\d+\\.\\d+\\.\\d+",
> "notes" : "http://example.com",
> "version" : "3.0.0.0"
> }
> }
> }
> ]
> }
> {code}
> Request for getting stacks after creation:
> request:
> GET
> api/v1/version_definitions?fields=VersionDefinition/stack_default,VersionDefinition/stack_repo_update_link_exists,VersionDefinition/max_jdk,VersionDefinition/min_jdk,operating_systems/repositories/Repositories/*,operating_systems/OperatingSystems/*,VersionDefinition/stack_services,VersionDefinition/repository_version&VersionDefinition/show_available=true&VersionDefinition/stack_name=HDP
> Response:
> Is too long, but it has no created stack
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)