Skip to content

tweets temp table not exists error #1

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

Open
JhansiA opened this issue Jan 23, 2019 · 3 comments
Open

tweets temp table not exists error #1

JhansiA opened this issue Jan 23, 2019 · 3 comments

Comments

@JhansiA
Copy link

JhansiA commented Jan 23, 2019

@matthew-mcateer Hi, I am running the code in local instead of VM, the code was running fine in VM and able to see the twitter data but in local i am facing issue like Py4JJavaError: An error occurred while calling o25.sql.
: org.apache.spark.sql.AnalysisException: Table or view not found: tweets; line 1 pos 23

Any help ?

image

While debugging, when i compare VM and local machine, after the streaming started,
My local :
image

VM:
image

So the tweets table is not creating in my local. I have not figured the solution yet.

@kmillanr
Copy link

same issue

@MohammadHeydari
Copy link

I have the same issue either

@rpalaani30
Copy link

The issue could be

  1. your spark default is in yarn, change it local mode.

2.There is only one executor working, which is receiving message, but no executor is processing message.

Solution: while opening your jupyter follow the below command.(ensure your pyspark2 by default opens in jupyter)

[cloudera@quickstart ~]$ pyspark2 --master local[2]

This should solve your 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

4 participants