SDK Standalone doesn't work with node 0.12.0

Description

I tried to deploy an app using the GUI ("Load an app"); GUI hangs, and error message in the log. No apps will deploy. I'll try the CLI.

Release Notes

None

Attachments

1

Activity

Show:

Ajai Narayanan March 17, 2015 at 7:44 PM

We have updated the docs of 2.6, 2.7 and 2.8 about the Node versions that we support.

The corresponding PRs :
https://github.com/caskdata/cdap/pull/1659
https://github.com/caskdata/cdap/pull/1658
https://github.com/caskdata/cdap/pull/1657

John Jackson March 14, 2015 at 3:25 AM

We (Parth, Ajai and I) met today over a hangout and looked into this. Ajai was able to duplicate the problem; it only shows upon the standalone (not when running directly from the IDE) and so may be a packaging issue with the libraries used in the standalone. A decision needs to be made if this is fixable for the 2.8.0 release, or if we should just say that CDAP doesn't work with node > 0.11.x.

John Jackson March 13, 2015 at 3:55 AM

OK, I've nailed this down. 2.8.0 SDK doesn't work with node 0.12.0.

I had installed node 0.12.0 to use some tools for doing Coopr screenshots...and then the SDK stopped working. Took all afternoon to figure out.

– We should have some debugging in the logs to help in debugging this, because nothing was showing an error.
– If we can't work with the latest version of node (or anything else), we should put something in the start script to not start and put out an appropriate message
– We need to add to docs about this upper bound. We should say "has been tested with node 0.10.32"...
– We should also think about how we can make it easier to find out about this: apparently Dawoud ran into this.

John Jackson March 12, 2015 at 10:21 PM

I tried the CLI. It was able to deploy an app, and lists it, but the app does not show up in the GUI.

By GUI, I mean the current 2.x series GUI, not the new 3.x series GUI. (I haven't tried that.)

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Affects versions

Components

Fix versions

Priority

Created March 12, 2015 at 10:09 PM
Updated March 27, 2015 at 7:31 PM
Resolved March 17, 2015 at 7:44 PM