Comments (6)
Was having the same problem, solved by doing apt-get update && apt-get install libxml2 libxml2-dev make gcc g++ curl python3-dev && pip3 install --upgrade bblfsh
on pod and workers
from jgit-spark-connector.
the --packages
command is downloading the file from here: http://repo1.maven.org/maven2/tech/sourced/engine/0.6.1/engine-0.6.1.jar
Can you try downloading this jar file and trying it using --jars
?
from jgit-spark-connector.
Actually I ran into this problems afterwards, but was able to solve by cleaning up my workers after installing new bblfsh
, e.g.
kubectl exec -it l-spark-spark-worker-<id>
rm -r /opt/spark/jars/*
ls -l /usr/local/lib/python3.4/dist-packages/pyspark/jars | wc -l
# 209 jars
cp /usr/local/lib/python3.4/dist-packages/pyspark/jars/*.jar /opt/spark/jars/
cp /opt/spark-2.2.0-bin-hadoop2.7/jars/
ls -l /opt/spark-2.2.0-bin-hadoop2.7/work/app-20180429202823-0200/10/*.jar | wc -l
# 51 jars (this folder was created after reproducing this issue)
cp /opt/spark-2.2.0-bin-hadoop2.7/work/app-20180429202823-0200/10/*.jar /opt/spark/jars/
It seemed to fix the problem for me, I was able to run extract UAST afterwords with no problem. You may want to delete the ivy2
cache before running the shell just in case, too.
from jgit-spark-connector.
@ajnavarro I have tried it already. Look at the second case from the description:
# wget http://repo1.maven.org/maven2/tech/sourced/engine/0.6.1/engine-0.6.1.jar
# spark-shell --jars /engine-0.6.1.jar --master=spark://p-spark-master:7077
@r0mainK thanks for insights! Interesting!
from jgit-spark-connector.
@smacker, did the insights given by @r0mainK work for you?
from jgit-spark-connector.
just cleaning up /opt/spark/jars/*
helped
from jgit-spark-connector.
Related Issues (20)
- Return of org.eclipse.jgit.errors.RevWalkException: Walk failure HOT 2
- [feature request] Handy handling of bad siva-files HOT 2
- Modify requirements file, Pyspark version HOT 2
- Add a configuration flag to skip siva read errors
- [Change] Files not cleaned in /tmp folder on Spark Workers when using apollo HOT 2
- commits filtering counterintuitive behaviour HOT 1
- Engine fails to extract UASTs on actual Spark cluster HOT 5
- Latest version of Docker image engine-jupyter missing bblfsh HOT 6
- Expose Bblfsh UAST extraction errors in Engine
- Jupyter example notebook doesn't work out-of-the-box
- Docker Hub 'latest' image doesn't point to master Dockerfile. HOT 2
- Missing dependencies for pyspark in README HOT 6
- Build and test process leave the repository in dirty state for git describe HOT 3
- Engine fails on siva files from pipeline-staging cluster HOT 14
- Update README with EOL
- "standard" repository format does not work HOT 7
- ReferencesDataFrame files property HOT 4
- WARN Repository: close() called when useCnt is already zero
- WARN CommitIterator: missing object HOT 1
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 jgit-spark-connector.