Step 4: Link the mpack on the Apache Ambari server
curl -u <user>:<password> \ http://<server>:<port>/api/v1/links/ \ -H 'X-Requested-By: ambari' -X POST \ -d ' { "ExtensionLink": { "stack_name": "HDP", "stack_version":"<hdp_stack_version>", "extension_name": "ldo", "extension_version": "1.0.0.0" } }'curl -u <user>:<password> \ http://<server>:<port>/api/v1/clusters/<cluster_name>/stack_versions
curl -u <user>:<password> \ http://<server>:<port>/api/v1/links/{ "href" : "http://<server>:<port>/api/v1/links/", "items" : [ { "href" : "http://<server>:<port>/api/v1/links/1", "ExtensionLink" : { "extension_name" : "ldo", "extension_version" : "1.0.0.0", "link_id" : 1, "stack_name" : "HDP", "stack_version" : "3.1" } } ] }
Last updated
Was this helpful?

