Project

General

Profile

« Previous | Next » 

Revision 31239

added listClusters method

View differences:

modules/dnet-hadoop-service-rmi/trunk/src/main/java/eu/dnetlib/data/hadoop/rmi/HadoopService.java
17 17

  
18 18
	/**
19 19
	 * List available jobs.
20
	 * 
20
	 *
21 21
	 * @return the list
22 22
	 * @throws HadoopServiceException
23 23
	 *             the hadoop service exception
......
26 26

  
27 27
	/**
28 28
	 * List jobs.
29
	 * 
29
	 *
30 30
	 * @param clusterName
31 31
	 *            the cluster name
32 32
	 * @return the list
......
37 37

  
38 38
	/**
39 39
	 * Kill job.
40
	 * 
40
	 *
41 41
	 * @param jobId
42 42
	 *            the job id
43 43
	 * @return true, if successful
......
48 48

  
49 49
	/**
50 50
	 * List hbase tables.
51
	 * 
51
	 *
52 52
	 * @param clusterName
53 53
	 *            the cluster name
54 54
	 * @return the list
......
59 59

  
60 60
	/**
61 61
	 * Ensure hbase table.
62
	 * 
62
	 *
63 63
	 * @param clusterName
64 64
	 *            the cluster name
65 65
	 * @param tableName
......
76 76

  
77 77
	/**
78 78
	 * Creates the hbase table.
79
	 * 
79
	 *
80 80
	 * @param clusterName
81 81
	 *            the cluster name
82 82
	 * @param tableName
......
93 93

  
94 94
	/**
95 95
	 * Truncate hbase table.
96
	 * 
96
	 *
97 97
	 * @param clusterName
98 98
	 *            the cluster name
99 99
	 * @param tableName
......
107 107

  
108 108
	/**
109 109
	 * Drop hbase table.
110
	 * 
110
	 *
111 111
	 * @param clusterName
112 112
	 *            the cluster name
113 113
	 * @param tableName
......
120 120

  
121 121
	/**
122 122
	 * Exist hbase table.
123
	 * 
123
	 *
124 124
	 * @param clusterName
125 125
	 *            the cluster name
126 126
	 * @param tableName
......
133 133

  
134 134
	/**
135 135
	 * Gets the cluster configuration.
136
	 * 
136
	 *
137 137
	 * @param clusterName
138 138
	 *            the cluster name
139 139
	 * @return the cluster configuration
......
141 141
	 *             the hadoop service exception
142 142
	 */
143 143
	Map<String, String> getClusterConfiguration(@WebParam(name = "clusterName") String clusterName) throws HadoopServiceException;
144

  
145
	/**
146
	 * List the configured cluster names.
147
	 *
148
	 * @return the list of configured cluster names.
149
	 * @throws HadoopServiceException
150
	 *             shouldn't happen
151
	 */
152
	List<String> listClusters() throws HadoopServiceException;
144 153
}

Also available in: Unified diff