Skip to content

Commit dcec9e0

Browse files
unideveltdcmeehan
authored andcommitted
Fix links for executable jars
1 parent 2aaf48f commit dcec9e0

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

website/static/docs/0.295/_sources/installation/deployment.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ and specify an entry point to run the server.
522522
COPY etc /opt/presto/etc
523523
524524
# Download the Presto CLI and put it in the image
525-
RUN wget --quiet https://repo1.maven.org/maven2/com/facebook/presto/presto-cli/${PRESTO_VERSION}/presto-cli-${PRESTO_VERSION}-executable.jar
525+
RUN wget --quiet https://github.com/prestodb/presto/releases/download/${PRESTO_VERSION}/presto-cli-${PRESTO_VERSION}-executable.jar
526526
RUN mv presto-cli-${PRESTO_VERSION}-executable.jar /usr/local/bin/presto
527527
RUN chmod +x /usr/local/bin/presto
528528

website/static/docs/0.295/_static/installation/deployment.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ and specify an entry point to run the server.
522522
COPY etc /opt/presto/etc
523523
524524
# Download the Presto CLI and put it in the image
525-
RUN wget --quiet https://repo1.maven.org/maven2/com/facebook/presto/presto-cli/${PRESTO_VERSION}/presto-cli-${PRESTO_VERSION}-executable.jar
525+
RUN wget --quiet https://github.com/prestodb/presto/releases/download/${PRESTO_VERSION}/presto-cli-${PRESTO_VERSION}-executable.jar
526526
RUN mv presto-cli-${PRESTO_VERSION}-executable.jar /usr/local/bin/presto
527527
RUN chmod +x /usr/local/bin/presto
528528

website/static/docs/0.295/admin/benchmark-driver.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1393,7 +1393,7 @@ <h1 id="benchmark-driver">Benchmark Driver<a class="headerlink" href="#benchmark
13931393
<p>The benchmark driver measures the performance of queries in a Presto cluster.
13941394
It is used to continuously evaluate the performance of trunk.</p>
13951395
<h2 id="installation">Installation<a class="headerlink" href="#installation" title="Link to this heading"></a></h2>
1396-
<p>Download <a class="reference external" href="https://repo1.maven.org/maven2/com/facebook/presto/presto-benchmark-driver/0.295/presto-benchmark-driver-0.295-executable.jar">presto-benchmark-driver-0.295-executable.jar</a>.</p>
1396+
<p>Download <a class="reference external" href="https://github.com/prestodb/presto/releases/download/0.295/presto-benchmark-driver-0.295-executable.jar">presto-benchmark-driver-0.295-executable.jar</a>.</p>
13971397
<p>Rename the JAR file to <code class="docutils literal notranslate"><span class="pre">presto-benchmark-driver</span></code> with the following command
13981398
(replace <code class="docutils literal notranslate"><span class="pre">*</span></code> with the version number of the downloaded jar file):</p>
13991399
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span><code>mv presto-benchmark-driver-*-executable.jar presto-benchmark-driver
@@ -1550,4 +1550,4 @@ <h2 id="cli-arguments">CLI Arguments<a class="headerlink" href="#cli-arguments"
15501550
<script src="../_static/copybutton.js?v=f281be69"></script>
15511551

15521552
</body>
1553-
</html>
1553+
</html>

website/static/docs/0.295/cache/service.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1098,7 +1098,7 @@ <h3 id="query">Query<a class="headerlink" href="#query" title="Link to this head
10981098
</code></pre></div>
10991099
</div>
11001100
<p>Start a Prest CLI connecting to the server started in the previous step.</p>
1101-
<p>Download <a class="reference external" href="https://repo1.maven.org/maven2/com/facebook/presto/presto-cli/0.295/presto-cli-0.295-executable.jar">presto-cli-0.295-executable.jar</a>, rename it to <code class="docutils literal notranslate"><span class="pre">presto</span></code>,
1101+
<p>Download <a class="reference external" href="https://github.com/prestodb/presto/releases/download/0.295/presto-cli-0.295-executable.jar">presto-cli-0.295-executable.jar</a>, rename it to <code class="docutils literal notranslate"><span class="pre">presto</span></code>,
11021102
make it executable with <code class="docutils literal notranslate"><span class="pre">chmod</span> <span class="pre">+x</span></code>, then run it:</p>
11031103
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span><code>$ ./presto --server localhost:8080 --catalog hive --debug
11041104
presto&gt; use default;
@@ -1222,4 +1222,4 @@ <h3 id="basic-operations">Basic Operations<a class="headerlink" href="#basic-ope
12221222
<script src="../_static/copybutton.js?v=f281be69"></script>
12231223

