yangyichao-mango commented on a change in pull request #3264:
URL:
https://github.com/apache/incubator-dolphinscheduler/pull/3264#discussion_r458746209
##########
File path:
dolphinscheduler-common/src/main/java/org/apache/dolphinscheduler/common/utils/HttpUtils.java
##########
@@ -33,66 +33,88 @@
* http utils
*/
public class HttpUtils {
-
-
+
+
public static final Logger logger =
LoggerFactory.getLogger(HttpUtils.class);
/**
* get http request content
+ *
* @param url url
* @return http get request response content
*/
public static String get(String url){
- CloseableHttpClient httpclient = HttpClients.createDefault();
+ boolean kerberState
=PropertyUtils.getBoolean(Constants.HADOOP_SECURITY_AUTHENTICATION_STARTUP_STATE,
false);
Review comment:
```suggestion
boolean kerberState =
PropertyUtils.getBoolean(Constants.HADOOP_SECURITY_AUTHENTICATION_STARTUP_STATE,
false);
```
----------------------------------------------------------------
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]