You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@phoenix.apache.org by Bernard Quizon <be...@stellarloyalty.com> on 2017/12/08 11:32:48 UTC

Phoenix Spark - Table With Schema Table Not Found

Hi,

I'm getting:

org.apache.phoenix.schema.TableNotFoundException: ERROR 1012 (42M03): Table
undefined. tableName=T1.TABLE

Whenever I run:

    val rdd: RDD[Map[String, AnyRef]] = sc.phoenixTableAsRDD(
      "T1.TABLE", Seq("C1", "C2"), zkUrl = Some("localhost:2181")
    )

Is there an issue with phoenix spark when used on a table with schema?
I don't encounter this issue on tables with no schema.
BTW, I'm on HDP 2.4.



Thanks!