ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitry Lysnichenko (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMBARI-14567) pluggable-stack script is not configurable (Can not deploy ambari with custom stack correctly, with out specific repos files for services)
Date Wed, 06 Jan 2016 15:44:39 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-14567?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dmitry Lysnichenko updated AMBARI-14567:
----------------------------------------
    Component/s: ambari-server

> pluggable-stack script is not configurable (Can not deploy ambari with custom stack correctly,
with out specific repos files for services)
> ------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-14567
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14567
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.2.0
>            Reporter: Dmitry Lysnichenko
>            Assignee: Dmitry Lysnichenko
>             Fix For: 2.2.1
>
>         Attachments: AMBARI-14567.patch
>
>
> *Important, As I understand:*
> Originally pluggable-stack script was designed to do following:
> * replace stack name
> * replace versions in packages and code
> *But this script is not configurable.* For example, we can't change just stack name and
version, package versions will be also changed.
> We need to refactor pluggable-stack script and define more config options to allow to
configure which replacements we will perform.
> STR:
> 1) Clone ambari sources from repository
> 2) make
> {code}
> python /home/eugene/dev/ambari/ambari-common/src/main/python/pluggable_stack_definition/GenerateStackDefinition.py
-c ${pluggableStackDefinitionConfig}  -r ${resourcesSrcLocation} -o ${pluggableStackDefinitionOutput}
> {code}
> where
> {code}
> ${pluggableStackDefinitionConfig} - way to CUSTOM.json
> ${resourcesSrcLocation} = /ambari/ambari-server/src/main/resources
> ${pluggableStackDefinitionOutput} - some directory for output
> {code}
> 3) Put custom_stack_map.json to  /ambari/ambari-common/src/main/python/pluggable_stack_definition/resources/CUSTOM
> 4) make
> {code}
> mvn versions:set -DnewVersion=2.1.3.0.0
> {code}
> for ambari and ambari-metrics
> 5) make  packages
> {code}
> mvn -B clean package rpm:rpm -Dpython.ver="python >= 2.6" -DskipTests -pl ambari-agent,ambari-web,ambari-server,ambari-admin,ambari-views,ambari-metrics/ambari-metrics-common
-Dstack.distribution=CUSTOM -DpluggableStackDefinitionConfig=/ambari/ambari-common/src/main/python/pluggable_stack_definition/configs/CUSTOM.json
> {code}
> 6) install and setup ambari from rpms
> 7) Try to deploy ambari
> *Actual results:*
> Can not deploy ambari with custom stack correctly, with out specific package  files (3_3_*)
for services.
> {code}
> resource_management.core.exceptions.Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install
'accumulo_3_3_*'' returned 1. Error: Nothing to do
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message