You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@arrow.apache.org by "vivek kumar (Jira)" <ji...@apache.org> on 2020/10/29 08:45:00 UTC

[jira] [Created] (ARROW-10418) Arrow::HiveServe2 client returns No Data to read on openSession

vivek kumar created ARROW-10418:
-----------------------------------

             Summary: Arrow::HiveServe2 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


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)