Github user liancheng commented on a diff in the pull request:

    https://github.com/apache/spark/pull/3672#discussion_r21729186
  
    --- Diff: docs/sql-programming-guide.md ---
    @@ -938,6 +938,18 @@ Configuration of Hive is done by placing your 
`hive-site.xml` file in `conf/`.
     
     You may also use the beeline script that comes with Hive.
     
    +Thrift JDBC server also support sending thrift RPC messages over HTTP 
transport. 
    +Use the following setting to enable HTTP mode as system property or in 
`hive-site.xml` file in `conf/`: 
    +
    +    hive.server2.transport.mode - Set this to `http` 
    +    hive.server2.thrift.http.port - HTTP port number fo listen on; default 
is 10001
    +
    +To test, use beeline to connect to the JDBC/ODBC server in http mode with:
    +
    +    beeline> !connect 
jdbc:hive2://<host>:<port>/<database>?hive.server2.transport.mode=http;hive.server2.thrift.http.path=<http_endpoint>
    --- End diff --
    
    Same as above.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to