Skip to content

tweets temp table not exists error #1

Open

Description

@JhansiA

@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.

Activity

  1. kmillanr commented on Mar 18, 2019

    @kmillanr

    same issue

  2. MohammadHeydari commented on Oct 5, 2019

    @MohammadHeydari

    I have the same issue either

  3. rpalaani30 commented on Apr 2, 2020

    @rpalaani30

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions