pauldeschacht / impala-java-client Goto Github PK
View Code? Open in Web Editor NEWJava client to connect directly to Impala using thrift
Java client to connect directly to Impala using thrift
I'm unable to build this project, I'm getting:
`[INFO] ------------------------------------------------------------------------
[INFO] Building impala-client 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-thrift-plugin:0.1.11:compile (thrift-sources) @ impala-client ---
[ERROR] thrift failed output:
[ERROR] thrift failed error: [FAILURE:generation:1] Error: unknown option java:hashcode
`
Does anyone know what can cause this?
I don't know if it is really an issue or is just configuration options, but i can not retrieve more than 1024 rows for impala querys.
If i execute the code below, it only returns 5 rows which is correct:
TFetchResultsReq fetchReq = new TFetchResultsReq();
fetchReq.setMaxRows(5);
But if i set MaxRows more than 1024 i cant retrieve that.
Any idea? Thank you!!
I have thrift.exe, correct version, and define in maven thrift plugin.
On running mvn clean compile, the file ".#cli_service.thrift" cause thrift.exe throw exception.
When I rename it to ".#cli_service.thrift.bak", compiling works well.
I'm not familar to thrift, but I think the dot file is hidden on linux platform. And I found it contain nothing but description. So I think it should be remove from source code.
I tried to run the ImpalaConnectTest class, but it gives the below error.
BeeswaxException(message:Error: Error: could not match input, log_context:, handle:QueryHandle(id:, log_context:), errorCode:0, SQLState:42000)
at com.cloudera.beeswax.api.BeeswaxService$query_result$query_resultStandardScheme.read(Unknown Source)
at com.cloudera.beeswax.api.BeeswaxService$query_result$query_resultStandardScheme.read(Unknown Source)
at com.cloudera.beeswax.api.BeeswaxService$query_result.read(Unknown Source)
at org.apache.thrift.TServiceClient.receiveBase(TServiceClient.java:78)
at com.cloudera.beeswax.api.BeeswaxService$Client.recv_query(Unknown Source)
at com.cloudera.beeswax.api.BeeswaxService$Client.query(Unknown Source)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.