This is an automated email from the ASF dual-hosted git repository. dkuzmenko pushed a commit to branch gh-pages in repository https://gitbox.apache.org/repos/asf/hive-site.git
commit 04a7f5b9e3725b16d5002b8ca671edc65b3a36ea Author: Denys Kuzmenko <[email protected]> AuthorDate: Tue Apr 2 19:24:53 2024 +0200 Added repl commands --- themes/hive/layouts/partials/features.html | 1 + themes/hive/layouts/partials/repl.html | 31 ++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/themes/hive/layouts/partials/features.html b/themes/hive/layouts/partials/features.html index 20deaac..8938cb9 100644 --- a/themes/hive/layouts/partials/features.html +++ b/themes/hive/layouts/partials/features.html @@ -171,6 +171,7 @@ <div class="row divs"> <div class="col-md"> + {{- partial "repl.html" . -}} </div> <div class="col-md feature-border"> <h2 class="topic-text-style">Hive Replication</h2> diff --git a/themes/hive/layouts/partials/repl.html b/themes/hive/layouts/partials/repl.html new file mode 100644 index 0000000..d950b7e --- /dev/null +++ b/themes/hive/layouts/partials/repl.html @@ -0,0 +1,31 @@ +<!--- + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. --> + +<explain> + <div id="repl" data-termynal data-termynal data-ty-typeDelay="40" data-ty-lineDelay="700"> + <span data-ty="input">jdbc:hive2://> repl dump src with (</span> + <span data-ty="input">. . . . . . .> 'hive.repl.dump.version'= '2',</span> + <span data-ty="input">. . . . . . .> 'hive.repl.rootdir'= 'hdfs://<host>:<port>/user/hive/replDir/d1'</span> + <span data-ty="input">. . . . . . .> );</span> + <span data-ty>Done!</span> + <span data-ty="input">jdbc:hive2://> repl load src into tgt with (</span> + <span data-ty="input">. . . . . . .> 'hive.repl.rootdir'= 'hdfs://<host>:<port>/user/hive/replDir/d1'</span> + <span data-ty="input">. . . . . . .> );</span> + <span data-ty>Done!</span> + </div> +</explain>
