This is an automated email from the ASF dual-hosted git repository.
vinoyang pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/asf-site by this push:
new 053c05794e2 Update docker_demo.md (#10522)
053c05794e2 is described below
commit 053c05794e29ad6af179360507f3e27e6a6b81ac
Author: Dan Roscigno <[email protected]>
AuthorDate: Sat Jan 20 02:06:40 2024 -0500
Update docker_demo.md (#10522)
* Update docker_demo.md
Based on my experience trying the demo and issue #10262 I am suggesting
that instead of using the master branch for the demo the tab 0.14.1 be used.
Additionally, the `mvn` command should specify specific versions:
`-Dscala-2.11 -Dspark2.4`
---
website/versioned_docs/version-0.14.1/docker_demo.md | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/website/versioned_docs/version-0.14.1/docker_demo.md
b/website/versioned_docs/version-0.14.1/docker_demo.md
index 0564bce20a7..ae8b232dad1 100644
--- a/website/versioned_docs/version-0.14.1/docker_demo.md
+++ b/website/versioned_docs/version-0.14.1/docker_demo.md
@@ -49,9 +49,10 @@ The first step is to build Hudi. **Note** This step builds
Hudi on default suppo
NOTE: Make sure you've cloned the [Hudi
repository](https://github.com/apache/hudi) first.
-```java
+```bash
cd <HUDI_WORKSPACE>
-mvn clean package -Pintegration-tests -DskipTests
+git checkout release-0.14.1
+mvn clean package -Pintegration-tests -DskipTests -Dscala-2.11 -Dspark2.4
```
### Bringing up Demo Cluster
@@ -134,9 +135,10 @@ $ docker ps
:::note Please note the following for Mac AArch64 users
<ul>
- <li> The demo must be built and run using the master branch. We currently
plan to include support starting with the
- 0.13.0 release. </li>
+ <li> The demo must be built and run using the release-0.14.1 tag. </li>
<li> Presto and Trino are not currently supported in the demo. </li>
+ <li> You will see warnings that there is no history server for your
architecture. You can ignore these. </li>
+ <li> You wil see the warning "Unable to load native-hadoop library for your
platform... using builtin-java classes where applicable." You can ignore this.
</li>
</ul>
:::
@@ -339,7 +341,7 @@ After executing the above command, you will notice
1. A hive table named `stock_ticks_cow` created which supports Snapshot and
Incremental queries on Copy On Write table.
2. Two new tables `stock_ticks_mor_rt` and `stock_ticks_mor_ro` created for
the Merge On Read table. The former
-supports Snapshot and Incremental queries (providing near-real time data)
while the later supports ReadOptimized queries.
+supports Snapshot and Incremental queries (providing near-real time data)
while the later supports ReadOptimized queries.
`http://namenode:50070/explorer.html#/user/hive/warehouse/stock_ticks_mor`
### Step 4 (a): Run Hive Queries