Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2706,30 +2706,30 @@ List<LogEntry> getLogEntries(Set<ServerName> serverNames, String logType, Server
/**
* Perform hbase:meta table refresh
*/
Long refreshMeta() throws IOException;
long refreshMeta() throws IOException;

/**
* Refresh HFiles for the table
* @param tableName table to refresh HFiles for
* @return ID of the procedure started for refreshing HFiles
* @throws IOException if a remote or network exception occurs
*/
Long refreshHFiles(final TableName tableName) throws IOException;
long refreshHFiles(final TableName tableName) throws IOException;

/**
* Refresh HFiles for all the tables under given namespace
* @param namespace Namespace for which we should call refresh HFiles for all tables under it
* @return ID of the procedure started for refreshing HFiles
* @throws IOException if a remote or network exception occurs
*/
Long refreshHFiles(final String namespace) throws IOException;
long refreshHFiles(final String namespace) throws IOException;

/**
* Refresh HFiles for all the tables
* @return ID of the procedure started for refreshing HFiles
* @throws IOException if a remote or network exception occurs
*/
Long refreshHFiles() throws IOException;
long refreshHFiles() throws IOException;

@InterfaceAudience.Private
void restoreBackupSystemTable(String snapshotName) throws IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1154,22 +1154,22 @@ public List<String> getCachedFilesList(ServerName serverName) throws IOException
}

@Override
public Long refreshMeta() throws IOException {
public long refreshMeta() throws IOException {
return get(admin.refreshMeta());
}

@Override
public Long refreshHFiles(final TableName tableName) throws IOException {
public long refreshHFiles(final TableName tableName) throws IOException {
return get(admin.refreshHFiles(tableName));
}

@Override
public Long refreshHFiles(final String namespace) throws IOException {
public long refreshHFiles(final String namespace) throws IOException {
return get(admin.refreshHFiles(namespace));
}

@Override
public Long refreshHFiles() throws IOException {
public long refreshHFiles() throws IOException {
return get(admin.refreshHFiles());
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1012,22 +1012,22 @@ public boolean isReplicationPeerModificationEnabled() throws IOException {
}

@Override
public Long refreshMeta() throws IOException {
public long refreshMeta() throws IOException {
return admin.refreshMeta();
}

@Override
public Long refreshHFiles(final TableName tableName) throws IOException {
public long refreshHFiles(final TableName tableName) throws IOException {
return admin.refreshHFiles(tableName);
}

@Override
public Long refreshHFiles(final String namespace) throws IOException {
public long refreshHFiles(final String namespace) throws IOException {
return admin.refreshHFiles(namespace);
}

@Override
public Long refreshHFiles() throws IOException {
public long refreshHFiles() throws IOException {
return admin.refreshHFiles();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1375,7 +1375,7 @@ public void restoreBackupSystemTable(String snapshotName) throws IOException {
}

@Override
public Long refreshMeta() throws IOException {
public long refreshMeta() throws IOException {
throw new NotImplementedException("refreshMeta not supported in ThriftAdmin");
}

Expand All @@ -1393,17 +1393,17 @@ public boolean isReplicationPeerModificationEnabled() throws IOException {
}

@Override
public Long refreshHFiles(final TableName tableName) throws IOException {
public long refreshHFiles(final TableName tableName) throws IOException {
throw new NotImplementedException("refreshHFiles not supported in ThriftAdmin");
}

@Override
public Long refreshHFiles(final String namespace) throws IOException {
public long refreshHFiles(final String namespace) throws IOException {
throw new NotImplementedException("refreshHFiles not supported in ThriftAdmin");
}

@Override
public Long refreshHFiles() throws IOException {
public long refreshHFiles() throws IOException {
throw new NotImplementedException("refreshHFiles not supported in ThriftAdmin");
}
}
Loading