Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PYTHON_PYSPARK problem #2

Open
mrhdy opened this issue Jul 8, 2020 · 0 comments
Open

PYTHON_PYSPARK problem #2

mrhdy opened this issue Jul 8, 2020 · 0 comments

Comments

@mrhdy
Copy link

mrhdy commented Jul 8, 2020

Run tweet_listener.py with Python version 3 and desired topic name.
PYSPARK_PYTHON=python3 bin/spark-submit tweet_listener.py "Game of Thrones"

Run twitter_topic_avg_sentiment_val.py with Python version 3.
PYSPARK_PYTHON=python3 bin/spark-submit --packages org.apache.spark:spark-sql-kafka-0-10_2.11:2.1.1 twitter_topic_avg_sentiment_val.py

I am new about spark, when i will write PYSPARK_PYTHON=python3 bin/spark-submit tweet_listener.py "Game of Thrones" to command window it isays;

'PYSPARK_PYTHON' is not recognized as an internal or external command,
operable program or batch file.

what should i do about this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant