BasPH commented on a change in pull request #4715: [AIRFLOW-3894] unstructured 
connection to webhdfs
URL: https://github.com/apache/airflow/pull/4715#discussion_r257370054
 
 

 ##########
 File path: airflow/hooks/webhdfs_hook.py
 ##########
 @@ -55,7 +63,9 @@ def get_conn(self):
         for nn in nn_connections:
             try:
                 self.log.debug('Trying namenode %s', nn.host)
-                connection_str = 'http://{nn.host}:{nn.port}'.format(nn=nn)
+                #connection_str = 
'httpl://{nn.host}:'.format(nn=nn):{nn.port}.format(nn=nn)'
+                connection_str = self.connection_url('http://', 
'{nn.host}'.format(nn=nn), '{nn.port}'.format(nn=nn))
+                logging.info(connection_str)
 
 Review comment:
   Log with descriptive message

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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