pvillard31 commented on a change in pull request #3610: NIFI-6552 Kudu Put 
Operations
URL: https://github.com/apache/nifi/pull/3610#discussion_r317065997
 
 

 ##########
 File path: 
nifi-nar-bundles/nifi-kudu-bundle/nifi-kudu-processors/src/main/java/org/apache/nifi/processors/kudu/PutKudu.java
 ##########
 @@ -213,58 +198,18 @@
         return rels;
     }
 
+    protected KerberosUser kerberosUser;
+    protected KuduSession kuduSession;
+    protected String tableName;
 
     @OnScheduled
     public void onScheduled(final ProcessContext context) throws IOException, 
LoginException {
-        final String kuduMasters = 
context.getProperty(KUDU_MASTERS).evaluateAttributeExpressions().getValue();
-        operationType = 
OperationType.valueOf(context.getProperty(INSERT_OPERATION).getValue());
+        tableName = 
context.getProperty(TABLE_NAME).evaluateAttributeExpressions().getValue();
 
 Review comment:
   This is not necessary as we are evaluating the table name L257 based on FFs 
attributes.

----------------------------------------------------------------
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