[ 
https://issues.apache.org/jira/browse/IOTDB-614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17090209#comment-17090209
 ] 

Xiangdong Huang commented on IOTDB-614:
---------------------------------------

Hi, I think the reason is the same with IOTDB-470, which has been fixed in 
v0.8.2. 

Please have a try.

> org.apache.iotdb.db.service.IoTDBShutdownHook:32 - IoTDB exits.
> ---------------------------------------------------------------
>
>                 Key: IOTDB-614
>                 URL: https://issues.apache.org/jira/browse/IOTDB-614
>             Project: Apache IoTDB
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 0.8.1
>         Environment: Windows10
>            Reporter: Mr.Hu
>            Priority: Major
>
> 启动服务端报错:
> Detect 64-bit Java, maximum memory allocation pool = 2GB, initial memory 
> allocation pool = 2GB
> If you want to change this configuration, please check conf/iotdb-env.sh(Unix 
> or OS X, if you use Windows, check conf/iotdb-env.bat).
> 2020-04-23 10:06:02,208 [main] INFO 
> org.apache.iotdb.db.service.StartupChecks:47 - JMX is enabled to receive 
> remote connection on port 31999
> 2020-04-23 10:06:02,212 [main] INFO 
> org.apache.iotdb.db.service.StartupChecks:57 - JDK veriosn is 8.
> 2020-04-23 10:06:02,212 [main] INFO org.apache.iotdb.db.service.IoTDB:74 - 
> Setting up IoTDB...
> 2020-04-23 10:06:02,226 [main] INFO 
> org.apache.iotdb.db.conf.IoTDBDescriptor:90 - Start to read config file 
> F:\DWF\apache-iotdb-0.8.1-incubating-bin\apache-iotdb-0.8.1-incubating\conf\iotdb-engine.properties
> 2020-04-23 10:06:02,227 [main] INFO 
> org.apache.iotdb.db.conf.IoTDBDescriptor:110 - The 
> stat_monitor_detect_freq_sec value is smaller than default, use default value
> 2020-04-23 10:06:02,227 [main] INFO 
> org.apache.iotdb.db.conf.IoTDBDescriptor:117 - The 
> stat_monitor_retain_interval_sec value is smaller than default, use default 
> value
> 2020-04-23 10:06:02,228 [main] INFO 
> org.apache.iotdb.db.conf.IoTDBDescriptor:220 - Time zone has been set to 
> +08:00
> 2020-04-23 10:06:02,296 [main] INFO 
> org.apache.iotdb.db.engine.version.SimpleFileVersionController:81 - Version 
> file updated, previous: 
> F:\DWF\apache-iotdb-0.8.1-incubating-bin\apache-iotdb-0.8.1-incubating\data\system\storage_groups\root.turling\Version-800,
>  current: 
> F:\DWF\apache-iotdb-0.8.1-incubating-bin\apache-iotdb-0.8.1-incubating\data\system\storage_groups\root.turling\Version-900
> 2020-04-23 10:06:02,296 [main] INFO 
> org.apache.iotdb.db.engine.storagegroup.StorageGroupProcessor:177 - recover 
> Storage Group root.turling
> 2020-04-23 10:06:02,299 [main] INFO 
> org.apache.iotdb.db.conf.directories.DirectoryManager:81 - create folder 
> F:\DWF\apache-iotdb-0.8.1-incubating-bin\apache-iotdb-0.8.1-incubating\data\data\sequence
>  failed. Is the folder existed: true
> 2020-04-23 10:06:02,300 [main] INFO 
> org.apache.iotdb.db.conf.directories.DirectoryManager:81 - create folder 
> F:\DWF\apache-iotdb-0.8.1-incubating-bin\apache-iotdb-0.8.1-incubating\data\data\unsequence
>  failed. Is the folder existed: true
> 2020-04-23 10:06:02,336 [main] ERROR 
> org.apache.iotdb.db.concurrent.IoTDBDefaultThreadExceptionHandler:31 - 
> Exception in thread main-1
> java.lang.ExceptionInInitializerError: null
>  at org.apache.iotdb.db.service.IoTDB.setUp(IoTDB.java:91)
>  at org.apache.iotdb.db.service.IoTDB.active(IoTDB.java:63)
>  at org.apache.iotdb.db.service.IoTDB.main(IoTDB.java:49)
> Caused by: java.lang.NullPointerException: null
>  at java.util.EnumMap.typeCheck(EnumMap.java:743)
>  at java.util.EnumMap.put(EnumMap.java:267)
>  at java.util.EnumMap.put(EnumMap.java:79)
>  at java.util.Map.computeIfAbsent(Map.java:958)
>  at 
> org.apache.iotdb.db.rescon.TVListAllocator.allocate(TVListAllocator.java:54)
>  at 
> org.apache.iotdb.db.engine.memtable.PrimitiveMemTable.genMemSeries(PrimitiveMemTable.java:39)
>  at 
> org.apache.iotdb.db.engine.memtable.AbstractMemTable.createIfNotExistAndGet(AbstractMemTable.java:74)
>  at 
> org.apache.iotdb.db.engine.memtable.AbstractMemTable.write(AbstractMemTable.java:95)
>  at 
> org.apache.iotdb.db.engine.memtable.AbstractMemTable.insert(AbstractMemTable.java:85)
>  at 
> org.apache.iotdb.db.writelog.recover.LogReplayer.replayInsert(LogReplayer.java:138)
>  at 
> org.apache.iotdb.db.writelog.recover.LogReplayer.replayLogs(LogReplayer.java:94)
>  at 
> org.apache.iotdb.db.writelog.recover.TsFileRecoverPerformer.recover(TsFileRecoverPerformer.java:149)
>  at 
> org.apache.iotdb.db.engine.storagegroup.StorageGroupProcessor.recoverSeqFiles(StorageGroupProcessor.java:213)
>  at 
> org.apache.iotdb.db.engine.storagegroup.StorageGroupProcessor.recover(StorageGroupProcessor.java:181)
>  at 
> org.apache.iotdb.db.engine.storagegroup.StorageGroupProcessor.<init>(StorageGroupProcessor.java:173)
>  at org.apache.iotdb.db.engine.StorageEngine.<init>(StorageEngine.java:89)
>  at org.apache.iotdb.db.engine.StorageEngine.<clinit>(StorageEngine.java:68)
>  ... 3 common frames omitted
> 2020-04-23 10:06:02,349 [Thread-1] INFO 
> org.apache.iotdb.db.service.IoTDBShutdownHook:32 - IoTDB exits. Jvm memory 
> usage: 0 GB 108 MB 258 KB 216 B



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to