Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-17065

You can not successfully deploy hive clusters with Hive guidance documents

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • Documentation
    • None

    Description

      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:

      When I execute the following order, and then the implementation of hive order problem solving:
      $ HIVE_HOME/bin/schematool -dbType derby -initSchema

      Attachments

        1. screenshot-1.png
          145 kB
          ZhangBing Lin

        Activity

          People

            Unassigned Unassigned
            linzhangbing ZhangBing Lin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: