albertusk95 commented on a change in pull request #6795: Adjust the MASTER_URL 
of spark-submit in SparkSubmitHook
URL: https://github.com/apache/airflow/pull/6795#discussion_r357524827
 
 

 ##########
 File path: airflow/models/connection.py
 ##########
 @@ -144,6 +145,7 @@ def parse_from_uri(self, uri):
         self.port = uri_parts.port
         if uri_parts.query:
             self.extra = json.dumps(dict(parse_qsl(uri_parts.query, 
keep_blank_values=True)))
+        self.uri_without_query = uri_parts.scheme + "://" + uri_parts.netloc + 
uri_parts.path
 
 Review comment:
   what if the URI equals to 'yarn' or 'local'?

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