impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zhangwenyang <zhangweny...@neusoft.com>
Subject Re: Re: Impala Java API
Date Fri, 04 Aug 2017 02:01:44 GMT
Hi, Silvius

there are three level refresh: clear cache, increment update metadata, invalidate metadata,

1) the data get by jdbc, is the cached data or real data?
2)  how to refresh the impala data source at the three level?

Thanks



zhangwenyang

From: Silvius Rus
Date: 2017-08-03 23:47
To: dev@impala.incubator.apache.org
CC: zhangwenyang; dev
Subject: Re: Impala Java API
Can you use JDBC?

Silvius

> On Aug 2, 2017, at 9:24 PM, Henry Robinson <henry@apache.org> wrote:
> 
> Impala's clients all communicate with Impala via Apache Thrift, which is a
> serialization and RPC format that has bindings for multiple languages. In
> fact, Impala generates Thrift stubs for Java when the frontend is built
> (see for example
> ${IMPALA_HOME}/fe/generated-sources/gen-java/org/apache/impala/thrift
> ImpalaHiveServer2Service.java).
> 
> Your best bet is to write a client to the HiveServer2Service.
> 
> Henry
> 
>> On 2 August 2017 at 19:44, zhangwenyang <zhangwenyang@neusoft.com> wrote:
>> 
>> Hi,
>> 
>> we team want use impala for in-time query.
>> But we can't find java API, "refresh" for example.
>> If we want to refresh and get data from java coding backend-service, what
>> we should do?
>> 
>> Thanks
>> 
>> 
>> 
>> 
>> zhangwenyang
>> 
>> 
>> ------------------------------------------------------------
>> ---------------------------------------
>> Confidentiality Notice: The information contained in this e-mail and any
>> accompanying attachment(s)
>> is intended only for the use of the intended recipient and may be
>> confidential and/or privileged of
>> Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader
>> of this communication is
>> not the intended recipient, unauthorized use, forwarding, printing,
>> storing, disclosure or copying
>> is strictly prohibited, and may be unlawful.If you have received this
>> communication in error,please
>> immediately notify the sender by return e-mail, and delete the original
>> message and all copies from
>> your system. Thank you.
>> ------------------------------------------------------------
>> ---------------------------------------


---------------------------------------------------------------------------------------------------
Confidentiality Notice: The information contained in this e-mail and any accompanying attachment(s)
is intended only for the use of the intended recipient and may be confidential and/or privileged
of
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of this communication
is
not the intended recipient, unauthorized use, forwarding, printing,  storing, disclosure or
copying
is strictly prohibited, and may be unlawful.If you have received this communication in error,please
immediately notify the sender by return e-mail, and delete the original message and all copies
from
your system. Thank you.
---------------------------------------------------------------------------------------------------
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message