lfrancke commented on issue #3425: NIFI-6197 HBase: Fix deprecations, default 
for client retries & validations
URL: https://github.com/apache/nifi/pull/3425#issuecomment-482711295
 
 
   Maybe I explained badly. What I meant is to change the `onEnabled` method to 
look something like this (semi-pseudo code):
   
   ````
       @OnEnabled
       public void onEnabled(final ConfigurationContext context) throws 
InitializationException, IOException, InterruptedException {
           // Try connecting with client retries set to 1 here to fail fast if 
something's wrong.
           connection = createConnectionTestConnection(context);
           connection.close();
           
           // Now create the real connection
           this.connection = createConnection(context);
   ....
   ````

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to