@Override public DAGStatus getDAGStatus(@Nullable Set<StatusGetOpts> statusOptions, long timeout) throws IOException, TezException { synchronized (dagClient) { return dagClient.getDAGStatus(statusOptions, timeout); } }
@Override public DAGStatus getDAGStatus(@Nullable Set<StatusGetOpts> statusOptions) throws IOException, TezException { synchronized (dagClient) { return dagClient.getDAGStatus(statusOptions); } }
@Override public DAGStatus getDAGStatus(@Nullable Set<StatusGetOpts> statusOptions, long timeout) throws IOException, TezException { synchronized (dagClient) { return dagClient.getDAGStatus(statusOptions, timeout); } }
@Override public DAGStatus getDAGStatus(@Nullable Set<StatusGetOpts> statusOptions) throws IOException, TezException { synchronized (dagClient) { return dagClient.getDAGStatus(statusOptions); } }
private TezCounters hiveCounters(DAGClient dagClient) { try { return dagClient.getDAGStatus(EnumSet.of(StatusGetOpts.GET_COUNTERS)).getDAGCounters(); } catch (IOException | TezException e) { // best attempt, shouldn't really kill DAG for this } return null; }
private TezCounters hiveCounters(DAGClient dagClient) { try { return dagClient.getDAGStatus(EnumSet.of(StatusGetOpts.GET_COUNTERS)).getDAGCounters(); } catch (IOException | TezException e) { // best attempt, shouldn't really kill DAG for this } return null; }
status = dagClient.getDAGStatus(opts, checkInterval);
status = dagClient.getDAGStatus(new HashSet<StatusGetOpts>(), CHECK_INTERVAL); vertexProgressMap = status.getVertexProgress(); DAGStatus.State state = status.getState();
counters = dagClient.getDAGStatus(statusGetOpts).getDAGCounters(); } catch (Exception err) {
counters = dagClient.getDAGStatus(statusGetOpts).getDAGCounters(); } catch (Exception err) {
@Override public DAGStatus getDAGStatus( Set<StatusGetOpts> statusOptions) throws IOException, TezException { return realClient.getDAGStatus(statusOptions); }
@Override public DAGStatus getDAGStatus( @Nullable Set<StatusGetOpts> statusOptions ) throws IOException, TezException { return dagClient.getDAGStatus( statusOptions ); }
@Override public DAGStatus getDAGStatus( @Nullable Set<StatusGetOpts> statusOptions ) throws IOException, TezException { return dagClient.getDAGStatus( statusOptions ); }
public static DAGStatus getDagStatusWithCounters( DAGClient dagClient ) { if( dagClient == null ) return null; try { return dagClient.getDAGStatus( STATUS_GET_COUNTERS ); } catch( IOException | TezException exception ) { throw new CascadingException( "unable to get counters from dag client", exception ); } }
private DAGStatus getDagStatusWithCounters() { if( dagClient == null ) return null; try { return dagClient.getDAGStatus( STATUS_GET_OPTS ); } catch( IOException | TezException exception ) { throw new CascadingException( "unable to get counters from dag client", exception ); } }
public String getDiagnostics() { try { if (dagClient != null && dagStatus == null) { dagStatus = dagClient.getDAGStatus(null); } if (dagStatus != null) { return StringUtils.join(dagStatus.getDiagnostics(), "\n"); } } catch (Exception e) { //Ignore } return ""; } }
public static DAGStatus getDagStatusWithCounters( DAGClient dagClient ) { if( dagClient == null ) return null; try { return dagClient.getDAGStatus( STATUS_GET_COUNTERS ); } catch( IOException | TezException exception ) { throw new CascadingException( "unable to get counters from dag client", exception ); } }
private DAGStatus getDagStatusWithCounters() { if( dagClient == null ) return null; try { return dagClient.getDAGStatus( STATUS_GET_OPTS ); } catch( IOException | TezException exception ) { throw new CascadingException( "unable to get counters from dag client", exception ); } }
private DAGStatus getDagStatus() { if( dagClient == null ) return null; try { return dagClient.getDAGStatus( null ); } catch( NullPointerException exception ) { flowStep.logWarn( "NPE thrown by getDAGStatus, known issue" ); return null; } catch( IOException | TezException exception ) { throw new CascadingException( exception ); } }
private DAGStatus getDagStatus() { if( dagClient == null ) return null; try { return dagClient.getDAGStatus( null ); } catch( NullPointerException exception ) { flowStep.logWarn( "NPE thrown by getDAGStatus, known issue" ); return null; } catch( IOException | TezException exception ) { throw new CascadingException( exception ); } }