kudu-protolib/src/main/java/com/streamsets/pipeline/stage/lib/kudu/KuduUtils.java
public static void checkConnection(AsyncKuduClient kuduClient,
                                     Context context,
                                     String KUDU_MASTER,
                                     final List<Stage.ConfigIssue> issues
  ){
    try {
      kuduClient.getTablesList().join();
    } catch (Exception ex) {
      issues.add(
          context.createConfigIssue(
              Groups.KUDU.name(),
              KuduLookupConfig.CONF_PREFIX + KUDU_MASTER ,
              Errors.KUDU_00,
              ex.toString(),
              ex
          )
      );
    }
  }
public static void checkConnection(AsyncKuduClient kuduClient,
                                     Context context,
                                     String KUDU_MASTER,
                                     final List<Stage.ConfigIssue> issues
  ){
    try {
      kuduClient.getTablesList().join();
    } catch (Exception ex) {
      issues.add(
          context.createConfigIssue(
              Groups.KUDU.name(),
              KuduLookupConfig.CONF_PREFIX + KUDU_MASTER ,
              Errors.KUDU_00,
              ex.toString(),
              ex
          )
      );
    }
  }
public static void checkConnection ( AsyncKuduClient kuduClient , Context context , String KUDU_MASTER , final List < Stage . ConfigIssue > issues ) { try { kuduClient . getTablesList ( ) . join ( ) ; } catch ( Exception ex ) { issues . add ( context . createConfigIssue ( Groups . KUDU . name ( ) , KuduLookupConfig . CONF_PREFIX + KUDU_MASTER , Errors . KUDU_00 , ex . toString ( ) , ex ) ) ; } }
Check network connection to the kudu master.
@param kuduClient AsyncKuduClient
@param context
@param KUDU_MASTER
@param issues
Check network connection to the kudu master .