Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Hadoop SDK doc: add notice about runtime OS #154

Merged
merged 2 commits into from
Jan 29, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs/hadoop_java_sdk_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ JuiceFS Java SDK 同时兼容 Hadoop 2.x 以及 Hadoop 3.x 环境,以及 Hadoo

## 编译

你需要先安装 JDK 8+ 版本以及 Maven 工具,然后运行以下命令:
你需要先安装 Go 1.13+、JDK 8+ 以及 Maven 工具,然后运行以下命令:

```shell
$ cd sdk/java
Expand All @@ -19,7 +19,9 @@ $ make

## 部署 JuiceFS Java SDK

当编译完成后,你可以在 `sdk/java/target` 目录下找到编译好的 JAR 文件,例如 `juicefs-hadoop-ce-0.9-beta.jar`。注意带有 `original-` 前缀的 JAR 文件是不包含第三方依赖的,推荐使用包含第三方依赖的 JAR 文件。
当编译完成后,你可以在 `sdk/java/target` 目录下找到编译好的 JAR 文件,例如 `juicefs-hadoop-0.10.0.jar`。注意带有 `original-` 前缀的 JAR 文件是不包含第三方依赖的,推荐使用包含第三方依赖的 JAR 文件。

**注意:编译后的 JAR 文件只能部署在相同的系统环境中,例如在 Linux 中编译则只能用于 Linux 环境。**

然后将对应的 JAR 文件放到 Hadoop 生态各组件的 classpath 里。常见路径如下,建议将 JAR 文件放置在一个地方,然后其他地方均通过符号链接的方式放置。

Expand Down