1. 迁移hdfs,使用hadoop 命令

hadoop distcp -pugp  hdfs://localhost:9000/ hdfs://localhost:9000/

此处示例仅作说明用

 

2. 迁移hive。hive的metastore使用的是PostgreSQL,迁移后使用 MySQL。

在迁移 hdfs 的过程中,hive的实际的数据实际已经迁移了,剩下要迁移的是 metastore。

 

相关文章:

  • 2021-10-05
  • 2022-12-23
  • 2022-12-23
  • 2022-01-17
  • 2022-12-23
  • 2021-09-18
  • 2021-10-28
  • 2021-12-31
猜你喜欢
  • 2021-05-27
  • 2021-06-08
  • 2021-08-16
  • 2022-12-23
  • 2021-08-06
  • 2021-04-24
  • 2022-12-23
相关资源
相似解决方案