public String[][] getNColumnDataAraqne(String name, String mgr_ip, String query) {
		LogDbClient client = null;
		Vector rowSet = new Vector();
		Vector row = null;
		int colCnt = 0;
		try {
			client = DBConnectionManager.getInstance().getQueryClient(mgr_ip);

			LogCursor cursor = null;
			try {
				cursor = client.query(query);
				logger.debug(cursor.hasNext());
				while (cursor.hasNext()) {
					Map<String, Object> o = cursor.next();
					Set<String> keyset = o.keySet();
					colCnt = keyset.size();
					row = null;
					row = new Vector();

					for (String key : keyset) {
							row.addElement(o.get(key));
					}
					rowSet.addElement(row);
				}

				logger.debug(query);

			} catch (IOException e) {
				logger.error(e.getMessage() + " : error query => " + query, e);
			} finally {
				if (cursor != null) {
					try {
						cursor.close();
					} catch (IOException e) {
					}
				}
				DBConnectionManager.getInstance().freeConnection(client);
			}

		} catch (Exception e) {
			// close(con, stmt, rs);
			 logger.error(e.getMessage() + " : error query => " + query, e);
		}

		logger.debug(rowSet.size());

		String[][] data = new String[rowSet.size()][colCnt];
		for (int i = 0; i < data.length; i++) {
			row = null;
			row = (Vector) rowSet.elementAt(i);
			for (int j = 0; j < colCnt; j++) {
				if (row.elementAt(j) == null) {
					data[i][j] = "-";
				} else {
					data[i][j] = row.elementAt(j).toString().trim();
				}
			}
		}

		return data;
	}