@Override public void runInternal() throws HiveSQLException { setState(OperationState.RUNNING); LOG.info("Fetching function metadata"); if (isAuthV2Enabled()) { matchingDbs = metastoreClient.getDatabases(schemaPattern); } catch (TException e) { setState(OperationState.ERROR); throw new HiveSQLException(e); LOG.debug("No function metadata has been returned"); setState(OperationState.FINISHED); LOG.info("Fetching function metadata has been successfully finished"); } catch (Exception e) { setState(OperationState.ERROR); throw new HiveSQLException(e);
@Override public void runInternal() throws HiveSQLException { setState(OperationState.RUNNING); if (isAuthV2Enabled()) { matchingDbs = metastoreClient.getDatabases(schemaPattern); } catch (TException e) { setState(OperationState.ERROR); throw new HiveSQLException(e); setState(OperationState.FINISHED); } catch (Exception e) { setState(OperationState.ERROR); throw new HiveSQLException(e);
@Override public void runInternal() throws HiveSQLException { setState(OperationState.RUNNING); if (isAuthV2Enabled()) { matchingDbs = metastoreClient.getDatabases(schemaPattern); } catch (TException e) { setState(OperationState.ERROR); throw new HiveSQLException(e); setState(OperationState.FINISHED); } catch (Exception e) { setState(OperationState.ERROR); throw new HiveSQLException(e);
@Override public void runInternal() throws HiveSQLException { setState(OperationState.RUNNING); if (isAuthV2Enabled()) { matchingDbs = metastoreClient.getDatabases(schemaPattern); } catch (TException e) { setState(OperationState.ERROR); throw new HiveSQLException(e); setState(OperationState.FINISHED); } catch (Exception e) { setState(OperationState.ERROR); throw new HiveSQLException(e);
@Override public void runInternal() throws HiveSQLException { setState(OperationState.RUNNING); if (isAuthV2Enabled()) { matchingDbs = metastoreClient.getDatabases(schemaPattern); } catch (TException e) { setState(OperationState.ERROR); throw new HiveSQLException(e); setState(OperationState.FINISHED); } catch (Exception e) { setState(OperationState.ERROR); throw new HiveSQLException(e);
@Override public void runInternal() throws HiveSQLException { setState(OperationState.RUNNING); if (isAuthV2Enabled()) { matchingDbs = metastoreClient.getDatabases(schemaPattern); } catch (TException e) { setState(OperationState.ERROR); throw new HiveSQLException(e); setState(OperationState.FINISHED); } catch (Exception e) { setState(OperationState.ERROR); throw new HiveSQLException(e);