admin管理员组文章数量:1334194
I would like to call node.js program from spark-submit, using Spark API within JavaScript. Is there any implementation of this API in JavaScript?
I know one can call external mapper and reducer (written in JavaScript) from Hadoop, but I want to be able to run the plete program as one job from Spark.
I would like to call node.js program from spark-submit, using Spark API within JavaScript. Is there any implementation of this API in JavaScript?
I know one can call external mapper and reducer (written in JavaScript) from Hadoop, but I want to be able to run the plete program as one job from Spark.
Share Improve this question asked Jun 30, 2015 at 17:18 Diamond DutchDiamond Dutch 511 silver badge5 bronze badges 1- There's github./syzer/JS-Spark – Andrew Commented Jan 22, 2016 at 1:34
2 Answers
Reset to default 4There is a new project called EclairJS that is providing a Spark API from Node and JavaScript, see https://github./EclairJS/eclairjs-node.
I don't believe there is a current JavaScript spark wrapper, however I'd check out the information on the Spark pipe interface, this will allow you to use your JavaScript code from within Spark. Best of luck with your Spark & Javascript adventures (sadly there was an april fools joke about Spark & ScalaJS which makes searching for information on Spark + Javascript a little bit tricky).
本文标签: javascriptApache Spark and nodejsStack Overflow
版权声明:本文标题:javascript - Apache Spark and node.js - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742294620a2448471.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论