沙师弟,师父的充电器掉了

java.nio.file.AccessDeniedException:

Elasticsearch | 作者 qq123 | 发布于2016年10月09日 | 阅读数:14512

ElasticsearchException[failed to refresh store stats]; nested: AccessDeniedException[D:\es_data\masspick\nodes\0\indices\company\2\index\_9nk_Lucene54_0.dvm];
    at org.elasticsearch.index.store.Store$StoreStatsCache.refresh(Store.java:1534)
    at org.elasticsearch.index.store.Store$StoreStatsCache.refresh(Store.java:1519)
    at org.elasticsearch.common.util.SingleObjectCache.getOrRefresh(SingleObjectCache.java:55)
    at org.elasticsearch.index.store.Store.stats(Store.java:293)
    at org.elasticsearch.index.shard.IndexShard.storeStats(IndexShard.java:665)
    at org.elasticsearch.action.admin.indices.stats.CommonStats.<init>(CommonStats.java:134)
    at org.elasticsearch.action.admin.indices.stats.TransportIndicesStatsAction.shardOperation(TransportIndicesStatsAction.java:165)
    at org.elasticsearch.action.admin.indices.stats.TransportIndicesStatsAction.shardOperation(TransportIndicesStatsAction.java:47)
    at org.elasticsearch.action.support.broadcast.node.TransportBroadcastByNodeAction$BroadcastByNodeTransportRequestHandler.onShardOperation(TransportBroadcastByNodeAction.java:409)
    at org.elasticsearch.action.support.broadcast.node.TransportBroadcastByNodeAction$BroadcastByNodeTransportRequestHandler.messageReceived(TransportBroadcastByNodeAction.java:388)
    at org.elasticsearch.action.support.broadcast.node.TransportBroadcastByNodeAction$BroadcastByNodeTransportRequestHandler.messageReceived(TransportBroadcastByNodeAction.java:375)
    at org.elasticsearch.transport.netty.MessageChannelHandler$RequestHandler.doRun(MessageChannelHandler.java:299)
    at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.nio.file.AccessDeniedException: D:\es_data\masspick\nodes\0\indices\company\2\index\_9nk_Lucene54_0.dvm
    at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:83)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:97)
    at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.java:102)
    at sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:53)
    at sun.nio.fs.WindowsFileAttributeViews$Basic.readAttributes(WindowsFileAttributeViews.java:38)
    at sun.nio.fs.WindowsFileSystemProvider.readAttributes(WindowsFileSystemProvider.java:193)
    at java.nio.file.Files.readAttributes(Files.java:1686)
    at java.nio.file.Files.size(Files.java:2275)
    at org.apache.lucene.store.FSDirectory.fileLength(FSDirectory.java:209)
    at org.apache.lucene.store.FilterDirectory.fileLength(FilterDirectory.java:67)
    at org.apache.lucene.store.FilterDirectory.fileLength(FilterDirectory.java:67)
    at org.elasticsearch.index.store.Store$StoreStatsCache.estimateSize(Store.java:1543)
    at org.elasticsearch.index.store.Store$StoreStatsCache.refresh(Store.java:1532)
    ... 15 more
已邀请:

要回复问题请先登录注册