运行datomic sure-transactor时java.io.FileNotFoundException

皱纹

我正在尝试学习原子学,并发现原子学的设置和配置过程具有很高的学习曲线。

我遇到的一个奇怪的问题-我希望是由于一些愚蠢的错误-是当我尝试运行时,datomic ensure-transactor我发现属性文件出现文件未找到错误。

您必须相信我该文件存在。我什至还打开了文件的所有权限,以防万一这是一个权限问题。

我的属性文件如下所示(已删除许可等)-我正在尝试为dynamodb本地实例设置安装程序。我还使用brew(brew install dynamodb-local安装了dyanmodb-local

################################################################

protocol=ddb-local
host=localhost
port=4334



################################################################
# See http://docs.datomic.com/storage.html

license-key=[license here]



################################################################
# See http://docs.datomic.com/storage.html
# DynamoDB storage settings

aws-dynamodb-table=datemo

# See http://docs.amazonwebservices.com/general/latest/gr/rande.html#ddb_region
# aws-dynamodb-region=us-east-1

# To use DynamoDB Local, change the protocol (above) to ddb-local.
# Comment out aws-dynamodb-region, and instead use aws-dynamodb-override-endpoint
aws-dynamodb-override-endpoint=localhost:8080



################################################################
# See http://docs.datomic.com/storage.html
# This role has read and write access to storage and
# is used by the transactor to read and write data. Optionally,
# this role also has write access to an S3 bucket used for log
# storage and to CloudWatch for metrics, if those features are
# enabled.
# (Can be auto-generated by bin/datomic ensure-transactor.)

aws-transactor-role=



################################################################
# See http://docs.datomic.com/storage.html
# This role has read-only access to storage and
# is used by peers to read data.
# (Can be auto-generated by bin/datomic ensure-transactor.)

aws-peer-role=



################################################################
# See http://docs.datomic.com/capacity.html


# Recommended settings for -Xmx4g production usage.
# memory-index-threshold=32m
# memory-index-max=512m
# object-cache-max=1g

# Recommended settings for -Xmx1g usage, e.g. dev laptops.
memory-index-threshold=32m
memory-index-max=256m
object-cache-max=128m



## OPTIONAL ####################################################


# Set to false to disable SSL between the peers and the transactor.
# Default: true
# encrypt-channel=true

# Data directory is used for dev: and free: storage, and
# as a temporary directory for all storages.
# data-dir=data

# Transactor will log here, see bin/logback.xml to configure logging.
# log-dir=log

# Transactor will write process pid here on startup
# pid-file=transactor.pid



## OPTIONAL ####################################################
# See http://docs.datomic.com/storage.html
# Memcached configuration.

# memcached=host:port,host:port,...
# memcached-username=datomic
# memcached-password=datomic



## OPTIONAL ####################################################
# See http://docs.datomic.com/capacity.html


# Soft limit on the number of concurrent writes to storage.
# Default: 4, Miniumum: 2
# write-concurrency=4

# Soft limit on the number of concurrent reads to storage.
# Default: 2 times write-concurrency, Miniumum: 2
# read-concurrency=8



## OPTIONAL ####################################################
# See http://docs.datomic.com/aws.html
# Optional settings for rotating logs to S3
# (Can be auto-generated by bin/datomic ensure-transactor.)

# aws-s3-log-bucket-id=



## OPTIONAL ####################################################
# See http://docs.datomic.com/aws.html
# Optional settings for Cloudwatch metrics.
# (Can be auto-generated by bin/datomic ensure-transactor.)

# aws-cloudwatch-region=

# Pick a unique name to distinguish transactor metrics from different systems.
# aws-cloudwatch-dimension-value=your-system-name



## OPTIONAL ####################################################
# See http://docs.datomic.com/ha.html


# The transactor will write a heartbeat into storage on this interval.
# A standby transactor will take over if it sees the heartbeat go 
# unwritten  for 2x this interval. If your transactor load leads to 
# long gc pauses, you can increase this number to prevent the standby 
# transactor from unnecessarily taking over during a long gc pause.
# Default: 5000, Miniumum: 5000
# heartbeat-interval-msec=5000



## OPTIONAL ####################################################


# The transactor will use this partition for new entities that
# do not explicitly specify a partition.
# Default: :db.part/user
# default-partition=:db.part/user

如果有任何人可以让我挺直,那将不胜感激。

皱纹

答案是必须ensure-transactor从datomic软件包的根目录管理员那里运行对于大多数(但不是全部)自动脚本来说,这显然是正确的。它似乎特别适合一次性脚本,就像ensure-transactor您只运行一次一样。

本文收集自互联网,转载请注明来源。

如有侵权,请联系[email protected] 删除。

编辑于
0

我来说两句

0条评论
登录后参与评论

相关文章

来自分类Dev

使用Jsoup时java.io.FileNotFoundException

来自分类Dev

提交时出现java.io.FileNotFoundException

来自分类Dev

使用Jsoup时java.io.FileNotFoundException

来自分类Dev

创建FileInputStream时java.io.FileNotFoundException

来自分类Dev

Android - java.io.FileNotFoundException

来自分类Dev

Android-java.io.FileNotFoundException

来自分类Dev

解析configurationjava.io.FileNotFoundException时出错:

来自分类Dev

java.io.FileNotFoundException仅在AsyncTask内部运行时发生

来自分类Dev

Android URL连接java.io.FileNotFoundException

来自分类Dev

java.io.FileNotFoundException错误消息

来自分类Dev

关键工具错误:java.io.FileNotFoundException

来自分类Dev

java.io.FileNotFoundException,打开失败:ENOENT

来自分类Dev

java.io.FileNotFoundException中的访问被拒绝

来自分类Dev

ContextConfiguration抛出java.io.FileNotFoundException:

来自分类Dev

关键工具错误:java.io.FileNotFoundException

来自分类Dev

如何避免此java.io.FileNotFoundException?

来自分类Dev

inputStream 给出 java.io.FileNotFoundException

来自分类Dev

Opencsv 中的 java.io.FileNotFoundException

来自分类Dev

java.io.FileNotFoundException:访问REST服务时

来自分类Dev

读取.csv文件时出现java.io.FileNotFoundException

来自分类Dev

使用Yahoo API时java.io.FileNotFoundException

来自分类Dev

运行PeriodicTask时出现FileNotFoundException

来自分类Dev

IO 异常 java.io.FileNotFoundException: (文件名太长)

来自分类Dev

在Yarn群集上运行的Spark作业java.io.FileNotFoundException:即使文件在主节点上退出,文件也不会退出

来自分类Dev

当文件确实存在时,C#System.IO.FileNotFoundException

来自分类Dev

Java-拒绝访问java.io.FileNotFoundException

来自分类Dev

尽管使用chmod 777,但java.io.FileNotFoundException(权限被拒绝)

来自分类Dev

新EMR群集上的java.io.FileNotFoundException错误

来自分类Dev

错误:任务':app:compileDebugJavaWithJavac'的执行失败。java.io.FileNotFoundException:

Related 相关文章

  1. 1

    使用Jsoup时java.io.FileNotFoundException

  2. 2

    提交时出现java.io.FileNotFoundException

  3. 3

    使用Jsoup时java.io.FileNotFoundException

  4. 4

    创建FileInputStream时java.io.FileNotFoundException

  5. 5

    Android - java.io.FileNotFoundException

  6. 6

    Android-java.io.FileNotFoundException

  7. 7

    解析configurationjava.io.FileNotFoundException时出错:

  8. 8

    java.io.FileNotFoundException仅在AsyncTask内部运行时发生

  9. 9

    Android URL连接java.io.FileNotFoundException

  10. 10

    java.io.FileNotFoundException错误消息

  11. 11

    关键工具错误:java.io.FileNotFoundException

  12. 12

    java.io.FileNotFoundException,打开失败:ENOENT

  13. 13

    java.io.FileNotFoundException中的访问被拒绝

  14. 14

    ContextConfiguration抛出java.io.FileNotFoundException:

  15. 15

    关键工具错误:java.io.FileNotFoundException

  16. 16

    如何避免此java.io.FileNotFoundException?

  17. 17

    inputStream 给出 java.io.FileNotFoundException

  18. 18

    Opencsv 中的 java.io.FileNotFoundException

  19. 19

    java.io.FileNotFoundException:访问REST服务时

  20. 20

    读取.csv文件时出现java.io.FileNotFoundException

  21. 21

    使用Yahoo API时java.io.FileNotFoundException

  22. 22

    运行PeriodicTask时出现FileNotFoundException

  23. 23

    IO 异常 java.io.FileNotFoundException: (文件名太长)

  24. 24

    在Yarn群集上运行的Spark作业java.io.FileNotFoundException:即使文件在主节点上退出,文件也不会退出

  25. 25

    当文件确实存在时,C#System.IO.FileNotFoundException

  26. 26

    Java-拒绝访问java.io.FileNotFoundException

  27. 27

    尽管使用chmod 777,但java.io.FileNotFoundException(权限被拒绝)

  28. 28

    新EMR群集上的java.io.FileNotFoundException错误

  29. 29

    错误:任务':app:compileDebugJavaWithJavac'的执行失败。java.io.FileNotFoundException:

热门标签

归档