[
https://issues.apache.org/jira/browse/SPARK-6049?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14340018#comment-14340018
]
Littlestar commented on SPARK-6049:
-----------------------------------
thanks. I call ok by static methods, but not tables finds.
Does I need to open new JIRA issue?
{noformat}
SparkConf sparkConf = new
SparkConf().setAppName("ParquetFileQuery").set("spark.executor.memory", "4g");
JavaSparkContext ctx = new JavaSparkContext(sparkConf);
JavaSQLContext sqlCtx = new JavaSQLContext(ctx);
JavaSchemaRDD mids = sqlCtx.parquetFile("/parquetdir");
mids.registerTempTable("demo");
HiveThriftServer2.startWithContext(new HiveContext(ctx.sc()));
{noformat}
> HiveThriftServer2 may expose Inheritable methods
> ------------------------------------------------
>
> Key: SPARK-6049
> URL: https://issues.apache.org/jira/browse/SPARK-6049
> Project: Spark
> Issue Type: Improvement
> Components: SQL
> Affects Versions: 1.2.1
> Reporter: Littlestar
> Priority: Minor
> Labels: HiveThriftServer2
>
> Does HiveThriftServer2 may expose Inheritable methods?
> HiveThriftServer2 is very good when used as a JDBC Server, but
> HiveThriftServer2.scala is not Inheritable or invokable by app.
> My app use JavaSQLContext and registerTempTable.
> I want to expose these TempTables by HiveThriftServer2(JDBC Server).
> Thanks.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]