You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Xuefu Zhang (JIRA)" <ji...@apache.org> on 2017/08/15 18:39:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=16127690#comment-16127690 ] 

Xuefu Zhang commented on HIVE-17065:
------------------------------------

Sorry for replying late on this, but [~linzhangbing], are you able to modify the wiki now?

> 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
>         Attachments: screenshot-1.png
>
>
> When I follow the official document from cwiki [https://cwiki.apache.org/confluence/display/Hive/GettingStarted] 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
>  A.Running Hive CLI
> To use the Hive command line interface (CLI) from the shell:
>    $ $HIVE_HOME/bin/hive
>  B.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
> When I execute the $HIVE_HOME/bin/hive command, the following error occurs:
> !screenshot-1.png!
> When I execute the following order, and then the implementation of hive order problem solving:
> $ HIVE_HOME/bin/schematool -dbType derby -initSchema



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