12241224
</body>
1225-
</html>
1225+
</html>

website/static/docs/0.295/clients/presto-cli.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1311,7 +1311,7 @@ <h2 id="overview">Overview<a class="headerlink" href="#overview" title="Link to
13111311
JAR file that acts like a normal UNIX executable and communicates with the Presto server
13121312
over HTTP using <a class="reference internal" href="../develop/client-protocol.html"><span class="doc">Presto Client REST API</span></a>.</p>
13131313
<h2 id="installation">Installation<a class="headerlink" href="#installation" title="Link to this heading"></a></h2>
1314-
<p>Download <a class="reference external" href="https://repo1.maven.org/maven2/com/facebook/presto/presto-cli/0.295/presto-cli-0.295-executable.jar">presto-cli-0.295-executable.jar</a>.</p>
1314+
<p>Download <a class="reference external" href="https://github.com/prestodb/presto/releases/download/0.295/presto-cli-0.295-executable.jar">presto-cli-0.295-executable.jar</a>.</p>
13151315
<p>Rename the JAR file to <code class="docutils literal notranslate"><span class="pre">presto</span></code> with the following command
13161316
(replace <code class="docutils literal notranslate"><span class="pre">*</span></code> with the version number of the downloaded jar file):</p>
13171317
<div class="highlight-none notranslate"><div class="highlight"><pre><span></span><code>mv presto-cli-*-executable.jar presto
@@ -1598,4 +1598,4 @@ <h2 id="online-help">Online Help<a class="headerlink" href="#online-help" title=
15981598
<script src="../_static/copybutton.js?v=f281be69"></script>
15991599

16001600
</body>
1601-
</html>
1601+
</html>

website/static/docs/0.295/installation/deployment.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1738,7 +1738,7 @@ <h2 id="an-example-deployment-with-docker">An Example Deployment with Docker<a c
17381738
<span class="k">COPY</span><span class="w"> </span>etc<span class="w"> </span>/opt/presto/etc
17391739

17401740
<span class="c"># Download the Presto CLI and put it in the image</span>
1741-
<span class="k">RUN</span><span class="w"> </span>wget<span class="w"> </span>--quiet<span class="w"> </span>https://repo1.maven.org/maven2/com/facebook/presto/presto-cli/<span class="si">${</span><span class="nv">PRESTO_VERSION</span><span class="si">}</span>/presto-cli-<span class="si">${</span><span class="nv">PRESTO_VERSION</span><span class="si">}</span>-executable.jar
1741+
<span class="k">RUN</span><span class="w"> </span>wget<span class="w"> </span>--quiet<span class="w"> </span>https://github.com/prestodb/presto/releases/download/<span class="si">${</span><span class="nv">PRESTO_VERSION</span><span class="si">}</span>/presto-cli-<span class="si">${</span><span class="nv">PRESTO_VERSION</span><span class="si">}</span>-executable.jar
17421742
<span class="k">RUN</span><span class="w"> </span>mv<span class="w"> </span>presto-cli-<span class="si">${</span><span class="nv">PRESTO_VERSION</span><span class="si">}</span>-executable.jar<span class="w"> </span>/usr/local/bin/presto
17431743
<span class="k">RUN</span><span class="w"> </span>chmod<span class="w"> </span>+x<span class="w"> </span>/usr/local/bin/presto
17441744

0 commit comments

Comments
 (0)