Project

General

Profile

« Previous | Next » 

Revision 39856

allow to reuse existing regions when creating a table

View differences:

HadoopServiceImpl.java
125 125

  
126 126
	/*
127 127
	 * (non-Javadoc)
128
	 *
129
	 * @see eu.dnetlib.data.hadoop.rmi.HadoopService#createHbaseTable(java.lang.String, java.lang.String, java.util.String)
130
	 */
131
	@Override
132
	public boolean createConfiguredHbaseTable(final String clusterName, final String tableName, final String tableConfiguration) throws HadoopServiceException {
133
		try {
134
			hadoopServiceCore.createTable(checkExists(clusterName), tableName, tableConfiguration);
135
			return true;
136
		} catch (IOException e) {
137
			throw new HadoopServiceException(e);
138
		}
139
	}
140

  
141
	/*
142
	 * (non-Javadoc)
128 143
	 * 
129 144
	 * @see eu.dnetlib.data.hadoop.rmi.HadoopService#truncateHbaseTable(java.lang.String, java.lang.String)
130 145
	 */

Also available in: Unified diff