简体   繁体   English

无法在DolphinDB中启动PersistenceManager

[英]Failed to start PersistenceManager in DolphinDB

I execute the following code in standalone DolphinDB server, 我在独立的DolphinDB服务器中执行以下代码,

n = 1000000;
tableSchema = streamTable(n:0,`hardwareId`ts`temp1,[INT,TIMESTAMP,DOUBLE])
share(tableSchema,"sensorInfoTable")
enableTablePersistence(objByName("sensorInfoTable"), false, false, n)

The result shows the following information, 结果显示以下信息,

To enable table persistence, turn on the persistence manager by specifying the configuration parameter persistenceDir for the publisher node.

So I add the following configuration in dolphindb.cfg. 因此,我在dolphindb.cfg中添加了以下配置。

persistenceDir="C:\DolphinDB\streamPersistence"

But when I run Dolphindb.exe,it terminated abnormally. 但是当我运行Dolphindb.exe时,它异常终止。 I found that there is an error showed in dolphindb.log 我发现dolphindb.log中显示错误 像这样 I'm sure this directory exists.why did I fail to start PersistenceManager? 我确定该目录存在。为什么我无法启动PersistenceManager?

Please remove the double quote enclosing the path. 请删除包含路径的双引号。 DolphinDB doesn't use any double quote for parameter values in configuration file. DolphinDB在配置文件中不对参数值使用任何双引号。

persistenceDir=C:\DolphinDB\streamPersistence

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM