phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernard Quizon <bernard.qui...@stellarloyalty.com>
Subject Phoenix Spark - Table With Schema Table Not Found
Date Fri, 08 Dec 2017 11:32:48 GMT
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!

Mime
View raw message