impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Silvius Rus <s...@cloudera.com>
Subject Re: Re: Impala Java API
Date Fri, 04 Aug 2017 06:25:41 GMT
I'm not sure what you mean by "cached" data.

Check out the docs.  You can run these commands as JDBC statements.
http://impala.apache.org/docs/build/html/topics/impala_refresh.html#refresh
http://impala.apache.org/docs/build/html/topics/impala_invalidate_metadata.html#invalidate_metadata

On Thu, Aug 3, 2017 at 7:01 PM, zhangwenyang <zhangwenyang@neusoft.com>
wrote:

> 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