This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-11-15
Channels
- # beginners (138)
- # bigdata (2)
- # boot (45)
- # cljsrn (29)
- # clojure (108)
- # clojure-austin (1)
- # clojure-gamedev (1)
- # clojure-korea (9)
- # clojure-russia (50)
- # clojure-spec (2)
- # clojure-uk (28)
- # clojurescript (40)
- # component (1)
- # cursive (35)
- # datomic (39)
- # dirac (16)
- # emacs (22)
- # flambo (11)
- # funcool (6)
- # hoplon (74)
- # leiningen (4)
- # off-topic (1)
- # om-next (2)
- # onyx (141)
- # planck (7)
- # proton (10)
- # protorepl (4)
- # re-frame (21)
- # reagent (13)
- # remote-jobs (1)
- # ring (3)
- # specter (9)
- # sql (3)
- # test-check (14)
- # untangled (1)
- # vim (9)
- # yada (16)
I would be very interested to see some information from the Datomic crew about using Spec with entities. It seems not to work right now, since entities aren't maps.
There is a jira ticket about this FYI
Roughly following https://github.com/mrmcc3/tf_aws_datomic/blob/master/scripts/bootstrap-transactor.sh but my transactor EC2 nodes are coming up - just getting stuck installing package etc
@jonpither i have of fork of that repo that also sets up a HTTP rest peer. Most problems are coming from malformed license key.
@jonpither also check out https://libraries.io/github/robert-stuttaford/terraform-example
does the AMI is uses for the transaction cater for SSH-ing on to see the state of it?
@pesterhazy am working with @robert-stuttaford's repo now
but when the transaction EC2 doesn't come up, I can't find any possible way to debug it
@jonpither is yout transactor cycling? ie starting up and shutting down repeatedly?
the EC2 instance i mean
twice earlier it just never finished - the third time it seems to work, but without any logs or SSH access hard to determine if actually working
presumably with the AMI used in the terraform-example, if you specific a key-name you should be able to ssh on?
take a peek into dynamo table
if it connects it will put data there with its own ip address
never looked there. Had a lot of headaches with spinning up a transactor and i checked the table to see if it is up.
If the Transactor seems to never "start" but it doesn't immediately terminate, you can sometimes infer some things by getting the EC2 Console log.
For example, I've seen images fail to start because the base image is configured to update core packages on boot, and it can time out hitting package repositories.
@stuartsierra thanks. My transactor is working, but there's some issue in my setup that means I can't easily ssh on to check out logs - I think a fresh brain tomorrow will help 🙂 Is this SSH'ing on the transactor something you ever do?
No, you cannot SSH into the default Transactor AMI.
@jonpither If you’re using our provide AMI, SSH is not enabled
it will rotate logs to S3 if you’ve configured the transactor properties file to do so
there's no logs in S3 other than a probe - it's possible I simple haven't started using it yet - logs shall appear
so logs will only appear in s3 at the end of the day. What do you advise for seeing real time transactor logs?
The map form of datomic queries seems easier to transform e.g. when looking to add shared complex conditions, but the list form is ubiquitous. Is there a datomic fn I’ve overlooked that transforms the list form into the map form?
Perhaps more to the point, when composing queries from complex shared criteria, do folk tend to pass the queries to fns that add the requisite criteria, or conj
the shared criteria from whatever registry they live in into the query being constructed?