This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-05-25
Channels
- # beginners (27)
- # boot (49)
- # cider (51)
- # cljs-dev (29)
- # cljsjs (1)
- # cljsrn (19)
- # clojure (59)
- # clojure-austin (2)
- # clojure-belgium (19)
- # clojure-china (1)
- # clojure-dev (14)
- # clojure-dusseldorf (7)
- # clojure-russia (8)
- # clojure-spec (115)
- # clojure-uk (45)
- # clojurescript (118)
- # css (6)
- # cursive (8)
- # datascript (20)
- # datomic (32)
- # emacs (5)
- # events (2)
- # flambo (21)
- # hoplon (58)
- # incanter (8)
- # jobs-rus (1)
- # jobs_rus (1)
- # off-topic (3)
- # om (22)
- # om-next (9)
- # onyx (5)
- # other-languages (79)
- # re-frame (126)
- # reagent (6)
- # ring (7)
- # specter (1)
- # untangled (119)
- # yada (38)
@sorenmacbeth: You mentioned setting up an nrepl server on the cluster and connecting to it remotely. Is there a way to do this on a standard edge node without having to install anything on the system? If so, what files do I need to copy over to the edge node?
@stephenmhopper: what do you mean edge node? I add the code to start an nrepl server on a port into my flambo application uberjar, and then call that function via spark-submit
on the cluster
I then connect to that host and port with the nrepl client in emacs
@sorenmacbeth: oh. So I’m still building and deploying my app as an uberjar, I’m just binding the nrepl server to a port
Do you have a code snippet or blog post that I could use as a reference for this?
Also, would it be possible to just do this via SSH tunneling? The sys ops guys get nervous and start asking questions if I just open ports on their machines
sure you can ssh tunnel to it
it’s working
@sorenmacbeth: This is a n00b question, but I’m using cursive instead of cider and emacs. Can I still use the cider library to get my output to print out both on my local machine and in my terminal session?
@sorenmacbeth: I think I have this mostly figured out, but I have a couple lingering questions:
1. When you connect via nrepl, are you starting your uberjar using spark-submit, or java -jar?
nvmd, everything is working
@sorenmacbeth this is pretty cool. Thank you so much for your work on this project.
@stephenmhopper: great! glad you got it working
that moment when your long ass stream of interop calls works the first time
i should probably go buy a lottery ticket right now
and just quit while i’m ahead
and open a sandwich shop or something