You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Mohammed Guller <mo...@glassbeam.com> on 2015/04/08 02:58:11 UTC

HiveThriftServer2

Hi -

I want to create an instance of HiveThriftServer2 in my Scala application, so  I imported the following line:

import org.apache.spark.sql.hive.thriftserver._

However, when I compile the code, I get the following error:

object thriftserver is not a member of package org.apache.spark.sql.hive

I tried to include the following in build.sbt, but it looks like it is not published:

"org.apache.spark" %% "spark-hive-thriftserver" % "1.3.0",

What library dependency do I need to include in my build.sbt to use the ThriftServer2 object?

Thanks,
Mohammed



RE: HiveThriftServer2

Posted by Mohammed Guller <mo...@glassbeam.com>.
Thanks, Cheng.

BTW, there is another thread on the same topic. It looks like the thrift-server will be published for 1.3.1.

Mohammed

From: Cheng Lian [mailto:lian.cs.zju@gmail.com]
Sent: Saturday, April 11, 2015 5:37 AM
To: Mohammed Guller; user@spark.apache.org
Subject: Re: HiveThriftServer2

Unfortunately the spark-hive-thriftserver hasn't been published yet, you may either publish it locally or use it as an unmanaged SBT dependency.
On 4/8/15 8:58 AM, Mohammed Guller wrote:
Hi -

I want to create an instance of HiveThriftServer2 in my Scala application, so  I imported the following line:

import org.apache.spark.sql.hive.thriftserver._

However, when I compile the code, I get the following error:

object thriftserver is not a member of package org.apache.spark.sql.hive

I tried to include the following in build.sbt, but it looks like it is not published:

"org.apache.spark" %% "spark-hive-thriftserver" % "1.3.0",

What library dependency do I need to include in my build.sbt to use the ThriftServer2 object?

Thanks,
Mohammed




Re: HiveThriftServer2

Posted by Cheng Lian <li...@gmail.com>.
Unfortunately the spark-hive-thriftserver hasn't been published yet, you 
may either publish it locally or use it as an unmanaged SBT dependency.

On 4/8/15 8:58 AM, Mohammed Guller wrote:
>
> Hi –
>
> I want to create an instance of HiveThriftServer2 in my Scala 
> application, so  I imported the following line:
>
> import org.apache.spark.sql.hive.thriftserver._
>
> However, when I compile the code, I get the following error:
>
> object thriftserver is not a member of package org.apache.spark.sql.hive
>
> I tried to include the following in build.sbt, but it looks like it is 
> not published:
>
> "org.apache.spark" %% "spark-hive-thriftserver" % "1.3.0",
>
> What library dependency do I need to include in my build.sbt to use 
> the ThriftServer2 object?
>
> Thanks,
>
> Mohammed
>