From dev-return-56356-apmail-phoenix-dev-archive=phoenix.apache.org@phoenix.apache.org Mon May 6 10:03:03 2019 Return-Path: X-Original-To: apmail-phoenix-dev-archive@minotaur.apache.org Delivered-To: apmail-phoenix-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with SMTP id 011221984E for ; Mon, 6 May 2019 10:03:02 +0000 (UTC) Received: (qmail 15990 invoked by uid 500); 6 May 2019 10:03:02 -0000 Delivered-To: apmail-phoenix-dev-archive@phoenix.apache.org Received: (qmail 15952 invoked by uid 500); 6 May 2019 10:03:02 -0000 Mailing-List: contact dev-help@phoenix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@phoenix.apache.org Delivered-To: mailing list dev@phoenix.apache.org Received: (qmail 15941 invoked by uid 99); 6 May 2019 10:03:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 May 2019 10:03:02 +0000 Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 488A0E2B4A for ; Mon, 6 May 2019 10:03:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 9AF8825813 for ; Mon, 6 May 2019 10:03:00 +0000 (UTC) Date: Mon, 6 May 2019 10:03:00 +0000 (UTC) From: "Ladislav Jech (JIRA)" To: dev@phoenix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (PHOENIX-5270) java.lang.AbstractMethodError: org.apache.phoenix.spark.DefaultSource.createRelation MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/PHOENIX-5270?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ladislav Jech updated PHOENIX-5270: ----------------------------------- Environment:=20 Spark env (localhost): =C2=A0 {code:java} Welcome to ____ __ / __/__ ___ _____/ /__ _\ \/ _ \/ _ `/ __/ '_/ /___/ .__/\_,_/_/ /_/\_\ version 2.4.2 /_/ Using Scala version 2.12.8 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_2= 02) Type in expressions to have them evaluated. Type :help for more information.{code} =C2=A0 =C2=A0 Hbase version (on cloudera cluster):=C2=A0HBase 1.2.0-cdh5.12.2 Phoenix distro used used:=C2=A0apache-phoenix-4.14.0-cdh5.14.2-bin and=C2= =A0apache-phoenix-4.14.1-HBase-1.2-bin i tried. was: Spark env (localhost): =C2=A0 {code:java} Welcome to ____ __ / __/__ ___ _____/ /__ _\ \/ _ \/ _ `/ __/ '_/ /___/ .__/\_,_/_/ /_/\_\ version 2.4.2 /_/ Using Scala version 2.12.8 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_2= 02) Type in expressions to have them evaluated. Type :help for more information.{code} =C2=A0 =C2=A0 Hbase version (on cloudera cluster):=C2=A0HBase 1.2.0-cdh5.12.2 Phoenix distro used used:=C2=A0apache-phoenix-4.14.0-cdh5.14.2-bin > java.lang.AbstractMethodError: org.apache.phoenix.spark.DefaultSource.cre= ateRelation > -------------------------------------------------------------------------= ----------- > > Key: PHOENIX-5270 > URL: https://issues.apache.org/jira/browse/PHOENIX-5270 > Project: Phoenix > Issue Type: Bug > Environment: Spark env (localhost): > =C2=A0 > {code:java} > Welcome to > ____ __ > / __/__ ___ _____/ /__ > _\ \/ _ \/ _ `/ __/ '_/ > /___/ .__/\_,_/_/ /_/\_\ version 2.4.2 > /_/ > Using Scala version 2.12.8 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0= _202) > Type in expressions to have them evaluated. > Type :help for more information.{code} > =C2=A0 > =C2=A0 > Hbase version (on cloudera cluster):=C2=A0HBase 1.2.0-cdh5.12.2 > Phoenix distro used used:=C2=A0apache-phoenix-4.14.0-cdh5.14.2-bin and=C2= =A0apache-phoenix-4.14.1-HBase-1.2-bin i tried. > Reporter: Ladislav Jech > Priority: Major > > I get issue with Spark 2.4.2 Standalone binary and Phoenix: > {code:java} > py4j.protocol.Py4JJavaError: An error occurred while calling o134.save. > : java.lang.AbstractMethodError: org.apache.phoenix.spark.DefaultSource.c= reateRelation(Lorg/apache/spark/sql/SQLContext;Lorg/apache/spark/sql/SaveMo= de;Lscala/collection/immutable/Map;Lorg/apache/spark/sql/Dataset;)Lorg/apac= he/spark/sql/sources/BaseRelation; > at org.apache.spark.sql.execution.datasources.SaveIntoDataSourceCommand.= run(SaveIntoDataSourceCommand.scala:46) > at org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffect= Result$lzycompute(commands.scala:70) > at org.apache.spark.sql.execution.command.ExecutedCommandExec.sideEffect= Result(commands.scala:68) > at org.apache.spark.sql.execution.command.ExecutedCommandExec.doExecute(= commands.scala:86) > at org.apache.spark.sql.execution.SparkPlan.$anonfun$execute$1(SparkPlan= .scala:131) > at org.apache.spark.sql.execution.SparkPlan.$anonfun$executeQuery$1(Spar= kPlan.scala:155) > at org.apache.spark.rdd.RDDOperationScope$.withScope(RDDOperationScope.s= cala:151) > at org.apache.spark.sql.execution.SparkPlan.executeQuery(SparkPlan.scala= :152) > at org.apache.spark.sql.execution.SparkPlan.execute(SparkPlan.scala:127) > at org.apache.spark.sql.execution.QueryExecution.toRdd$lzycompute(QueryE= xecution.scala:80) > at org.apache.spark.sql.execution.QueryExecution.toRdd(QueryExecution.sc= ala:80) > at org.apache.spark.sql.DataFrameWriter.$anonfun$runCommand$1(DataFrameW= riter.scala:676) > at org.apache.spark.sql.execution.SQLExecution$.$anonfun$withNewExecutio= nId$1(SQLExecution.scala:78) > at org.apache.spark.sql.execution.SQLExecution$.withSQLConfPropagated(SQ= LExecution.scala:125) > at org.apache.spark.sql.execution.SQLExecution$.withNewExecutionId(SQLEx= ecution.scala:73) > at org.apache.spark.sql.DataFrameWriter.runCommand(DataFrameWriter.scala= :676) > at org.apache.spark.sql.DataFrameWriter.saveToV1Source(DataFrameWriter.s= cala:290) > at org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:271) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.= java:62) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces= sorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244) > at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357) > at py4j.Gateway.invoke(Gateway.java:282) > at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132) > at py4j.commands.CallCommand.execute(CallCommand.java:79) > at py4j.GatewayConnection.run(GatewayConnection.java:238) > at java.lang.Thread.run(Thread.java:748){code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)