Failed to Start Kylin on hadoop cluster, no error found with check-env












0















I am trying to install Kylin with Hadoop cluster which managed by Ambari. 
I am not able to start Kylin.



log as below:



*************************************************
[root@hadoop-app2 ~]# cd /usr/local/apache-kylin-2.6.0-bin/bin/
[root@hadoop-app2 bin]# sh kylin.sh start
Retrieving hadoop conf dir...
KYLIN_HOME is set to /usr/local/apache-kylin-2.6.0-bin
Retrieving hive dependency...
Something wrong with Hive CLI or Beeline, please execute Hive CLI or Beeline CLI in terminal to find the root cause.
[root@hadoop-app2 bin]# sh check-env.sh
Retrieving hadoop conf dir...
KYLIN_HOME is set to /usr/local/apache-kylin-2.6.0-bin
[root@hadoop-app2 bin]#
**************************
Ambari-server 2.7.3,
hadoop cluster 3.1,
hadoop services are running well,
also hive related as below:
****************************

[root@hadoop-app2 bin]# rpm -qa | grep hive
hive_3_1_0_0_78-jdbc-3.1.0.3.1.0.0-78.noarch
gvfs-archive-1.22.4-8.el7.x86_64
ranger_3_1_0_0_78-hive-plugin-1.2.0.3.1.0.0-78.x86_64
hive_warehouse_connector_3_1_0_0_78-1.0.0.3.1.0.0-78.noarch
oozie_3_1_0_0_78-sharelib-hive-4.3.1.3.1.0.0-78.noarch
hive_3_1_0_0_78-hcatalog-3.1.0.3.1.0.0-78.noarch
oozie_3_1_0_0_78-sharelib-hive2-4.3.1.3.1.0.0-78.noarch
atlas-metadata_3_1_0_0_78-hive-plugin-1.1.0.3.1.0.0-78.noarch
hive_3_1_0_0_78-3.1.0.3.1.0.0-78.noarch
libarchive-3.1.2-10.el7_2.x86_64
[root@hadoop-app2 bin]#
****************************


Any action can I do to get more information about the issue?










