- android - RelativeLayout 背景可绘制重叠内容
- android - 如何链接 cpufeatures lib 以获取 native android 库?
- java - OnItemClickListener 不起作用,但 OnLongItemClickListener 在自定义 ListView 中起作用
- java - Android 文件转字符串
我目前正在为一个内部项目评估 Hadoop 1.0.2。
Hadoop 文档是这么说的
有关于这三个选项是什么以及它们做什么的信息,但我找不到关于这三个选项中哪一个是推荐的信息 在什么情况下。
最佳答案
基本上,检查点节点是二级名称节点的新实现,备份点是名称节点热备份途中的临时版本(此外,它目前可以通过分离读写来提供小的性能提升- 读入名称节点,写入备份节点
来自 Backupnode documentation正如 Konstantin Shvachko 所解释的:
This patch introduces two new types of name-nodes: a Checkpoint node and a Backup node.
- The role of the Checkpoint node to checkpoint name-node meta-data by merging image and edits files.
- The Backup node extends functionality of the Checkpointer by that it can receive online updates of the file system meta-data, apply them to its memory state and persist them on disks just like the name-node does. Thus at any time the Backup node contains an up-to-date image of the namespace both in memory and on local disk(s). This also results in much more efficient checkpointing because backup node does not need to transfer files from the active name-node and does not need to replay (merge) edits.
- The Term Standby node is reserved for further extension of the backup node functionality, when cluster will be able to switch over to the new name-node if the active dies. This is mentioned in the "Warm standby provision" section of the design document.
Typical use cases:
- Run Checkpoint node only to create checkpoints. This should be used instead of the current SecondaryNameNode, which is deprecated by the patch. I reused a lot of the SecondaryNameNode code so this effort was not wasted, it just evolved.
- Run Backup node to support online streaming of edits and efficient checkpointing. This particularly targets eliminating NFS as a remote storage for edits.
- Run NameNode without persistent storage at all and delegate all "persisting" functionality to the Backup node. The trick here is to start name-node with -importCheckpoint option and then run the Backup node.
关于hadoop - 使用 Hadoop NameNode、Checkpoint Node 和 Backup Node 的优缺点是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10424718/
BACKUP 无法完成命令 BACKUP DATABASE ... WITH DIFFERENTIAL。检查备份应用程序日志以获取详细消息。 我在 SQL Server 日志文件查看器中看到了这条消息
备份 VMWare 服务器 (1.0.x) 的最佳方法是什么? 有问题的虚拟机是我们的开发环境,与主网络隔离运行(因此您不能只是将数据从虚拟服务器复制到真实服务器)。 镜像文件通常在使用中,并且在服务
正如问题所述,我有一个实际 iPhone 的备份。现在我想要模拟器中内容的“副本”。原因是我的真实 iPhone 包含第三方应用程序数据,我也希望在模拟器中拥有这些数据。 这可能吗? 谢谢,诺伯特 最
我在 Debian 系统上工作,其中运行着 PostgreSQL 服务器。我修改了一个备份脚本并安装了一个 cron 作业来对我们的数据库进行每小时备份,并将其存储在一个文件夹中。与此同时,还会执行一
我正在尝试从备份 (.bak) 文件恢复数据库,该文件[保存]在 ZIP 文件内,但到目前为止尚未成功。不过,我可以在从 ZIP 文件中解压后恢复它。 这个MS page表示 SQL Server 2
我想在同一台机器内创建我的 sql server 2008 r2 数据库(名为 ERP)的副本。所以我做了以下步骤:- 我右键单击原始数据库 ERP,然后选择 Tasks>>Backup。 然后我创建
我尝试使用我的应用程序,其中包含 Android Backup Service 的用法在 Android Emulator 上使用我自己的 BackupAgent。但是备份不起作用,尽管在 And
当我尝试使用 pyodbc 和 freetds 从 Linux 主机备份 MSSQL 数据库时,我目前遇到了一些问题。版本如下: Python 2.7.6、pyodbc 3.0.7、freetds 0
我正在使用 rsync 运行备份,在此期间创建了一个日志文件。但是,我不知道缩写是什么意思。这是日志文件的示例: 2016/11/15 15:17:53 [4906] building file li
我有一个问题。 Duplicity 非常适合备份,我非常喜欢能够进行增量 diff tars,但是......当恢复 duplicity 时似乎不适用相同的概念。 基本上我只需要恢复更改的文件(显然是
问题: 客户 X 正在(考虑)将他以前“仅限 Windows”的共享软件应用程序之一移植到 Mac OS X。他关心的问题之一是如何强制执行 30 天试用期并使其不受“系统回滚”软件的影响比如时光机。
我一直试图让口是心非的备份到谷歌驱动器。但看起来它仍在使用旧的客户端 API。 我发现一些线程说应该支持新的 API,但没有太多关于如何让它工作的细节。 我编译和使用了duplicity 7.0.3,
我们正在寻求为ouchdb数据库创建常规备份,以备不时之需。获取这些内容的最不侵入方式是什么?理想情况下,不中断或不显着降低现有数据库服务器的性能? 最佳答案 您可以只复制CouchDB数据库文件。阅
Closed. This question does not meet Stack Overflow guidelines。它当前不接受答案。 想改善这个问题吗?更新问题,以便将其作为on-topic
我知道--ignore-existing选项,想知道是否有些不同。 我的情况是:我有一个带有大量用户上传图片的Web服务器。现在大约2TB。通常,这些文件根本不会被修改。我使用rsync并将其备份到其
我对docker compose文件中的命名卷的功能有些困惑,特别是在备份/还原我的应用程序时。 我实际上正在测试此dockercompose文件: version: '2'
关闭。这个问题是opinion-based 。目前不接受答案。 想要改进这个问题吗?更新问题,以便 editing this post 可以用事实和引文来回答它。 . 已关闭 9 年前。 Improv
我们使用的是 Teamcity 6.5.6 专业版,它为我提供了运行备份的选项,但我没有看到任何将其安排到特定时间的选项。 我不确定这个版本的 teamcity 是否支持计划备份。如果通过teamci
我正在阅读 Keycloak 的 export operation 的文档为了设置备份操作(例如通过 cron 作业),它所说的是在服务器启动期间发生导出: Export and import is
对于允许将单个 riak 存储桶备份[通过流式传输或快照]到文件的解决方案,您有何建议? 最佳答案 在 Riak 中仅备份单个存储桶将是一项困难的操作。 所有解决方案都归结为以下两个步骤: 列出存储桶
我是一名优秀的程序员,十分优秀!