Comments (4)
I upgraded the node version, but I am still getting the error.
from apache-spark-node.
@pola88 what is the upgraded node version you tried with? And did you get the same error message?
from apache-spark-node.
Hmm, actually I just tried running with node 0.12.7 and I get the same error as you. Not sure when that broke as I initially developed with 0.12 (as noted in the README which is now incorrect).
I've recently been using 4.x which works fine. I'd suggest using that for the time being.
I'll keep this issue open to look into the 0.12 breakage.
from apache-spark-node.
Thanks @henridf , I have upgraded to 0.12.7 as noted in the README and I still get the same error message.
Changing the name of a function (length
in lib/functions.js:1317) it works.
When I require the package in my node project, I must to pass an empty string as argument and also I got an error from Java, but I can use it anyway.
import ApacheSparkNode from 'apache-spark-node';
let apacheSparkNode = ApacheSparkNode('');
let df = apacheSparkNode.sqlContext.read().jsonSync('/Users/pola/spark-test/data/people.json');
The error Java is:
ERROR SparkContext: Error adding jar (java.lang.IllegalArgumentException: /Users/pola/spark-test cannot be a directory.), was the --addJars option used?
Thanks in advance,
PoLa.
from apache-spark-node.
Related Issues (20)
- Write up instructions for using with a notebook HOT 6
- Failure at installation HOT 2
- How to connect to s Spark Standalone Cluster? HOT 2
- Question: Is it somehow possible to use a Context and execute statements in parallel? HOT 6
- Async APIs HOT 1
- Support concurrent jobs HOT 1
- Add promise version of async functions
- Make spark-node ES7-aware
- unionAll not working? HOT 2
- Failed to start spark-node with No Java runtime present error. HOT 1
- Querying a cassandra DB via spark HOT 3
- Would you like the "spark" module name on npm? HOT 3
- Streaming support from kafka ? HOT 1
- unable to install HOT 5
- Read data from mysql HOT 5
- Unable to install module with node version of 8.1.4 HOT 1
- node-gyp binding error on windows10 HOT 2
- Error with ASSEMBLY_JAR
- Let's reactivate the project?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apache-spark-node.