Skip to content

Commit

Permalink
Spelling.
Browse files Browse the repository at this point in the history
  • Loading branch information
jojochuang committed Dec 14, 2024
1 parent 51a4041 commit ce924a0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions cspell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ words:
- mds
- javadoc
- JVM
- distcp
# Misc words
- acking
- dashboarding
Expand All @@ -99,3 +100,5 @@ words:
- UX
- devs
- CLI
- EDEK
- skipcrccheck
6 changes: 4 additions & 2 deletions docs/04-user-guide/03-integrations/08-distcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@ The `hadoop distcp` command can be used to copy data to/from Ozone and any Hadoo
## Basic usage

To copy files from a source Ozone cluster directory to a destination Ozone cluster directory:

```bash
hadoop distcp ofs://ozone1/vol1/bucket/dir1 ofs://ozone2/vol2/bucket2/dir2
```

> You must have both ozone1 and ozone2 cluster service ID defined in ozone-site.xml configuration file.
> You must have both `ozone1` and `ozone2` cluster service ID defined in `ozone-site.xml` configuration file.
## Copy between Ozone and HDFS

Expand All @@ -23,7 +24,8 @@ hadoop distcp \
-Dozone.client.checksum.type=CRC32C \
hdfs://ns1/tmp ofs://ozone1/vol1/bucket1/dst
```
The parameter `-Ddfs.checksum.combine.mode=COMPOSITE_CRC` is not required if the HDFS cluster is on Hadoop 3.1.1 or above.

> The parameter `-Ddfs.checksum.combine.mode=COMPOSITE_CRC` is not required if the HDFS cluster is on Hadoop 3.1.1 or above.
Alternatively, skip file checksum check:

Expand Down

0 comments on commit ce924a0

Please sign in to comment.