share|improve this question





























    0















    I am trying to install Kylin with Hadoop cluster which managed by Ambari. 
    I am not able to start Kylin.



    log as below:



    *************************************************
    [root@hadoop-app2 ~]# cd /usr/local/apache-kylin-2.6.0-bin/bin/
    [root@hadoop-app2 bin]# sh kylin.sh start
    Retrieving hadoop conf dir...
    KYLIN_HOME is set to /usr/local/apache-kylin-2.6.0-bin
    Retrieving hive dependency...
    Something wrong with Hive CLI or Beeline, please execute Hive CLI or Beeline CLI in terminal to find the root cause.
    [root@hadoop-app2 bin]# sh check-env.sh
    Retrieving hadoop conf dir...
    KYLIN_HOME is set to /usr/local/apache-kylin-2.6.0-bin
    [root@hadoop-app2 bin]#
    **************************
    Ambari-server 2.7.3,
    hadoop cluster 3.1,
    hadoop services are running well,
    also hive related as below:
    ****************************

    [root@hadoop-app2 bin]# rpm -qa | grep hive
    hive_3_1_0_0_78-jdbc-3.1.0.3.1.0.0-78.noarch
    gvfs-archive-1.22.4-8.el7.x86_64
    ranger_3_1_0_0_78-hive-plugin-1.2.0.3.1.0.0-78.x86_64
    hive_warehouse_connector_3_1_0_0_78-1.0.0.3.1.0.0-78.noarch
    oozie_3_1_0_0_78-sharelib-hive-4.3.1.3.1.0.0-78.noarch
    hive_3_1_0_0_78-hcatalog-3.1.0.3.1.0.0-78.noarch
    oozie_3_1_0_0_78-sharelib-hive2-4.3.1.3.1.0.0-78.noarch
    atlas-metadata_3_1_0_0_78-hive-plugin-1.1.0.3.1.0.0-78.noarch
    hive_3_1_0_0_78-3.1.0.3.1.0.0-78.noarch
    libarchive-3.1.2-10.el7_2.x86_64
    [root@hadoop-app2 bin]#
    ****************************


    Any action can I do to get more information about the issue?










    share|improve this question



























      0












      0








      0








      I am trying to install Kylin with Hadoop cluster which managed by Ambari. 
      I am not able to start Kylin.



      log as below:



      *************************************************
      [root@hadoop-app2 ~]# cd /usr/local/apache-kylin-2.6.0-bin/bin/
      [root@hadoop-app2 bin]# sh kylin.sh start
      Retrieving hadoop conf dir...
      KYLIN_HOME is set to /usr/local/apache-kylin-2.6.0-bin
      Retrieving hive dependency...
      Something wrong with Hive CLI or Beeline, please execute Hive CLI or Beeline CLI in terminal to find the root cause.
      [root@hadoop-app2 bin]# sh check-env.sh
      Retrieving hadoop conf dir...
      KYLIN_HOME is set to /usr/local/apache-kylin-2.6.0-bin
      [root@hadoop-app2 bin]#
      **************************
      Ambari-server 2.7.3,
      hadoop cluster 3.1,
      hadoop services are running well,
      also hive related as below:
      ****************************

      [root@hadoop-app2 bin]# rpm -qa | grep hive
      hive_3_1_0_0_78-jdbc-3.1.0.3.1.0.0-78.noarch
      gvfs-archive-1.22.4-8.el7.x86_64
      ranger_3_1_0_0_78-hive-plugin-1.2.0.3.1.0.0-78.x86_64
      hive_warehouse_connector_3_1_0_0_78-1.0.0.3.1.0.0-78.noarch
      oozie_3_1_0_0_78-sharelib-hive-4.3.1.3.1.0.0-78.noarch
      hive_3_1_0_0_78-hcatalog-3.1.0.3.1.0.0-78.noarch
      oozie_3_1_0_0_78-sharelib-hive2-4.3.1.3.1.0.0-78.noarch
      atlas-metadata_3_1_0_0_78-hive-plugin-1.1.0.3.1.0.0-78.noarch
      hive_3_1_0_0_78-3.1.0.3.1.0.0-78.noarch
      libarchive-3.1.2-10.el7_2.x86_64
      [root@hadoop-app2 bin]#
      ****************************


      Any action can I do to get more information about the issue?










      share|improve this question
















      I am trying to install Kylin with Hadoop cluster which managed by Ambari. 
      I am not able to start Kylin.



      log as below:



      *************************************************
      [root@hadoop-app2 ~]# cd /usr/local/apache-kylin-2.6.0-bin/bin/
      [root@hadoop-app2 bin]# sh kylin.sh start
      Retrieving hadoop conf dir...
      KYLIN_HOME is set to /usr/local/apache-kylin-2.6.0-bin
      Retrieving hive dependency...
      Something wrong with Hive CLI or Beeline, please execute Hive CLI or Beeline CLI in terminal to find the root cause.
      [root@hadoop-app2 bin]# sh check-env.sh
      Retrieving hadoop conf dir...
      KYLIN_HOME is set to /usr/local/apache-kylin-2.6.0-bin
      [root@hadoop-app2 bin]#
      **************************
      Ambari-server 2.7.3,
      hadoop cluster 3.1,
      hadoop services are running well,
      also hive related as below:
      ****************************

      [root@hadoop-app2 bin]# rpm -qa | grep hive
      hive_3_1_0_0_78-jdbc-3.1.0.3.1.0.0-78.noarch
      gvfs-archive-1.22.4-8.el7.x86_64
      ranger_3_1_0_0_78-hive-plugin-1.2.0.3.1.0.0-78.x86_64
      hive_warehouse_connector_3_1_0_0_78-1.0.0.3.1.0.0-78.noarch
      oozie_3_1_0_0_78-sharelib-hive-4.3.1.3.1.0.0-78.noarch
      hive_3_1_0_0_78-hcatalog-3.1.0.3.1.0.0-78.noarch
      oozie_3_1_0_0_78-sharelib-hive2-4.3.1.3.1.0.0-78.noarch
      atlas-metadata_3_1_0_0_78-hive-plugin-1.1.0.3.1.0.0-78.noarch
      hive_3_1_0_0_78-3.1.0.3.1.0.0-78.noarch
      libarchive-3.1.2-10.el7_2.x86_64
      [root@hadoop-app2 bin]#
      ****************************


      Any action can I do to get more information about the issue?







      linux ubuntu command-line bash apache-http-server






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jan 30 at 3:12









      Scott

      16.1k113990




      16.1k113990










      asked Jan 30 at 2:48









      yulanyulan

      1




      1






















          1 Answer
          1






          active

          oldest

          votes


















          0














          I ran into the same problem just now and I found the solution:




          1. I had to add my user (who runs Kylin) to the HBase Ranger policies through the Ranger UI

          2. In Ambari go to Hive -> Configs -> Advanced -> Under 'Custom hiveserver2-site' add a property

          3. Key: hive.security.authorization.sqlstd.confwhitelist.append

          4. Value: dfs.replication|mapreduce.job.split.metainfo.maxsize

          5. Type: Text

          6. Restart Hive


          If you don't have full rights on the Kylin folder you must take care of that too.



          I recommend using the Log Search service (you can open it from Ambari), I found the error message in the Hive log file, the HBase error I got after I configured the whitelist successfully from the Kylin the Kylin CLI.






          share|improve this answer


























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1399920%2ffailed-to-start-kylin-on-hadoop-cluster-no-error-found-with-check-env%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            I ran into the same problem just now and I found the solution:




            1. I had to add my user (who runs Kylin) to the HBase Ranger policies through the Ranger UI

            2. In Ambari go to Hive -> Configs -> Advanced -> Under 'Custom hiveserver2-site' add a property

            3. Key: hive.security.authorization.sqlstd.confwhitelist.append

            4. Value: dfs.replication|mapreduce.job.split.metainfo.maxsize

            5. Type: Text

            6. Restart Hive


            If you don't have full rights on the Kylin folder you must take care of that too.



            I recommend using the Log Search service (you can open it from Ambari), I found the error message in the Hive log file, the HBase error I got after I configured the whitelist successfully from the Kylin the Kylin CLI.






            share|improve this answer






























              0














              I ran into the same problem just now and I found the solution:




              1. I had to add my user (who runs Kylin) to the HBase Ranger policies through the Ranger UI

              2. In Ambari go to Hive -> Configs -> Advanced -> Under 'Custom hiveserver2-site' add a property

              3. Key: hive.security.authorization.sqlstd.confwhitelist.append

              4. Value: dfs.replication|mapreduce.job.split.metainfo.maxsize

              5. Type: Text

              6. Restart Hive


              If you don't have full rights on the Kylin folder you must take care of that too.



              I recommend using the Log Search service (you can open it from Ambari), I found the error message in the Hive log file, the HBase error I got after I configured the whitelist successfully from the Kylin the Kylin CLI.






              share|improve this answer




























                0












                0








                0







                I ran into the same problem just now and I found the solution:




                1. I had to add my user (who runs Kylin) to the HBase Ranger policies through the Ranger UI

                2. In Ambari go to Hive -> Configs -> Advanced -> Under 'Custom hiveserver2-site' add a property

                3. Key: hive.security.authorization.sqlstd.confwhitelist.append

                4. Value: dfs.replication|mapreduce.job.split.metainfo.maxsize

                5. Type: Text

                6. Restart Hive


                If you don't have full rights on the Kylin folder you must take care of that too.



                I recommend using the Log Search service (you can open it from Ambari), I found the error message in the Hive log file, the HBase error I got after I configured the whitelist successfully from the Kylin the Kylin CLI.






                share|improve this answer















                I ran into the same problem just now and I found the solution:




                1. I had to add my user (who runs Kylin) to the HBase Ranger policies through the Ranger UI

                2. In Ambari go to Hive -> Configs -> Advanced -> Under 'Custom hiveserver2-site' add a property

                3. Key: hive.security.authorization.sqlstd.confwhitelist.append

                4. Value: dfs.replication|mapreduce.job.split.metainfo.maxsize

                5. Type: Text

                6. Restart Hive


                If you don't have full rights on the Kylin folder you must take care of that too.



                I recommend using the Log Search service (you can open it from Ambari), I found the error message in the Hive log file, the HBase error I got after I configured the whitelist successfully from the Kylin the Kylin CLI.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Jan 31 at 16:28

























                answered Jan 31 at 16:17









                blzskblzsk

                12




                12






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1399920%2ffailed-to-start-kylin-on-hadoop-cluster-no-error-found-with-check-env%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Plaza Victoria

                    Puebla de Zaragoza

                    Musa