<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: HDF 3.0.2 Sandbox docker version download URL required. in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/HDF-3-0-2-Sandbox-docker-version-download-URL-required/m-p/309952#M223970</link>
    <description>&lt;P&gt;I have tried to change hdf version to 3.0.2 to download and get it deployed automatically. but same did not happen and thrown an error of latest version existing. i need both version with cda in docker&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#!/usr/bin/env sh&lt;BR /&gt;#This script downloads HDF sandbox along with their proxy docker container&lt;BR /&gt;set -x&lt;/P&gt;&lt;P&gt;# CAN edit these values&lt;BR /&gt;registry="hortonworks"&lt;BR /&gt;name="sandbox-hdf-302"&lt;BR /&gt;version="3.0.2"&lt;BR /&gt;flavor="hdf"&lt;BR /&gt;proxyName="sandbox-proxy"&lt;BR /&gt;proxyVersion="1.0"&lt;/P&gt;&lt;P&gt;# NO EDITS BEYOND THIS LINE&lt;/P&gt;&lt;P&gt;# create necessary folders for nginx and copy over our rule generation script there&lt;BR /&gt;echo $flavor &amp;gt; sandbox-flavor&lt;BR /&gt;mkdir -p sandbox/proxy/conf.d&lt;BR /&gt;mkdir -p sandbox/proxy/conf.stream.d&lt;/P&gt;&lt;P&gt;# pull and tag the sandbox and the proxy container&lt;BR /&gt;docker pull "$registry/$name:$version"&lt;BR /&gt;docker pull "$registry/$proxyName:$proxyVersion"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;# start the docker container and proxy&lt;BR /&gt;if [ "$flavor" == "hdf" ]; then&lt;BR /&gt;hostname="sandbox-hdf.hortonworks.com"&lt;BR /&gt;elif [ "$flavor" == "hdp" ]; then&lt;BR /&gt;hostname="sandbox-hdp.hortonworks.com"&lt;BR /&gt;fi&lt;/P&gt;&lt;P&gt;version=$(docker images | grep hortonworks/$name | awk '{print $2}');&lt;/P&gt;&lt;P&gt;# Create cda docker network&lt;BR /&gt;docker network create cda 2&amp;gt;/dev/null&lt;/P&gt;&lt;P&gt;# Deploy the sandbox into the cda docker network&lt;BR /&gt;docker run --privileged --name $name -h $hostname --network=cda --network-alias=$hostname -d "$registry/$name:$version"&lt;/P&gt;&lt;P&gt;echo "Remove existing postgres run files. Please wait..."&lt;BR /&gt;sleep 2&lt;BR /&gt;docker exec -t "$name" sh -c "rm -rf /var/run/postgresql/*; systemctl restart postgresql;"&lt;/P&gt;&lt;P&gt;# Deploy the proxy container.&lt;BR /&gt;sed 's/sandbox-hdf-standalone-cda-ready/sandbox-hdf/g' assets/generate-proxy-deploy-script.sh &amp;gt; assets/generate-proxy-deploy-script.sh.new&lt;BR /&gt;mv -f assets/generate-proxy-deploy-script.sh.new assets/generate-proxy-deploy-script.sh&lt;BR /&gt;chmod +x assets/generate-proxy-deploy-script.sh&lt;BR /&gt;assets/generate-proxy-deploy-script.sh 2&amp;gt;/dev/null&lt;BR /&gt;#check to see if it's windows&lt;BR /&gt;if uname | grep MINGW; then&lt;BR /&gt;sed -i -e 's/\( \/[a-z]\)/\U\1:/g' sandbox/proxy/proxy-deploy.sh&lt;BR /&gt;fi&lt;BR /&gt;chmod +x sandbox/proxy/proxy-deploy.sh 2&amp;gt;/dev/null&lt;BR /&gt;sandbox/proxy/proxy-deploy.sh&lt;/P&gt;</description>
    <pubDate>Mon, 18 Jan 2021 18:05:09 GMT</pubDate>
    <dc:creator>SurajP</dc:creator>
    <dc:date>2021-01-18T18:05:09Z</dc:date>
  </channel>
</rss>

