qiaojialin commented on a change in pull request #674: Fix doc
URL: https://github.com/apache/incubator-iotdb/pull/674#discussion_r361101414
##########
File path: docs/Documentation-CHN/UserGuide/0-Get Started/2-Frequently asked
questions.md
##########
@@ -19,6 +19,149 @@
-->
+<!-- TOC -->
+
+## 概览
+
+- 常见问题
+ - 如何查询我的 IoTDB 版本?
+ - 在哪里可以找到 IoTDB 的日志?
+ - 在哪里可以找到 IoTDB 的数据文件?
+ - 如何知道 IoTDB 中存储了多少时间序列?
+ - 可以使用 Hadoop 和 Spark 读取 IoTDB 中的 TsFile 吗?
+ - IoTDB 如何处理重复的数据点?
+ - 我如何知道具体的 timeseries 的类型?
+ - 如何更改 IoTDB 的客户端时间显示格式?
+
+<!-- /TOC -->
# 常见问题
-Coming Soon.
\ No newline at end of file
+## 如何查询我的 IoTDB 版本?
+
+有几种方法可以识别您使用的 IoTDB 版本:
+
+*启动 IoTDB 的命令行界面:
+
+```
+> ./start-client.sh -p 6667 -pw root -u root -h localhost
+ _____ _________ ______ ______
+|_ _| | _ _ ||_ _ `.|_ _ \
+ | | .--.|_/ | | \_| | | `. \ | |_) |
+ | | / .'`\ \ | | | | | | | __'.
+ _| |_| \__. | _| |_ _| |_.' /_| |__) |
+|_____|'.__.' |_____| |______.'|_______/ version x.x.x
+```
+
+* 检查 pom.xml 文件:
+
+```
+<version>x.x.x</version>
+```
+
+* 使用 JDBC API:
+
+```
+String iotdbVersion = tsfileDatabaseMetadata.getDatabaseProductVersion();
+```
+
+* 使用命令行接口:
+
+```
+IoTDB> show version
+show version
++---------------+
+|version |
++---------------+
+|x.x.x |
++---------------+
+Total line number = 1
+It costs 0.241s
+```
+
+## 在哪里可以找到 IoTDB 的日志?
+
+假设您的根目录是:
+
+```
+$ pwd
+/workspace/incubator-iotdb
+
+$ ls -l
+server/
+client/
+pom.xml
+Readme.md
+...
+```
+
+假如 `$IOTDB_HOME =
/workspace/incubator-iotdb/server/target/iotdb-server-{project.version}`
+
+假如 `$IOTDB_CLI_HOME =
/workspace/incubator-iotdb/client/target/iotdb-client-{project.version}`
+
+在默认的设置里,logs
文件夹会被存储在```IOTDB_HOME/logs```。您可以在```IOTDB_HOME/conf```目录下的```logback.xml```文件中修改日志的级别和日志的存储路径。
+
+## 在哪里可以找到 IoTDB 的数据文件?
+
+在默认的设置里,数据文件(包含 TsFile,metadata,WAL)被存储在```IOTDB_HOME/data```文件夹。
+
+## 如何知道 IoTDB 中存储了多少时间序列?
+
+使用 IoTDB 的命令行接口:
+
+```
+IoTDB> show timeseries root.*
Review comment:
跟下边统一一下吧,都不带 *,英文的也去掉 *
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services