You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2020/01/08 02:01:36 UTC

[GitHub] [incubator-iotdb] jt2594838 commented on a change in pull request #710: [IOTDB-406] refactor environmentutils and IoTDBConfig

jt2594838 commented on a change in pull request #710: [IOTDB-406] refactor environmentutils and IoTDBConfig
URL: https://github.com/apache/incubator-iotdb/pull/710#discussion_r364035591
 
 

 ##########
 File path: server/src/test/java/org/apache/iotdb/db/utils/EnvironmentUtils.java
 ##########
 @@ -188,6 +181,12 @@ private static void createAllDir() {
     for (String dataDir : config.getDataDirs()) {
       createDir(dataDir);
     }
+    //create user and roles folder
+    try {
+      LocalFileAuthorizer.getInstance().reset();
+    } catch (AuthException e) {
+      e.printStackTrace();
 
 Review comment:
   Use a logger.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services