⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 unregistereddatanodeexception.java

📁 hadoop:Nutch集群平台
💻 JAVA
字号:
package org.apache.hadoop.dfs;import java.io.IOException;/** * This exception is thrown when a datanode that has not previously  * registered is trying to access the name node. *  * @author Konstantin Shvachko */class UnregisteredDatanodeException extends IOException {  public UnregisteredDatanodeException( DatanodeID nodeID ) {    super("Unregistered data node: " + nodeID.getName() );  }  public UnregisteredDatanodeException( DatanodeID nodeID,                                         DatanodeInfo storedNode ) {    super("Data node " + nodeID.getName()         + " is attempting to report storage ID "        + nodeID.getStorageID() + ". Node "         + storedNode.getName() + " is expected to serve this storage.");  }}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -