You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by su...@apache.org on 2020/04/02 10:31:23 UTC

[incubator-iotdb] branch fix_970 created (now 0dffff3)

This is an automated email from the ASF dual-hosted git repository.

sunzesong pushed a change to branch fix_970
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git.


      at 0dffff3  Fix bugs of set core-site.xml and hdfs-site.xml paths in HDFS storage

This branch includes the following new commits:

     new 0dffff3  Fix bugs of set core-site.xml and hdfs-site.xml paths in HDFS storage

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[incubator-iotdb] 01/01: Fix bugs of set core-site.xml and hdfs-site.xml paths in HDFS storage

Posted by su...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sunzesong pushed a commit to branch fix_970
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git

commit 0dffff3b7c0e5d510767738b293850aa818a36b2
Author: samperson1997 <sz...@mails.tsinghua.edu.cn>
AuthorDate: Thu Apr 2 18:30:53 2020 +0800

    Fix bugs of set core-site.xml and hdfs-site.xml paths in HDFS storage
---
 server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java
index c19e96a..ad7a2ed 100644
--- a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java
+++ b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBDescriptor.java
@@ -338,9 +338,9 @@ public class IoTDBDescriptor {
       TSFileDescriptor.getInstance().getConfig()
           .setTSFileStorageFs(
               properties.getProperty("tsfile_storage_fs", conf.getTsFileStorageFs().name()));
-      TSFileDescriptor.getInstance().getConfig().setKerberosKeytabFilePath(
+      TSFileDescriptor.getInstance().getConfig().setCoreSitePath(
           properties.getProperty("core_site_path", conf.getCoreSitePath()));
-      TSFileDescriptor.getInstance().getConfig().setKerberosPrincipal(
+      TSFileDescriptor.getInstance().getConfig().setHdfsSitePath(
           properties.getProperty("hdfs_site_path", conf.getHdfsSitePath()));
       TSFileDescriptor.getInstance().getConfig()
           .setHdfsIp(properties.getProperty("hdfs_ip", conf.getRawHDFSIp()).split(","));