You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ja...@apache.org on 2022/10/18 12:10:11 UTC

[iotdb] branch MPPDataExchangeIPBug created (now 0ddae1ce3c)

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

jackietien pushed a change to branch MPPDataExchangeIPBug
in repository https://gitbox.apache.org/repos/asf/iotdb.git


      at 0ddae1ce3c [IOTDB-4679] Make MPPDataExchangeService use internal_address instead of rpc_address

This branch includes the following new commits:

     new 0ddae1ce3c [IOTDB-4679] Make MPPDataExchangeService use internal_address instead of rpc_address

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.



[iotdb] 01/01: [IOTDB-4679] Make MPPDataExchangeService use internal_address instead of rpc_address

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

jackietien pushed a commit to branch MPPDataExchangeIPBug
in repository https://gitbox.apache.org/repos/asf/iotdb.git

commit 0ddae1ce3c784bccce6ad7447eb93a5ac6e4cfb6
Author: JackieTien97 <ja...@gmail.com>
AuthorDate: Tue Oct 18 20:09:58 2022 +0800

    [IOTDB-4679] Make MPPDataExchangeService use internal_address instead of rpc_address
---
 .../iotdb/db/mpp/execution/exchange/MPPDataExchangeService.java   | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/server/src/main/java/org/apache/iotdb/db/mpp/execution/exchange/MPPDataExchangeService.java b/server/src/main/java/org/apache/iotdb/db/mpp/execution/exchange/MPPDataExchangeService.java
index 4a0d35cbf4..09d3d3e54b 100644
--- a/server/src/main/java/org/apache/iotdb/db/mpp/execution/exchange/MPPDataExchangeService.java
+++ b/server/src/main/java/org/apache/iotdb/db/mpp/execution/exchange/MPPDataExchangeService.java
@@ -75,8 +75,7 @@ public class MPPDataExchangeService extends ThriftService implements MPPDataExch
   }
 
   @Override
-  public void initTProcessor()
-      throws ClassNotFoundException, IllegalAccessException, InstantiationException {
+  public void initTProcessor() {
     initSyncedServiceImpl(null);
     processor = new Processor<>(mppDataExchangeManager.getOrCreateMPPDataExchangeServiceImpl());
   }
@@ -86,8 +85,7 @@ public class MPPDataExchangeService extends ThriftService implements MPPDataExch
   }
 
   @Override
-  public void initThriftServiceThread()
-      throws IllegalAccessException, InstantiationException, ClassNotFoundException {
+  public void initThriftServiceThread() throws IllegalAccessException {
     try {
       IoTDBConfig config = IoTDBDescriptor.getInstance().getConfig();
       thriftServiceThread =
@@ -112,7 +110,7 @@ public class MPPDataExchangeService extends ThriftService implements MPPDataExch
 
   @Override
   public String getBindIP() {
-    return IoTDBDescriptor.getInstance().getConfig().getRpcAddress();
+    return IoTDBDescriptor.getInstance().getConfig().getInternalAddress();
   }
 
   @Override