luoguangyi 2 лет назад
Родитель
Сommit
0768af957b
2 измененных файлов с 13 добавлено и 0 удалено
  1. 12 0
      pom.xml
  2. 1 0
      src/main/java/com/sagacloud/repository/HBaseSaveManagerRepository.java

+ 12 - 0
pom.xml

@@ -27,6 +27,7 @@
         <hutool.version>5.7.19</hutool.version>
         <antlr.runtime.version>3.1</antlr.runtime.version>
         <zillion.util.version>2.3.3.342</zillion.util.version>
+        <fastjson.version>1.2.83</fastjson.version>
         <!--日志框架有安全漏洞,升级最新版本-->
         <logback.version>1.2.9</logback.version>
         <log4j2.version>2.17.0</log4j2.version>
@@ -81,6 +82,11 @@
             <artifactId>spring-boot-starter-log4j</artifactId>
             <version>${log4j.version}</version>
         </dependency>
+        <dependency>
+            <groupId>com.alibaba</groupId>
+            <artifactId>fastjson</artifactId>
+            <version>${fastjson.version}</version>
+        </dependency>
         <!--		<dependency>-->
         <!--			<groupId>org.reflections</groupId>-->
         <!--			<artifactId>reflections</artifactId>-->
@@ -91,6 +97,12 @@
             <groupId>com.sagacloud</groupId>
             <artifactId>zillion-util</artifactId>
             <version>${zillion.util.version}</version>
+            <exclusions>
+                <exclusion>
+                    <artifactId>fastjson</artifactId>
+                    <groupId>com.alibaba</groupId>
+                </exclusion>
+            </exclusions>
         </dependency>
     </dependencies>
 

+ 1 - 0
src/main/java/com/sagacloud/repository/HBaseSaveManagerRepository.java

@@ -45,6 +45,7 @@ public class HBaseSaveManagerRepository {
         }
         if (!zillionAgentList.isEmpty()) {
             try {
+                log.warn("----初始化库表开始----");
                 RandomUtil.randomEle(computeEngineMainList).initDatabaseAndTable();
                 log.warn("----初始化库表结束----");
             } catch (Exception e) {