You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "Wes McKinney (Jira)" <ji...@apache.org> on 2020/10/29 15:48:00 UTC
[jira] [Updated] (ARROW-10418) [C++] Arrow::HiveServer2 client
returns No Data to read on openSession
[ https://issues.apache.org/jira/browse/ARROW-10418?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Wes McKinney updated ARROW-10418:
---------------------------------
Summary: [C++] Arrow::HiveServer2 client returns No Data to read on openSession (was: Arrow::HiveServer2 client returns No Data to read on openSession)
> [C++] Arrow::HiveServer2 client returns No Data to read on openSession
> ----------------------------------------------------------------------
>
> Key: ARROW-10418
> URL: https://issues.apache.org/jira/browse/ARROW-10418
> Project: Apache Arrow
> Issue Type: Bug
> Components: C++
> Environment: RHEL 7.6,
> g++ 9
> apache thrift 0.13
> Reporter: vivek kumar
> Priority: Major
>
> when connecting to hiveserver2 using the thrift c++
>
> following code returns :: "Failed to open session: no data to read"
> // Open a session.
> std::string user = "user";
> hs2::HS2ClientConfig config;
> std::unique_ptr<Session> session;
> status = service->OpenSession(user, config, &session);
> if (!status.ok()) {
> std::cout << "Failed to open session: " << status.ToString();
> ABORT_NOT_OK(session->Close());
> ABORT_NOT_OK(service->Close());
> return 1;
> }
>
> The connection is success though.
> do we need to pass any other arguments in the config to open session.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)