You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2022/12/17 08:40:43 UTC

[iotdb] branch master updated: add instruction about how to allow large java file generated by Thrift in IDEA (#8490)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 510cce881c add instruction about how to allow large java file generated by Thrift in IDEA (#8490)
510cce881c is described below

commit 510cce881cd54ff563d15d7777f594cee70fb575
Author: Xiangdong Huang <hx...@apache.org>
AuthorDate: Sat Dec 17 16:40:37 2022 +0800

    add instruction about how to allow large java file generated by Thrift in IDEA (#8490)
---
 docs/Development/ContributeGuide.md | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/docs/Development/ContributeGuide.md b/docs/Development/ContributeGuide.md
index 5ab5b63406..ddc8cd79ba 100644
--- a/docs/Development/ContributeGuide.md
+++ b/docs/Development/ContributeGuide.md
@@ -191,7 +191,7 @@ import -> Maven -> Existing Maven Projects
 
 # Frequent Questions When Compiling the Source Code
 
-I could not download thrift-* tools, like `Could not get content
+>Q: I could not download thrift-* tools, like `Could not get content
 org.apache.maven.wagon.TransferFailedException: Transfer failed for https://github.com/apache/iotdb-bin-resources/blob/main/compile-tools/thrift-0.14-ubuntu`
 
  It is due to some network problems (especially in China), you can:
@@ -205,6 +205,18 @@ org.apache.maven.wagon.TransferFailedException: Transfer failed for https://gith
 
  * Re-run maven command like `mvn compile`
 
+ 
+ >Q: IConfigNodeRPCService class is unrecognized (IDEA can not find the class even though we have generated it)
+
+ It is because Thrift generate the file too large, which exceeds the lines that IDEA can parse by default. You can find that file and then you will see IDEA claims that. To make it work, you can:
+ 
+ * Click "Help" menu of IDEA
+ * Choose "Edit Customed Properties"
+ * On the opened file (`idea.properties`), add: `idea.max.intellisense.filesize=9000`
+ * Restart IDEA
+ 
+ 
+
 
 ## Recommended Debug Tool