Commit dea2d463 authored by simon's avatar simon
Browse files

Using Jackson instead of Fastjson

parent f26e2467
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -406,7 +406,6 @@ public class HadoopUtils implements Closeable {
     *
     * @param applicationId application id
     * @return the return may be null or there may be other parse exceptions
     * @throws JSONException json exception
     */
    public ExecutionStatus getApplicationStatus(String applicationId)  {
        if (StringUtils.isEmpty(applicationId)) {
@@ -467,6 +466,7 @@ public class HadoopUtils implements Closeable {
     * hdfs resource dir
     *
     * @param tenantCode tenant code
     * @param resourceType resource type
     * @return hdfs resource dir
     */
    public static String getHdfsDir(ResourceType resourceType, String tenantCode) {
+4 −3
Original line number Diff line number Diff line
@@ -215,9 +215,10 @@ public class ParameterUtils {
  /**
   * new
   * $[yyyyMMdd] replace scheduler time
   * @param text
   * @param paramsMap
   * @return
   * @param text text
   * @param scheduleTime scheduleTime
   * @param paramsMap paramsMap
   * @return text
   */
  public static String replaceScheduleTime(String text, Date scheduleTime, Map<String, Property> paramsMap) {
    if (paramsMap != null) {