You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ZhangBing Lin (JIRA)" <ji...@apache.org> on 2017/07/10 01:07:00 UTC

[jira] [Updated] (HIVE-17065) You can not successfully deploy hive clusters with Hive guidance documents

     [ https://issues.apache.org/jira/browse/HIVE-17065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ZhangBing Lin updated HIVE-17065:
---------------------------------
    Description: 
When I installed the official document to build Hive2.1.1 single node service encountered several problems:
1, the following to create the HIVE warehouse directory needs to be modified
  A $ HADOOP_HOME / bin / hadoop fs -mkdir /user/hive/warehouse
  B $ HADOOP_HOME / bin / hadoop fs -mkdir -p /user/hive/warehouse
Using B instead of A might be better
2, the following two description positions need to be adjusted
~Running Hive CLI
To use the Hive command line interface (CLI) from the shell:
   $ $ HIVE_HOME / bin / hive
Running HiveServer2 and Beeline
Starting from Hive 2.1, we need to run the schematool command below as an initialization step. For example, we can use "derby" as db type.
   $ $ HIVE_HOME / bin / schematool -dbType <db type> -initSchema~

> You can not successfully deploy hive clusters with Hive guidance documents
> --------------------------------------------------------------------------
>
>                 Key: HIVE-17065
>                 URL: https://issues.apache.org/jira/browse/HIVE-17065
>             Project: Hive
>          Issue Type: Improvement
>          Components: Documentation
>            Reporter: ZhangBing Lin
>            Priority: Minor
>
> When I installed the official document to build Hive2.1.1 single node service encountered several problems:
> 1, the following to create the HIVE warehouse directory needs to be modified
>   A $ HADOOP_HOME / bin / hadoop fs -mkdir /user/hive/warehouse
>   B $ HADOOP_HOME / bin / hadoop fs -mkdir -p /user/hive/warehouse
> Using B instead of A might be better
> 2, the following two description positions need to be adjusted
> ~Running Hive CLI
> To use the Hive command line interface (CLI) from the shell:
>    $ $ HIVE_HOME / bin / hive
> Running HiveServer2 and Beeline
> Starting from Hive 2.1, we need to run the schematool command below as an initialization step. For example, we can use "derby" as db type.
>    $ $ HIVE_HOME / bin / schematool -dbType <db type> -initSchema~



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)