[
https://issues.apache.org/jira/browse/AMBARI-17465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tim Thorpe updated AMBARI-17465:
--------------------------------
Description:
Currently management packs (AMBARI-14854) can only add stacks and addon
services. Now that AMBARI-12885 has been resolved, the management packs should
be able to add extensions as well. This would allow the following mpack.json:
{
"type" : "fullrelease",
"name" : "MyExtension",
"version": "1.0.0.0",
"description" : "My Management Pack",
"prerequisites": {
"minambariversion" : "2.4"
},
"artifacts": [
{
"name" : "EXT-extension",
"type" : "extension-definition",
"source_dir": "extensions/EXT/1.0",
"extension_name" : "EXT",
"extension_version" : "1.0"
}
]
}
myext-mpack1.0.0.0
├── mpack.json
└── extensions
└── EXT
└── 1.0
└── metainfo.xml
└── services
└── HAWQ
└── metainfo.xml
└── PXF
└── metainfo.xml
It could then be installed with the following command:
ambari-server install-mpack --mpack=/tmp/myext-mpack1.0.0.0.tar.gz -v
was:
Currently management packs can only add stacks and addon services. Now that
AMBARI-12885 has been resolved, the management packs should be able to add
extensions as well. This would allow the following mpack.json:
{
"type" : "fullrelease",
"name" : "MyExtension",
"version": "1.0.0.0",
"description" : "My Management Pack",
"prerequisites": {
"minambariversion" : "2.4"
},
"artifacts": [
{
"name" : "EXT-extension",
"type" : "extension-definition",
"source_dir": "extensions/EXT/1.0",
"extension_name" : "EXT",
"extension_version" : "1.0"
}
]
}
myext-mpack1.0.0.0
├── mpack.json
└── extensions
└── EXT
└── 1.0
└── metainfo.xml
└── services
└── HAWQ
└── metainfo.xml
└── PXF
└── metainfo.xml
It could then be installed with the following command:
ambari-server install-mpack --mpack=/tmp/myext-mpack1.0.0.0.tar.gz -v
> Management packs should be able to install extensions
> -----------------------------------------------------
>
> Key: AMBARI-17465
> URL: https://issues.apache.org/jira/browse/AMBARI-17465
> Project: Ambari
> Issue Type: Improvement
> Components: ambari-server
> Affects Versions: 2.4.0
> Reporter: Tim Thorpe
> Assignee: Tim Thorpe
>
> Currently management packs (AMBARI-14854) can only add stacks and addon
> services. Now that AMBARI-12885 has been resolved, the management packs
> should be able to add extensions as well. This would allow the following
> mpack.json:
> {
> "type" : "fullrelease",
> "name" : "MyExtension",
> "version": "1.0.0.0",
> "description" : "My Management Pack",
> "prerequisites": {
> "minambariversion" : "2.4"
> },
> "artifacts": [
> {
> "name" : "EXT-extension",
> "type" : "extension-definition",
> "source_dir": "extensions/EXT/1.0",
> "extension_name" : "EXT",
> "extension_version" : "1.0"
> }
> ]
> }
> myext-mpack1.0.0.0
> ├── mpack.json
> └── extensions
> └── EXT
> └── 1.0
> └── metainfo.xml
> └── services
> └── HAWQ
> └── metainfo.xml
> └── PXF
> └── metainfo.xml
> It could then be installed with the following command:
> ambari-server install-mpack --mpack=/tmp/myext-mpack1.0.0.0.tar.gz -v
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)