Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit 4a9c5b4

Browse files
committed
Updated Cloudera versions to refelect what is currently available in the public archive.
Note that this repository is not maintained on a frequent basis - these values may need to be updated quarterly to reflect what is not behind the Cloudera paywall. Refer to https://archive.cloudera.com/cdh7/ and ensure both schema.yaml and variables.tf reflect the appropriate version which is currently available. Failure to download parcels during deployment is a symptom of this version URL being incorrect - it's dynamically generated based on the values in the two files mentioned above. Also added the Deploy to OCI magic button, and updated OS images to refer to latest.
1 parent 304bed8 commit 4a9c5b4

File tree

3 files changed

+46
-36
lines changed

3 files changed

+46
-36
lines changed

README.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,19 @@ The following table shows Recommended and Minimum supported OCI shapes for each
1818
| Minimum | VM.Standard2.8 | VM.Standard2.1 | VM.Standard2.8 |
1919

2020
## Resource Manager Deployment
21-
This Quick Start uses [OCI Resource Manager](https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm) to make deployment quite easy. Simply [download the latest .zip](https://github.com/oracle-quickstart/oci-cloudera/archive/master.zip) and follow the [Resource Manager instructions](https://docs.cloud.oracle.com/en-us/iaas/Content/ResourceManager/Tasks/managingstacksandjobs.htm) for how to build a stack. Prior to building the Stack, you may want to modify some parts of the deployment detailed in the sections below.
21+
This Quick Start uses [OCI Resource Manager](https://docs.cloud.oracle.com/iaas/Content/ResourceManager/Concepts/resourcemanager.htm) to make deployment quite easy.
2222

23-
It is highly suggested you use the included schema file to make deployment even easier. In order to leverage this feature, the GitHub zip must be repackaged so that it's contents are top-level prior to creating the ORM Stack. This is a straight forward process:
24-
25-
unzip oci-cloudera-master.zip
26-
cd oci-cloudera-master
27-
zip -r oci-cloudera-orm.zip *
28-
29-
Use the `oci-cloudera-orm.zip` file created in the last step to create the ORM Stack. The schema file can even be customized for your use, enabling you to build a set of approved variables for deployment.
23+
Simply click this button to deploy to OCI.
24+
[![Deploy to Oracle Cloud](https://oci-resourcemanager-plugin.plugins.oci.oraclecloud.com/latest/deploy-to-oracle-cloud.svg)](https://console.us-ashburn-1.oraclecloud.com/resourcemanager/stacks/create?region=home&zipUrl=https://github.com/oracle-quickstart/oci-cloudera/archive/3.3.0.zip)
3025

3126
This template uses Terraform v0.12, and has support to target existing VCN/Subnets for cluster deployment. To engage this functionality, just use the Schema menu system to select an existing VCN target, then select appropriate Subnets for each cluster host type.
3227

3328
If you deploy Cloudera Manager to a private subnet, you will require a VPN or SSH Tunnel through an edge node to access cluster management.
3429

3530
Once the deployment is complete you can access Cloudera manager at `http://<some IP address>:7180/cmf/login`.
3631

32+
Cluster Provisioning is executed on the Utility host using CloudInit. That activity is logged in /var/log/cloudera-OCI-initialize.log. This log file can be used to triage cluster setup issues.
33+
3734
![](images/01%20-%20manager.png)
3835

3936
The default username is `cm_admin` and the default password is `changeme`. You should see a cluster up and running like this:

schema.yaml

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ groupings:
5858
- and:
5959
- eq:
6060
- ${cloudera_version}
61-
- "7.1.4.0"
61+
- "7.1.7.0"
6262
- and:
6363
- not:
6464
- eq:
@@ -172,11 +172,20 @@ variables:
172172
- "6.2.0"
173173
- "6.3.0"
174174
- "6.3.1"
175+
- "7.0.3"
176+
- "7.1.1"
177+
- "7.1.2"
178+
- "7.1.3"
175179
- "7.1.4"
180+
- "7.2.4"
181+
- "7.2.6"
182+
- "7.3.1"
183+
- "7.4.4"
184+
- "7.5.1"
176185
title: "Cloudera Manager Version"
177186
description: "Choose the version of Cloudera Manager to deploy, CDP requires 7.1.4"
178187
required: true
179-
default: "7.1.4"
188+
default: "7.5.1"
180189

181190
cloudera_version:
182191
type: enum
@@ -195,11 +204,11 @@ variables:
195204
- "6.2.0"
196205
- "6.2.1"
197206
- "6.3.2"
198-
- "7.1.4.0"
207+
- "7.1.7.0"
199208
title: "Cluster Version"
200209
description: "Choose the version of CDH to deploy, for CDP choose 7.1.4.0"
201210
required: true
202-
default: "7.1.4.0"
211+
default: "7.1.7.0"
203212

204213
cluster_name:
205214
type: string

variables.tf

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,11 @@ variable "enable_secondary_vnic" {
131131

132132
# Cloudera Manager Version
133133
variable "cm_version" {
134-
default = "7.1.4"
134+
default = "7.5.1"
135135
}
136136
# Cloudera Enterprise Data Hub Version
137137
variable "cloudera_version" {
138-
default = "7.1.4.0"
138+
default = "7.1.7.0"
139139
}
140140
variable "secure_cluster" {
141141
default = "True"
@@ -325,31 +325,35 @@ variable "CentOSImageOCID" {
325325
}
326326

327327

328-
// See https://docs.cloud.oracle.com/en-us/iaas/images/image/957e74db-0375-4918-b897-a8ce93753ad9/
329-
// Oracle-provided image "Oracle-Linux-7.7-2020.02.21-0"
330-
// Kernel Version: 4.14.35-1902.10.4.el7uek.x86_64
328+
// See https://docs.oracle.com/en-us/iaas/images/image/7e0c4acd-2642-4f65-96ff-8c820f206d09/
329+
// Oracle-provided image "Oracle-Linux-7.9-2021.10.04-0"
330+
331331
variable "OELImageOCID" {
332332
type = "map"
333333
default = {
334-
ap-melbourne-1 = "ocid1.image.oc1.ap-melbourne-1.aaaaaaaavpiybmiqoxcohpiih2gasjgqpsiyz4ggylyhhitmrmf3j2ycucrq"
335-
ap-mumbai-1 = "ocid1.image.oc1.ap-mumbai-1.aaaaaaaarrsp6bazleeeghz6jcifatswozlqkoffzwxzbt2ilj2f65ngqi6a"
336-
ap-osaka-1 = "ocid1.image.oc1.ap-osaka-1.aaaaaaaafa5rhs2n3dyuncddh5oynk6gisvotvcvch3e6xwplji7phwtbqqa"
337-
ap-seoul-1 = "ocid1.image.oc1.ap-seoul-1.aaaaaaaadrnhec6655uedkshgcklewzikoqcwr65sevbu27z7vzagniihfha"
338-
ap-sydney-1 = "ocid1.image.oc1.ap-sydney-1.aaaaaaaaplq4fjdnoooudaqwgzaidh6r3lp3xdhqulx454jivy33t53hokga"
339-
ap-tokyo-1 = "ocid1.image.oc1.ap-tokyo-1.aaaaaaaa5mpgmnwqwacey5gvczawugmo3ldgrjqnleckmnsokrqytcfkzspa"
340-
ca-montreal-1 = "ocid1.image.oc1.ca-montreal-1.aaaaaaaaevu23evecil3r23q5illjliinkpyvtkbdq5nsxmcfqypvlewytra"
341-
ca-toronto-1 = "ocid1.image.oc1.ca-toronto-1.aaaaaaaai25l5mqlzvhjzxvb5n4ullqu333bmalyyg3ki53vt24yn6ld7pra"
342-
eu-amsterdam-1 = "ocid1.image.oc1.eu-amsterdam-1.aaaaaaaayd4knq4bdh23zqgatgjhoajiz3mx4fy3oy62e5f45ll7trwak5ga"
343-
eu-frankfurt-1 = "ocid1.image.oc1.eu-frankfurt-1.aaaaaaaa4cmgko5la45jui5cuju7byv6dgnfnjbxhwqxaei3q4zjwlliptuq"
344-
eu-zurich-1 = "ocid1.image.oc1.eu-zurich-1.aaaaaaaa4nwf5h6nl3u5cdauemg352itja6izecs7ol73z6jftsg4agpdsma"
345-
me-jeddah-1 = "ocid1.image.oc1.me-jeddah-1.aaaaaaaazrvioeng7va7w4qsuqny4jtxbvnxlf5hu7g2twn6rcwdu35u4riq"
346-
sa-saopaulo-1 = "ocid1.image.oc1.sa-saopaulo-1.aaaaaaaalfracz4kuew4yxvgydpnbitip6qsreaz7kpxlkr4p67ravvi4jnq"
347-
uk-gov-london-1 = "ocid1.image.oc4.uk-gov-london-1.aaaaaaaaslh4pip7u6iopbpxujy2twi7diqrs6kfvqfhkl27esdadkqa76mq"
348-
uk-london-1 = "ocid1.image.oc1.uk-london-1.aaaaaaaa2uwbd457cd2gtviihmxw7cqfmqcug4ahdg7ivgyzla25pgrn6soa"
349-
us-ashburn-1 = "ocid1.image.oc1.iad.aaaaaaaavzjw65d6pngbghgrujb76r7zgh2s64bdl4afombrdocn4wdfrwdq"
350-
us-langley-1 = "ocid1.image.oc2.us-langley-1.aaaaaaaauckkms7acrl6to3cuhmv6hfjqwlnoxzuzophaose7pi2sfk4dzna"
351-
us-luke-1 = "ocid1.image.oc2.us-luke-1.aaaaaaaadxeycutztmvaeefvilc57lfqool2rlgl2r34juyu4jkbodx2xspq"
352-
us-phoenix-1 = "ocid1.image.oc1.phx.aaaaaaaacy7j7ce45uckgt7nbahtsatih4brlsa2epp5nzgheccamdsea2yq"
334+
ap-chuncheon-1 = "ocid1.image.oc1.ap-chuncheon-1.aaaaaaaanfughyhlrkcwluddtuisqp5idqhoz2e6yrsmnaxk3b7adlneizkq"
335+
ap-hyderabad-1 = "ocid1.image.oc1.ap-hyderabad-1.aaaaaaaabdukecj2l3hkplgu3zq7cja7pjqdiiu4vtltzyjwkojw3mqhtfya"
336+
ap-melbourne-1 = "ocid1.image.oc1.ap-melbourne-1.aaaaaaaaz5bdk2vrwlghroyfmsw22nqso52dsijzfvwyj2jthvekksbtmyra"
337+
ap-mumbai-1 = "ocid1.image.oc1.ap-mumbai-1.aaaaaaaagwbhu75joxgdn6cwilubuftqiutuy33xxu77c6zemtfldm23eslq"
338+
ap-osaka-1 = "ocid1.image.oc1.ap-osaka-1.aaaaaaaayq5v6m7qddhnwmdzav3noqanyrssokijolnjwgbewumgno5dg3ra"
339+
ap-seoul-1 = "ocid1.image.oc1.ap-seoul-1.aaaaaaaa5xfn4bmyde3rpmavpmyordhe6rs4siuquwigkwrtbszlkrjqp45q"
340+
ap-sydney-1 = "ocid1.image.oc1.ap-sydney-1.aaaaaaaaz5me7ycjpe6orq4xfgbfsvqwrc24ozhhvlpwbophf2qo7fiya44q"
341+
ap-tokyo-1 = "ocid1.image.oc1.ap-tokyo-1.aaaaaaaajns45jevzrv2ibtn6utyzpqr4oblqiwylzzmc53cshhcsvnt6aha"
342+
ca-montreal-1 = "ocid1.image.oc1.ca-montreal-1.aaaaaaaaciwparrvtjlonsx2dpzgpb3s27vegtczuw5ww3by6d3sm67nwdxa"
343+
ca-toronto-1 = "ocid1.image.oc1.ca-toronto-1.aaaaaaaa3hkkn5phegzsh3ikli5ju5ymygp6rqvl7e2ippjbrvtzoooeeumq"
344+
eu-amsterdam-1 = "ocid1.image.oc1.eu-amsterdam-1.aaaaaaaaufw7ml3y5m46miwihosq7h72o3n6kwndggqzz7edzwbun3ok3ypq"
345+
eu-frankfurt-1 = "ocid1.image.oc1.eu-frankfurt-1.aaaaaaaanw7ldk5drfpfqtianagutbipglptmu43iwanj2rmdxkqowecvcwa"
346+
eu-zurich-1 = "ocid1.image.oc1.eu-zurich-1.aaaaaaaa5rdszqyu25mqdnxxgluqeir2xrn2up75o227tnqk6zlp23ly325q"
347+
me-dubai-1 = "ocid1.image.oc1.me-dubai-1.aaaaaaaahautqpyy47fq4r6ekyzowd623icsat7bl2ya7dxg6dtdl6i424vq"
348+
me-jeddah-1 = "ocid1.image.oc1.me-jeddah-1.aaaaaaaa4fijw22qksb2xyfmovnoxwp2asxke5ppcg37iqdc6tb43lui2ipa"
349+
sa-santiago-1 = "ocid1.image.oc1.sa-santiago-1.aaaaaaaajejucvyg7jrsnvdp4jrdxybcfk7wvgn56t544ugh75uuuyor34ha"
350+
sa-saopaulo-1 = "ocid1.image.oc1.sa-saopaulo-1.aaaaaaaamka2yowr6jcoqdpl5gbaveal4gl3llfqfordz5zqvf2djts4yxra"
351+
sa-vinhedo-1 = "ocid1.image.oc1.sa-vinhedo-1.aaaaaaaala3gk3rn677mbqxx7s6plka5aztx6msjuzvb6s73wrhe3ckl6zja"
352+
uk-cardiff-1 = "ocid1.image.oc1.uk-cardiff-1.aaaaaaaavm2td6uswb4mskicwehtznstk36regjn4out5ywqksrekmnepuva"
353+
uk-london-1 = "ocid1.image.oc1.uk-london-1.aaaaaaaaqetdbotutgsdclw3ainkbcql33qwood6tj4yhq6xfscthtc6akqq"
354+
us-ashburn-1 = "ocid1.image.oc1.iad.aaaaaaaakjvsts7rf7umrlqtw5hbhc3gjotadu7thfn5cfathwdn3awht7ca"
355+
us-phoenix-1 = "ocid1.image.oc1.phx.aaaaaaaahmjqvzmd4aja4q5c47ustlgsw23j6afwhsqe5o354bnmdlgleaza"
356+
us-sanjose-1 = "ocid1.image.oc1.us-sanjose-1.aaaaaaaadthwf7yo6unsgqborhu5yw4klpr5i6ee4j6ipjfablz5kqrbvata"
353357
}
354358
}
355359

0 commit comments

Comments
 (0)