Java Code Examples for org.apache.hadoop.hdfs.server.common.Storage#getRegistrationID()

The following examples show how to use org.apache.hadoop.hdfs.server.common.Storage#getRegistrationID() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: NamenodeRegistration.java    From hadoop with Apache License 2.0 4 votes vote down vote up
@Override // NodeRegistration
public String getRegistrationID() {
  return Storage.getRegistrationID(this);
}
 
Example 2
Source File: DatanodeRegistration.java    From hadoop with Apache License 2.0 4 votes vote down vote up
@Override // NodeRegistration
public String getRegistrationID() {
  return Storage.getRegistrationID(storageInfo);
}
 
Example 3
Source File: NamenodeRegistration.java    From big-c with Apache License 2.0 4 votes vote down vote up
@Override // NodeRegistration
public String getRegistrationID() {
  return Storage.getRegistrationID(this);
}
 
Example 4
Source File: DatanodeRegistration.java    From big-c with Apache License 2.0 4 votes vote down vote up
@Override // NodeRegistration
public String getRegistrationID() {
  return Storage.getRegistrationID(storageInfo);
}
 
Example 5
Source File: DatanodeRegistration.java    From RDFS with Apache License 2.0 4 votes vote down vote up
/**
 */
public String getRegistrationID() {
  return Storage.getRegistrationID(storageInfo);
}
 
Example 6
Source File: DatanodeRegistration.java    From hadoop-gpu with Apache License 2.0 4 votes vote down vote up
/**
 */
public String getRegistrationID() {
  return Storage.getRegistrationID(storageInfo);
}
 
Example 7
Source File: FSNamesystem.java    From hadoop-gpu with Apache License 2.0 2 votes vote down vote up
/**
 * Get registrationID for datanodes based on the namespaceID.
 * 
 * @see #registerDatanode(DatanodeRegistration)
 * @see FSImage#newNamespaceID()
 * @return registration ID
 */
public String getRegistrationID() {
  return Storage.getRegistrationID(dir.fsImage);
}