apache hive - Hive services - client tools- hive tutorial - hadoop hive - hadoop hive - hiveql
apache hive related article tags - hive tutorial - hadoop hive - hadoop hive - hiveql - hive hadoop - learnhive - hive sql
HIVE SERVICES
% hive --service [name]
- cli : The command line interface to Hive (the shell). This is the default service
- hiveserver : Runs Hive as a server exposing a Thrift service, enabling access from a range of clients written in different languages. Applications using the Thrift , JDBC and ODBC connectors need to run a Hive server to communicate with Hive. Set the HIVE_PORT environment variable to specify the port the server will listen on (defaults to 10,000)
- hwi : Hive Web Interface - alternative to the shell. Use the following commands:
- Jar : The Hive equivalent to hadoop jar, a convenient way to run Java applications that includes both Hadoop and Hive classes on the classpath.
- metastore : By default, the metastore is run in the same process as the Hive service. Using this service, it is possible to run the metastore as a standalone (remote) process. Set the METASTORE_PORT environment variable to specify the port the server will listen on.
% export ANT_LIB=/path/to/ant/lib
% hive --service hwi
apache hive related article tags - hive tutorial - hadoop hive - hadoop hive - hiveql - hive hadoop - learnhive - hive sql
HIVE CLIENTS
- Thrift Client - Makes it easy to run Hive commands from a wide range of programming language. Thrift bindings for Hive are available for C++, Java , PHP, Python and Ruby.
- JDBC Driver - Hive provides a Type 4(pure Java) JDBC driver, defined in the class
org.apache.hadoop.hive.jdbc.HiveDriver
- ODBC Driver - The Hive ODBC Driver allows applications that support the ODBC protocol to connect to Hive. It is still in development so you should refer to the latest instructions on the hive.