You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2020/01/17 08:39:51 UTC
[GitHub] [incubator-hudi] vinothchandar opened a new pull request #1241:
[HUDI-537] Introduce `repair overwrite-hoodie-props` CLI command
vinothchandar opened a new pull request #1241: [HUDI-537] Introduce `repair overwrite-hoodie-props` CLI command
URL: https://github.com/apache/incubator-hudi/pull/1241
## *Tips*
- *Thank you very much for contributing to Apache Hudi.*
- *Please review https://hudi.apache.org/contributing.html before opening a pull request.*
## What is the purpose of the pull request
*(For example: This pull request adds quick-start document.)*
## Brief change log
*(for example:)*
- *Modify AnnotationLocation checkstyle rule in checkstyle.xml*
## Verify this pull request
```
Welcome to Apache Hudi CLI. Please type help if you are looking for help.
hudi->connect --path file:///tmp/hudi_cow_table
31342 [Spring Shell] INFO org.apache.hudi.common.table.HoodieTableMetaClient - Loading HoodieTableMetaClient from file:///tmp/hudi_cow_table
31433 [Spring Shell] WARN org.apache.hadoop.util.NativeCodeLoader - Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
31624 [Spring Shell] INFO org.apache.hudi.common.util.FSUtils - Hadoop Configuration: fs.defaultFS: [file:///], Config:[Configuration: core-default.xml, core-site.xml, mapred-default.xml, mapred-site.xml, yarn-default.xml, yarn-site.xml, hdfs-default.xml, hdfs-site.xml], FileSystem: [org.apache.hadoop.fs.LocalFileSystem@7fc13738]
31629 [Spring Shell] INFO org.apache.hudi.common.table.HoodieTableConfig - Loading table properties from file:/tmp/hudi_cow_table/.hoodie/hoodie.properties
31651 [Spring Shell] INFO org.apache.hudi.common.table.HoodieTableMetaClient - Finished Loading Table of type COPY_ON_WRITE(version=org.apache.hudi.common.model.TimelineLayoutVersion@20) from file:///tmp/hudi_cow_table
Metadata for table hudi_cow_table loaded
hudi:hudi_cow_table->repair overwrite-hoodie-props --new-props-file /tmp
optional --new-props-file: Path to a properties file on local filesystem to overwrite the table's hoodie.properties with; no default value
hudi:hudi_cow_table->repair overwrite-hoodie-props --new-props-file /tmp/hoodie-new.props
╔═════════════════════════════════╤════════════════╤═════════════════════════════════════════════════════════════╗
║ Property │ Old Value │ New Value ║
╠═════════════════════════════════╪════════════════╪═════════════════════════════════════════════════════════════╣
║ hoodie.archivelog.folder │ archived │ archived ║
╟─────────────────────────────────┼────────────────┼─────────────────────────────────────────────────────────────╢
║ hoodie.compaction.payload.class │ null │ org.apache.hudi.common.model.OverwriteWithLatestAvroPayload ║
╟─────────────────────────────────┼────────────────┼─────────────────────────────────────────────────────────────╢
║ hoodie.table.name │ hudi_cow_table │ hudi_cow_table ║
╟─────────────────────────────────┼────────────────┼─────────────────────────────────────────────────────────────╢
║ hoodie.table.type │ COPY_ON_WRITE │ MERGE_ON_READ ║
╟─────────────────────────────────┼────────────────┼─────────────────────────────────────────────────────────────╢
║ hoodie.timeline.layout.version │ null │ 1 ║
╚═════════════════════════════════╧════════════════╧═════════════════════════════════════════════════════════════╝
hudi:hudi_cow_table->
```
## Committer checklist
- [ ] Has a corresponding JIRA in PR title & commit
- [ ] Commit message is descriptive of the change
- [ ] CI is green
- [ ] Necessary doc changes done or have another open PR
- [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [incubator-hudi] vinothchandar merged pull request #1241:
[HUDI-537] Introduce `repair overwrite-hoodie-props` CLI command
Posted by GitBox <gi...@apache.org>.
vinothchandar merged pull request #1241: [HUDI-537] Introduce `repair overwrite-hoodie-props` CLI command
URL: https://github.com/apache/incubator-hudi/pull/1241
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services