public interface HadoopService
extends eu.dnetlib.common.rmi.BaseService
| Modifier and Type | Method and Description |
|---|---|
void |
addHBaseColumn(String clusterName,
String tableName,
String rowKey,
String columnFamily,
String qualifier,
String value)
Add to an HBase table the value into the cell identified by coordinates rowKey, columnFamily and qualifier.
|
boolean |
createConfiguredHbaseTable(String clusterName,
String tableName,
String tableConfiguration)
Creates the hbase table.
|
boolean |
createHbaseTable(String clusterName,
String tableName,
Set<String> columns)
Creates the hbase table.
|
boolean |
createHdfsDirectory(String clusterName,
String path,
boolean force)
Creates a directory on HDFS, eventually deleteing its content.
|
boolean |
deleteHBaseColumn(String clusterName,
String tableName,
HBaseRowDescriptor column)
Remove from an HBase table the values identified by a row descriptor.
|
boolean |
deleteHBaseColumns(String clusterName,
String tableName,
List<HBaseRowDescriptor> column)
Remove from an HBase table the values identified by the given row descriptors.
|
boolean |
deleteHdfsPath(String clusterName,
String path)
Deletes a path on HDFS
|
HBaseRowDescriptor |
describeHBaseColumn(String clusterName,
String tableName,
String rowKey)
Get the columns defined in a given row
|
Map<String,HBaseRowDescriptor> |
describeHBaseColumns(String clusterName,
String tableName,
List<String> rowKeys)
Get the columns defined in a given set of row
|
List<String> |
describeHbaseTable(String clusterName,
String tableName)
Describe hbase table.
|
String |
describeHBaseTableConfiguration(String clusterName,
String tableName)
Get the HBase table schema and the region splits configuration
|
boolean |
dropHbaseTable(String clusterName,
String tableName)
Drop hbase table.
|
boolean |
ensureHbaseTable(String clusterName,
String tableName,
Set<String> columns)
Ensure hbase table.
|
boolean |
existHbaseTable(String clusterName,
String tableName)
Exist hbase table.
|
boolean |
existHdfsPath(String clusterName,
String path)
Check if path on HDFS exists
|
Map<String,String> |
getClusterConfiguration(String clusterName)
Gets the cluster configuration.
|
boolean |
killJob(String jobId)
Kill job.
|
List<String> |
listAvailableJobs()
List available jobs.
|
List<String> |
listClusters()
List the configured cluster names.
|
List<String> |
listHbaseTables(String clusterName)
List hbase tables.
|
List<HadoopJobDescriptor> |
listJobs(String clusterName)
List jobs.
|
boolean |
truncateHbaseTable(String clusterName,
String tableName)
Truncate hbase table.
|
List<String> listAvailableJobs() throws HadoopServiceException
HadoopServiceException - the hadoop service exceptionList<HadoopJobDescriptor> listJobs(String clusterName) throws HadoopServiceException
clusterName - the cluster nameHadoopServiceException - the hadoop service exceptionboolean killJob(String jobId) throws HadoopServiceException
jobId - the job idHadoopServiceException - the hadoop service exceptionList<String> listHbaseTables(String clusterName) throws HadoopServiceException
clusterName - the cluster nameHadoopServiceException - the hadoop service exceptionboolean ensureHbaseTable(String clusterName, String tableName, Set<String> columns) throws HadoopServiceException
clusterName - the cluster nametableName - the table namecolumns - the columnsHadoopServiceException - the hadoop service exceptionboolean createHbaseTable(String clusterName, String tableName, Set<String> columns) throws HadoopServiceException
clusterName - the cluster nametableName - the table namecolumns - the columnsHadoopServiceException - the hadoop service exceptionboolean createConfiguredHbaseTable(String clusterName, String tableName, String tableConfiguration) throws HadoopServiceException
clusterName - the cluster nametableName - the table nametableConfiguration - the table configuration: columns and region splitsHadoopServiceException - the hadoop service exceptionboolean truncateHbaseTable(String clusterName, String tableName) throws HadoopServiceException
clusterName - the cluster nametableName - the table nameHadoopServiceException - the hadoop service exceptionboolean dropHbaseTable(String clusterName, String tableName) throws HadoopServiceException
clusterName - the cluster nametableName - the table nameHadoopServiceException - the hadoop service exceptionboolean existHbaseTable(String clusterName, String tableName) throws HadoopServiceException
clusterName - the cluster nametableName - the table nameHadoopServiceException - the hadoop service exceptionList<String> describeHbaseTable(String clusterName, String tableName) throws HadoopServiceException
clusterName - the cluster nametableName - the table nameHadoopServiceException - the hadoop service exceptionMap<String,String> getClusterConfiguration(String clusterName) throws HadoopServiceException
clusterName - the cluster nameHadoopServiceException - the hadoop service exceptionboolean deleteHdfsPath(String clusterName, String path) throws HadoopServiceException
clusterName - the cluster namepath - the path to be deletedHadoopServiceExceptionboolean existHdfsPath(String clusterName, String path) throws HadoopServiceException
clusterName - the cluster namepath - the path to be deletedHadoopServiceExceptionboolean createHdfsDirectory(String clusterName, String path, boolean force) throws HadoopServiceException
clusterName - the cluster namepath - the path to be createdforce - force delete before createHadoopServiceExceptionList<String> listClusters() throws HadoopServiceException
HadoopServiceException - shouldn't happenHBaseRowDescriptor describeHBaseColumn(String clusterName, String tableName, String rowKey) throws HadoopServiceException
clusterName - tableName - rowKey - HadoopServiceExceptionMap<String,HBaseRowDescriptor> describeHBaseColumns(String clusterName, String tableName, List<String> rowKeys) throws HadoopServiceException
clusterName - tableName - rowKeys - HadoopServiceExceptionString describeHBaseTableConfiguration(String clusterName, String tableName) throws HadoopServiceException
clusterName - tableName - HadoopServiceExceptionboolean deleteHBaseColumn(String clusterName, String tableName, HBaseRowDescriptor column) throws HadoopServiceException
clusterName - tableName - column - HadoopServiceExceptionboolean deleteHBaseColumns(String clusterName, String tableName, List<HBaseRowDescriptor> column) throws HadoopServiceException
clusterName - tableName - column - HadoopServiceExceptionvoid addHBaseColumn(String clusterName, String tableName, String rowKey, String columnFamily, String qualifier, String value) throws HadoopServiceException
clusterName - tableName - rowKey - columnFamily - qualifier - value: - base64 encoding of the protobuffer valueHadoopServiceExceptionCopyright © 2026. All rights reserved.