EASY HIVE INSTALLATION ON WINDOWS

Поделиться
HTML-код
  • Опубликовано: 4 фев 2018
  • Hadoop should be pre-installed before installing hive on windows.
    Download Hive -
    archive.apache.org/dist/hive/...
    Download Derby Metastore-
    archive.apache.org/dist/db/de...
    Download hive-site.xml-
    drive.google.com/file/d/1qqAo...
    Ready to install.

Комментарии • 278

  • @vkrsoft
    @vkrsoft 6 лет назад +2

    Excellent demo. Far far better than lots of talks. Thanks!

  • @lili4234
    @lili4234 4 года назад +1

    I wish I saw this video much earlier. I had spent several hours and tried many different things but none worked! Thank you for this wonderful sharing.

  • @shivendrasingh9980
    @shivendrasingh9980 4 года назад

    Excellent Video...this is what u look for ...clear cut and well tailored process...was able to complete installation smoothly !! Nicee work !!

  • @emrulhasan
    @emrulhasan 4 года назад +1

    Thank you. The best of all! The music is so sweet, too

  • @BriteRoy
    @BriteRoy Год назад +3

    Not sure if people visiting this technical channel are interested in western classical music or not but the background muisc used in this video is 'Ballad Pour Adeline' by Richard Clayderman.
    It'll be kind enough to give credits to the composer.
    Good video though :)

  • @WhatWEknoww
    @WhatWEknoww 5 лет назад

    thank u so much man, worked out in an instant.
    PS note: Hive works without any errors only for the above linked version

  • @ramanupreti214
    @ramanupreti214 3 года назад +1

    you are awesome...got the hive working...I wish I could have seen this video earlier... thanks a lot :)

  • @rakeshsahoo16
    @rakeshsahoo16 5 лет назад

    Many thanks for this most valuable video for HIVE installation. Thanks again it works.
    Note:Setup for HIVE should be using above version of HIVE and DERBY
    Hadoop version can be 2.7.0.

  • @rajeswarinatarajan
    @rajeswarinatarajan 5 лет назад

    Finally Got it ! Thank you so much.

  • @aris9239
    @aris9239 5 лет назад +2

    Best five and derby installation tutorial

  • @varshagupta9819
    @varshagupta9819 5 лет назад

    Well Explained and easy. Thanks!!

  • @platanus726
    @platanus726 6 лет назад

    It works! Thank you so much!

  • @ShriPrtk
    @ShriPrtk 6 лет назад

    Thanks alot mrunmayee!! Really appreciated :)

  • @manojparundekar6004
    @manojparundekar6004 4 года назад +1

    Thanks much ! it still works.

  • @punithkumarr2403
    @punithkumarr2403 Год назад +1

    C:\hive\bin>hive if i type thi i am getting this error "'hive' is not recognized as an internal or external command,
    operable program or batch file." what should i do

  • @minakshee4672
    @minakshee4672 2 года назад

    I got 'hive' is not recognized as an internal or external command,
    operable program or batch file. this error please help

  • @muthuprajin4849
    @muthuprajin4849 4 года назад +1

    Error applying authorization policy on hive configuration, unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient, connection already closed , Please help to solve this issue

  • @rakeshsahoo16
    @rakeshsahoo16 5 лет назад

    Hey, in this setup many HIVE functions are not working
    Can you suggest??please anything?

  • @nandasonu444
    @nandasonu444 3 года назад +1

    C:\hive\bin>hive
    Error: Could not find or load main class Nanda
    Caused by: java.lang.ClassNotFoundException: Nanda
    release 3.1.4

  • @mehboobelahi1143
    @mehboobelahi1143 4 года назад

    I am getting this error in hive terminal when i create database
    Method not supported (state=,code=0)

  • @ameytsen8158
    @ameytsen8158 4 года назад +1

    I am using Hadoop 2.7.6 so which version of hive shall I install as hive 2.1.0 is showing error as :
    C:\hive\bin>hive
    File Not Found
    Not a valid JAR: C:\hive\bin\org.apache.hive.beeline.cli.HiveCli
    Can someone please help me in this ..??

  • @dimpalkhairnar3311
    @dimpalkhairnar3311 6 лет назад

    It really works 😃

  • @lakshmiprasadreddy2997
    @lakshmiprasadreddy2997 4 года назад

    After typing hive command getting -Dhadoop.security.logger is not recognised error

  • @marving3707
    @marving3707 4 года назад

    creating Db and table is OK, but insert data into the table is failed

  • @anilkumarkrishnappa7775
    @anilkumarkrishnappa7775 2 года назад

    Thank you for making it look simple. I see from the hive bin download file, the hive.cmd file is missing and hence many will face running hive at the end. Can you please share the bin folder. Rest everything is perfect. Thanks again.

  • @AmitKumar-yy6og
    @AmitKumar-yy6og 5 лет назад

    I performed all the explained steps and all went fine until I opened a Admin CMD and ran the command "hive", when it said "'hive' is not recognized as an internal or external command,
    operable program or batch file." Double checked Environment variables but all were set well. Can you plz help.

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  5 лет назад

      Copy the hive bin path in system variable then path add new paste hive bin path there and try ...first go to hive bin in cmd then type hive

  • @shwetabhdixit4968
    @shwetabhdixit4968 4 года назад

    getting this error :
    Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
    Connecting to jdbc:hive2://
    Error applying authorization policy on hive configuration: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
    Beeline version 2.1.1 by Apache Hive
    Error applying authorization policy on hive configuration: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
    Connection is already closed.

  • @srinivasreddy.8220
    @srinivasreddy.8220 3 года назад

    thanks for you! can u put hadoop installation video also

  • @sushantshastri3757
    @sushantshastri3757 5 лет назад

    Can we get video on how to stream data through apache flume on windows

  • @ashwinkumar5223
    @ashwinkumar5223 Год назад

    Superb...

  • @CaptainYT007
    @CaptainYT007 Год назад

    im installed hadoop-3.2.1 successfully but im trying installing the hive its show some error message like connection already closed so tell me the solution for my problem madam

  • @gdn1983
    @gdn1983 6 лет назад +2

    Very Nicely explained. It works.
    Though, I got the below error while starting hive.
    "Missing hadoop installation: C\hadoop-2.7.6" must be set. The path variables are correctly set though in Environment variables.
    I only executed this command set HADOOP_HOME = C\hadoop-2.7.6
    Everything worked fine after this command execution. Hive was started successfully and I was able to create the sample database.

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  6 лет назад

      Gurudatt Nayak that's great👍

    • @amerhussain93
      @amerhussain93 5 лет назад

      I tried executing this command set HADOOP_HOME = C\hadoop-2.7.6 but still Iam getting the below error "Missing hadoop installation: C\hadoop-2.7.6" must be set.I have checked user variables.It is set as HADOOP_HOME = C\hadoop-2.7.6 .everything worked fine except the last step.Kindly let me know anyone of you what should be done ?

  • @MarwanMarwan-kh2sk
    @MarwanMarwan-kh2sk 4 года назад +1

    How much this node from this video? Please respon. 😁

  • @xanthris1736
    @xanthris1736 3 года назад

    @mrunmayee kulkarni it is showing the error "Connection is already closed"...How to resolve this

  • @sunilkumarseeram3968
    @sunilkumarseeram3968 5 лет назад

    getting below error ,please help
    C:\Bigdata\apache-hive-2.3.4\bin>hive
    'hive' is not recognized as an internal or external command,
    operable program or batch file.

    • @rakeshsahoo16
      @rakeshsahoo16 5 лет назад

      U did environmental variables setup correctly ??for derby and Hive.... Do both..user and system

  • @aymanShaikh48
    @aymanShaikh48 6 лет назад +1

    thanks alot

  • @hassaniasma9326
    @hassaniasma9326 5 лет назад

    when i enter beeline command I have this error : Fichier introuvable
    Error: A JNI error has occurred, please check your installation and try again
    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/hadoop/hive/conf/HiveConf

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  5 лет назад

      Install jdk 1.8 with correct path in system and user variable and try installing hadoop and hive over it ..hadoop 2.3 is recommended

  • @mersihaceranic6762
    @mersihaceranic6762 4 года назад

    Does this work for hadoop version 2.10.0? Because I'm constantly getting the same error: "Missing hadoop installation: C:\hadoop-2.10.0\bin must be set".

    • @mohanjirauniyar4334
      @mohanjirauniyar4334 4 года назад

      I am also getting same error for Hadoop-2.7.7 tried many times setting hadoop home. Please help.

    • @ratheshr07
      @ratheshr07 3 года назад

      Is there any error in running hadoop?. Are you able to access the localhost:8088/cluster url after running hadoop commands?

  • @ashwinkumar5223
    @ashwinkumar5223 Год назад

    I followed all steps. But getting Below error.

  • @rifqymaulana4384
    @rifqymaulana4384 5 лет назад +1

    i haven't installing hadoop yet, do i have to install hadoop first?

  • @xanthris1736
    @xanthris1736 3 года назад

    "Missing hadoop installation: C:\hadoop\bin must be set" ...Please help. I have installed hadoop but it is showing this

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  3 года назад

      check whether hadoop is installed properly..if not remove and install again

  • @yosrfathallah3857
    @yosrfathallah3857 2 года назад

    why i have this error : when i write hive on cmd : missing hadoop installation ://

  • @sowrabharavishankar1768
    @sowrabharavishankar1768 4 года назад

    I am unable to install Hive, it's throwing an error "Error applying authorization policy on hive configuration: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
    Connection is already closed". Can you help me to fix this issue?

  • @tubegallery9778
    @tubegallery9778 3 года назад

    for me its showing "Missing hadoop installation: C:\hadoop-3.3.1\bin must be set" at 7:06
    help pls

    •  2 года назад

      hi, i get the same and i solved with this: in user variables must set "HADOOP_HOME" without bin folder, just the home of the folder. in system variables, in "path", you must set the complete path adding bin folder of hadoop.

  • @priyankamanogaran9733
    @priyankamanogaran9733 4 года назад +2

    I use hadoop-3.1.0 based on this video i followed all the steps but when i start >hive on cmd is shows the following error
    Error applying authorization policy on hive configuration: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
    Beeline version 2.1.0 by Apache Hive
    Error applying authorization policy on hive configuration: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
    Connection is already closed.

    • @gandikotadharani3947
      @gandikotadharani3947 3 года назад

      i too got connection is already closed how did u resolve that

    • @ajigoja9995
      @ajigoja9995 11 месяцев назад

      any idea to slove this problem?
      @@gandikotadharani3947

  • @sriyogesh1887
    @sriyogesh1887 3 года назад

    getting DERBY_HOME is set incorrectly or could'nt locate derby.jar error. I followed all the steps not sure what is wrong. Can someone pls help?. TIA

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  3 года назад

      Check whether your derby home folder has derby.jar or install derby again with derby.jar ..
      Keep your version similar as shown in video

  • @santoshp1811
    @santoshp1811 3 года назад

    Hi I'm getting error when i type start -dfs
    C:\hadoop-3.1.4\sbin>start-dfs
    Error: JAVA_HOME is not set.
    The system cannot find the file hadoop.
    The system cannot find the file hadoop.

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  3 года назад

      your java installation is not available..check with java --version to see if java is properly installed

  • @amerhussain93
    @amerhussain93 5 лет назад

    I tried executing this command set HADOOP_HOME = C\hadoop-2.7.6 but still Iam getting the below error "Missing hadoop installation: C\hadoop-2.7.6" must be set.I have checked user variables.It is set as HADOOP_HOME = C\hadoop-2.7.6 .everything worked fine except the last step.Kindly let me know anyone of you what should be done ?

  • @manoranajanjha837
    @manoranajanjha837 6 лет назад

    Yeah, Tried those steps as well like created user/hive, warehouse tmp folders as mentioned in Tiger's video... Still no good luck... Do you think there is some files are missing in my hadoop bin..
    I am able to create dir and put data file in it.. all looks good.. not hive

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  6 лет назад

      m j last option is to change your hadoop change it to 2.3.0 instead of 2.7

    • @manoranajanjha837
      @manoranajanjha837 6 лет назад +1

      mrunmayee kulkarni It took me 2 Weeks to setup hadoop :(... I am bit scare to move on other versions.. Actually bin files was provided by the blogger foe 2.7 not sure it will work with 2.3 or not... I think, its too much here, can I have your email id so that I can email you my queries... my emailid mrjha93@gmail.com

    • @priyadarshineesawant2902
      @priyadarshineesawant2902 5 лет назад

      M j did u find any solution?

  • @deepakkumar-id8br
    @deepakkumar-id8br 5 лет назад +2

    make a video for hadoop installation same as this video.or if you have any other link for hadoop installation then please share if you can. Nice Video.....

  • @MyDevOpsJourney_
    @MyDevOpsJourney_ 4 года назад

    I'm using hadoop 2.6.5 and for hive I'm using 2.1.0. Getting the following error whenever I'm trying to start hive. Any help would be much appiciated, thank you.
    Error applying authorization policy on hive configuration: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')
    Beeline version 2.1.0 by Apache Hive
    Error applying authorization policy on hive configuration: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')
    Connection is already closed.

    • @carljohnson5306
      @carljohnson5306 4 года назад

      have you solved it yet?

    • @piyushtale0001
      @piyushtale0001 4 года назад +1

      @@carljohnson5306 To all my dear friends.Those who are getting connection closed error or any other please note your hadoop version.........The one provided here is of combination (Hive=2.1.0) and hadoop(2.3.0)........No other version of hadoop will run and will show Errors. So better download hadoop 2.3.0 and the reinstall it

    • @carljohnson5306
      @carljohnson5306 4 года назад +1

      @@piyushtale0001 Yes I downloaded the older hadoop version and it worked . Thanks for the response brother anyway

  • @KKarkiUK01
    @KKarkiUK01 5 лет назад

    I am receiving this error when try to start hive(v.3.0.0): "hive is not recognized as an internal or external command,operable program or batch file".

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  5 лет назад

      Add hive bin path to system variable then path ...add new path and paste hive bin path there

    • @AmitKumar-yy6og
      @AmitKumar-yy6og 5 лет назад +1

      @@mrunmayeekulkarni1514 I am also facing exactly same problem. Looks like something different with hive 3.x version

    • @AmitKumar-yy6og
      @AmitKumar-yy6og 5 лет назад +2

      The reason hive 3.x is giving this error is it dont have a hive.cmd in its /bin. Only supported version that can run on windows are 2.1.X

    • @KKarkiUK01
      @KKarkiUK01 5 лет назад

      Yes amit 2.1x working fine for me.

  • @sandhyaagarwal2805
    @sandhyaagarwal2805 5 лет назад +1

    getting error "No log4j2 configuration file found. Using default configuration: logging only errors to the console" plz help

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  5 лет назад +1

      Is this only the error please comment last lines of error

    • @googlecolab9141
      @googlecolab9141 4 года назад

      getting same error "ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console."

    • @piyushtale0001
      @piyushtale0001 4 года назад

      @@googlecolab9141 To all my dear friends.Those who are getting connection closed error or any other please note your hadoop version.........The one provided here is of combination (Hive=2.1.0) and hadoop(2.3.0)........No other version of hadoop will run and will show Errors. So better download hadoop 2.3.0 and the reinstall it

  • @divyanshim1
    @divyanshim1 Год назад

    Wao!! thanks!

  • @googlecolab9141
    @googlecolab9141 4 года назад

    thanks you

  • @ano2170
    @ano2170 5 лет назад

    Is derby needed for installing Hive?

  • @AnilKumar-qe7yi
    @AnilKumar-qe7yi 3 года назад

    Hi,
    not able start hive. it is throwing an error ""Missing hadoop installation: C:\Hadoop\hadoop-3.3.0\bin must be set", however all deamons are working fine
    could you please let me know what might be the problem..

    • @AnilKumar-qe7yi
      @AnilKumar-qe7yi 3 года назад

      got it fixed but i'm facing another issue. Hive connection is not getting established "Connection is already closed"

    • @riteshpamadi7838
      @riteshpamadi7838 3 года назад

      @@AnilKumar-qe7yi how did you get it fixed?

    • @AnilKumar-qe7yi
      @AnilKumar-qe7yi 3 года назад

      @@riteshpamadi7838 was going through some of the blogs and one of them mentioned, hadoop version 3.3.o have a bug...fixed in later version...also suggested to use 2.6 or 2.7 those or stable version ..

    • @kirtis4712
      @kirtis4712 3 года назад

      I was getting missing hadoop installation error,after removing bin from HADOOP_HOME I am getting the connection already closed error. Also the datanode and both yarn nodes show a shutdown Message. Is it okay to get the Shutdown message.

  • @MUHAMMADFAISAL-kh9ir
    @MUHAMMADFAISAL-kh9ir 3 года назад

    "Missing hadoop installation: C:\hadoop\bin must be set" when i run hive i got this error !!! please help

  • @rikuntri
    @rikuntri 6 лет назад

    It is running on spark or tez

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  6 лет назад

      It works on derby meta-store which is a full-featured RDBMS with a small footprint, either embedded into a Java application or used as a database server

  • @uditjain3212
    @uditjain3212 4 года назад +1

    when i entered >hive command after connecting to server it is showing 'hive' is not recognized as an internal or external command,
    operable program or batch file.
    what should i do?

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  4 года назад

      Its ur system variable setting issue...make sure hive path is correctly set in the environment variables.

    • @uditjain3212
      @uditjain3212 4 года назад

      @@mrunmayeekulkarni1514 variable path is correct I checked twice

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  4 года назад

      @@uditjain3212 Are you running cmd as administrator ? Issue can be caused if not !

    • @uditjain3212
      @uditjain3212 4 года назад

      @@mrunmayeekulkarni1514 yes run as administrator

    • @uditjain3212
      @uditjain3212 4 года назад

      @@mrunmayeekulkarni1514I did it but it's still showing same what should I do?
      I'm using windows 10

  • @ashwinkumar5223
    @ashwinkumar5223 Год назад

    C:\hive\bin>hive
    "Missing hadoop installation: C:\hadoop\bin must be set"

  • @venkatragavan3359
    @venkatragavan3359 3 года назад

    after all cmd commands lastly ehile entering hive it says c://Hadoop/bin must be set

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  3 года назад

      You should install hadoop before installing hive use hadoop 2.3.0

    • @venkatragavan3359
      @venkatragavan3359 3 года назад

      @@mrunmayeekulkarni1514 it says now "Missing Hive Execution Jar: C:\apache-hive-2.1.0-bin\lib/hive-exec-*.jar"

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  3 года назад

      @@venkatragavan3359 check whether u have that jar in the folder specified else check for the hive home environment variable is set correctly or not

    • @venkatragavan3359
      @venkatragavan3359 3 года назад +1

      @@mrunmayeekulkarni1514 thank you

  • @samarthpatil5702
    @samarthpatil5702 4 года назад

    I am getting error of "missing hadoop installation c:\hadoop-2.8.0\bin must be set" please help me

  • @prashanthkundapur3038
    @prashanthkundapur3038 5 лет назад

    i followed all the steps perfectly but i am getting the error "Missing hadoop installation: C:\hadoop-2.7.7\bin must be set" please help me

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  5 лет назад

      Install hadoop 2.3.0

    • @yogi90007777
      @yogi90007777 5 лет назад

      Set HADOOP_HOME to C:\hadoop-2.7.7. And ONLY in the Path variable make it C:\hadoop-2.7.7\bin

    • @saidammaralkaf9146
      @saidammaralkaf9146 5 лет назад

      @@yogi90007777 not working

    • @yogi90007777
      @yogi90007777 5 лет назад

      @@saidammaralkaf9146 have you added thr path in Path variable as well?
      Also make sure you are adding Hadoop\sbin as HADOOP_SBIN and in Path as well.
      Paste the error here if possible.

    • @saidammaralkaf9146
      @saidammaralkaf9146 5 лет назад

      @@yogi90007777 i just del /bin from HADOOP _HOME and from HIVE_HOME and its just working

  • @shaikmahammadali83
    @shaikmahammadali83 4 года назад

    Hi, i am getting below error while launching hive command and not able to connect to hive prompt. please help
    Connecting to jdbc:hive2://
    com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V
    Beeline version 2.1.0 by Apache Hive
    com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V
    Connection is already closed.

    • @paranir4400
      @paranir4400 4 года назад

      Please use Hadoop version 2.10.0. I used 3.1.3 and faced same issue. Later read one article and found there seems to be some open vulnerability on that version.

    • @piyushtale0001
      @piyushtale0001 4 года назад

      To all my dear friends.Those who are getting connection closed error or any other please note your hadoop version.........The one provided here is of combination (Hive=2.1.0) and hadoop(2.3.0)........No other version of hadoop will run and will show Errors. So better download hadoop 2.3.0 and the reinstall it

  • @manoranajanjha837
    @manoranajanjha837 6 лет назад

    I am receiving this error when try to start hive..
    beeline versio. 2.1.0 by Appache Hive
    org.apache.hadoop.io.nativeio.nativeio$windows.createdirectorywithmode0(Ljava language/String; I)V
    Connection is already closed.
    Can anyone pls suggest me, what can be done to resolve this issue..

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  6 лет назад +1

      m j go to hadoop bin and type command hadoop namenode -format it will erase your namenode data but hive will start

    • @manoranajanjha837
      @manoranajanjha837 6 лет назад

      mrunmayee kulkarni Thanks for your quick turnaround :)
      I tried the same but unfortunately, still same error.. My Hadoop version - 2.7.6
      Can you pls help me to understand what is mean actually..
      org.apache.hadoop.io.nativeio.nativeio$windows.createdirectorywithmode0(Ljava language/String; I)V

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  6 лет назад +1

      m j this error is for hadoop and not for hive ...it is because hadoop is unable to create directory for hive and requires clean installation ..if your hadoop had something it needs to be reformated by command..but if this is still not working you have to create directory by yourself and then try same method ...there is another video by tiger on RUclips go for it ...follow just initial steps not all and install hive on clean hadoop ..I guess this will resolve the issue !

    • @carljohnson5306
      @carljohnson5306 4 года назад

      have you solved this error?

  • @rahul7631
    @rahul7631 4 года назад

    While installing hive I am getting error as : could not open `C:\Program Files\Java\jre1.8.0_221\lib\amd64\jvm.cfg'
    FYI: My java path is different C:\Java\jdk1.8.0_221\bin For this path I have set user and system variables
    Please help

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  4 года назад

      Check for jdk in your control panel.. I guess it not correctly installed try installing jdk again

    • @rahul7631
      @rahul7631 4 года назад

      @@mrunmayeekulkarni1514
      Thanks..
      I am running java programs. Also, hadoop is working fine.
      So, what is issue here?

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  4 года назад

      @@rahul7631 Try with default java path installation, as many of the internal configs have default java path

    • @rahul7631
      @rahul7631 4 года назад

      @@mrunmayeekulkarni1514
      So, you mean to say reinstall java with default path?

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  4 года назад

      @@rahul7631 yes and set envt variable again

  • @ratheshr07
    @ratheshr07 3 года назад

    I am facing below error while running startNetworkServer -h 0.0.0.0 command.
    Error: could not open `C:\Program Files\Java\jre1.8.0_131\lib\amd64\jvm.cfg'

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  3 года назад

      Check if your java is installed correctly.. Try installing jdk again

    • @ratheshr07
      @ratheshr07 3 года назад

      @@mrunmayeekulkarni1514 there were two java path's, that's why this issue came. When I ran start-dfs command, shutdown message is coming in popup

    • @ratheshr07
      @ratheshr07 3 года назад

      @@mrunmayeekulkarni1514 And if I ran hive command, I am getting error like Connection is already closed

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  3 года назад

      @@ratheshr07 run hadoop -namenode format command and try restarting

  • @WonderfulThings83
    @WonderfulThings83 5 лет назад

    Fantastic

  • @user-td9mz9lx4m
    @user-td9mz9lx4m 6 лет назад

    When trying to run hive I receive the error:
    "Missing hadoop installation: C:\Hadoop-2.7.7\libexec must be set"
    I have hadoop installed successfully

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  6 лет назад +1

      Ahmed H. Ali try hadoop 2.3.0

    • @user-td9mz9lx4m
      @user-td9mz9lx4m 6 лет назад +1

      mrunmayee kulkarni
      I try it but got same error message

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  6 лет назад +1

      Ahmed H. Ali if there is such folder named libexec then add its path to
      System variable ..search path then add new and try !

    • @manoranajanjha837
      @manoranajanjha837 6 лет назад +1

      Add a new system variable named HIVE_LIB and and path of this lib folder of hive.. it should work..

    • @user-td9mz9lx4m
      @user-td9mz9lx4m 6 лет назад

      m j thanx its running now

  • @hamzakazmi5150
    @hamzakazmi5150 4 года назад +1

    hey i am getting error connection is already closed when i try to start hive

    • @sudarshanashture6418
      @sudarshanashture6418 4 года назад

      Have you found any solution for your error? I am also getting the same error

    • @carljohnson5306
      @carljohnson5306 4 года назад

      @@sudarshanashture6418 yes me too . have you figured it out?

    • @piyushtale0001
      @piyushtale0001 4 года назад

      @@sudarshanashture6418 To all my dear friends.Those who are getting connection closed error or any other please note your hadoop version.........The one provided here is of combination (Hive=2.1.0) and hadoop(2.3.0)........No other version of hadoop will run and will show Errors. So better download hadoop 2.3.0 and the reinstall it

    • @piyushtale0001
      @piyushtale0001 4 года назад

      @@carljohnson5306 To all my dear friends.Those who are getting connection closed error or any other please note your hadoop version.........The one provided here is of combination (Hive=2.1.0) and hadoop(2.3.0)........No other version of hadoop will run and will show Errors. So better download hadoop 2.3.0 and the reinstall it

  • @DeepakKumar-xq8ud
    @DeepakKumar-xq8ud 4 года назад

    error: Missing hadoop installation: C:\hadoop-3.1.3\bin must be set

  • @sankeerthsharma7542
    @sankeerthsharma7542 3 года назад

    Facing "Connection is already closed" while trying to initialize hive please help.

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  3 года назад

      Run with administrator both hadoop and then derby then hive

    • @sankeerthsharma7542
      @sankeerthsharma7542 3 года назад

      @@mrunmayeekulkarni1514 yeah i did the same ran hadoop and then derby and hive as administrator . still facing same issues. Using hadoop version 3.2.1

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  3 года назад

      @@sankeerthsharma7542 try restarting your PC ...your major issue is derby as connection is established by the server

    • @sankeerthsharma7542
      @sankeerthsharma7542 3 года назад

      @@mrunmayeekulkarni1514 i tried restarting my system but still facing the same issue.
      output from derby:
      Apache Derby Network Server - 10.12.1.1 - (1704137) started and ready to accept connections on port 1527
      output from hive shell:
      C:\Hive\bin>hive
      SLF4J: Class path contains multiple SLF4J bindings.
      SLF4J: Found binding in [jar:file:/C:/Hive/lib/log4j-slf4j-impl-2.4.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: Found binding in [jar:file:/C:/Hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
      SLF4J: See www.slf4j.org/codes.html#multiple_bindings for an explanation.
      SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
      ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
      Connecting to jdbc:hive2://
      com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V
      Beeline version 2.1.0 by Apache Hive
      com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V
      Connection is already closed.
      Could you please help me out......lots of dependency on these setup

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  3 года назад

      @@sankeerthsharma7542 just locate your hadoop folder then bin and type command
      hadoop namenode -format in cmd prompt
      it will eventually delete all your data from hadoop but it solve the issue ! Let me know

  • @shivangveeravlogs7164
    @shivangveeravlogs7164 3 года назад

    Hi Mrunmayee,
    I have installed hive same version, But I am getting an error, The error is "Missing Hive Execution Jar: C:\hive\lib/hive-exec-*.jar" Can you resolve it.

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  3 года назад

      Check if the folder has any executable jar..if so type that jar name in cmd while running

    • @riteshpamadi7838
      @riteshpamadi7838 3 года назад

      @@mrunmayeekulkarni1514 i have the same error,but there is no executable jar in the hive folder, what do i do? pls help me

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  3 года назад

      @@riteshpamadi7838 just trying installing a different hive version after download make sure it has a executable .exe, if not download another.. it's try and error !

    • @riteshpamadi7838
      @riteshpamadi7838 3 года назад

      @@mrunmayeekulkarni1514 how do I make sure that there is an executable jar

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  3 года назад

      @@riteshpamadi7838 just make sure you have a hive.exe that's it

  • @sidd913
    @sidd913 5 лет назад

    Awesone tutorial!
    When I execute hive,it shows an error that No log4j2 found. Please help

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  5 лет назад

      That's not an issue ! Hive will still work

    • @sidd913
      @sidd913 5 лет назад

      ​@@mrunmayeekulkarni1514 Thanks for the response. Hive has been set up properly. I have a quick question. I need to migrate data from DB2 to Hive using Sqoop. Is it possible to implement the same on Derby DB or I require MySQL for that?

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  5 лет назад

      @@sidd913 Never tried such ! But it can work on derby ..you will have to iterate sqoop commands for each table to import.

    • @xanthris1736
      @xanthris1736 3 года назад +1

      @@mrunmayeekulkarni1514 it is showing the error "Connection is already closed"...How to resolve this

    • @chillbro2432
      @chillbro2432 2 года назад

      @@xanthris1736 Hey have you solved this error?

  • @furkan_genc
    @furkan_genc 6 лет назад

    Thanks for video
    When trying to run hive I receive the error:
    "Error applying authorization policy on hive configuration: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
    Beeline version 2.1.0 by Apache Hive
    Error applying authorization policy on hive configuration: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient"
    Can anyone help me?

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  6 лет назад

      furkan genc command prompt should " run as administrator " while starting derby metastore

    • @furkan_genc
      @furkan_genc 6 лет назад

      of course i did it. I even did it again from the beginning so that maybe I might have done wrong. I think it s about hive-site.xml But i didn t solve it. Althought hadoop and derby work wey well

    • @furkan_genc
      @furkan_genc 6 лет назад

      I have hadoop 3.0 installed. Could it be that? what is your hadoop version?

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  6 лет назад

      furkan genc mine is hadoop 2.3.0 try with this version this might help also change environment variable for new hadoop .

    • @mahmoudbounouh8444
      @mahmoudbounouh8444 6 лет назад

      Same Problem :/ :/ Did you find a solution ?

  • @kirtis4712
    @kirtis4712 3 года назад

    My datanode and both yarn nodes are getting shutdown. Should that be happening. Also on running hive I am getting connection already closed

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  3 года назад

      Use hadoop 2.3.0 only...if you are using 2.3.0 then type command hadoop namenode -format. It will clear the hadoop data but connection close error will resolve

  • @piyushtale0001
    @piyushtale0001 4 года назад +3

    To all my dear friends.Those who are getting connection closed error or any other please note your hadoop version.........The one provided here is of combination (Hive=2.1.0) and hadoop(2.3.0)........No other version of hadoop will run and will show Errors. So better download hadoop 2.3.0 and the reinstall it # Thanks Mrunmayi

    • @iamgauravnagar
      @iamgauravnagar 4 года назад

      @Piyush 0001 - Will you please provide link where i can get hadoop 2.0 version- i can only see 2.9 and highre version on Apache site

    • @rudraksh_kawadkar
      @rudraksh_kawadkar Год назад

      It is also not working, same connection error in hadoop 2.3.0 as well 😢

  • @mounikaappam8722
    @mounikaappam8722 4 года назад +1

    Nice video its very helpful. Iam trying to download hive-site. Xml file but facing error sorry unable to open the file at present. Could you please help me out.... Thanks

  • @ratheshr07
    @ratheshr07 3 года назад

    When i am running HIVE command, I am facing the below error. Can you help me with this?
    com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V
    Beeline version 2.1.0 by Apache Hive
    com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V
    Connection is already closed.
    Note : I am using Hadoop 3.2.1, it is running fine

  • @robloxexplits1003
    @robloxexplits1003 4 года назад

    C:\hive\bin>hive
    SLF4J: Class path contains multiple SLF4J bindings.
    SLF4J: Found binding in [jar:file:/C:/hive/lib/log4j-slf4j-impl-2.4.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
    SLF4J: Found binding in [jar:file:/D:/Softwares/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
    SLF4J: See www.slf4j.org/codes.html#multiple_bindings for an explanation.
    SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
    ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
    Connecting to jdbc:hive2://
    Error applying authorization policy on hive configuration: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
    Beeline version 2.1.0 by Apache Hive
    Error applying authorization policy on hive configuration: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
    Connection is already closed.
    I have hadoop 3.1.3. And all other dependencies have same version as the video. someone help your brother out?

    • @presleysakwa5869
      @presleysakwa5869 Год назад

      getting the same error did you find a solution to it

    • @anilmanda670
      @anilmanda670 Год назад

      @@presleysakwa5869 me too same error

  • @manikandanbasker4929
    @manikandanbasker4929 5 лет назад

    Microsoft Windows [Version 6.3.9600]
    (c) 2013 Microsoft Corporation. All rights reserved.
    C:\Windows\system32>E:
    E:\>cd hive\bin
    E:\hive\bin>hive
    'hive' is not recognized as an internal or external command,
    operable program or batch file.
    E:\hive\bin>

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  5 лет назад

      Add hive bin path into system variable and then path add new path

    • @manikandanbasker4929
      @manikandanbasker4929 5 лет назад

      thanks, it's working, how to connect mysql data's in hive(metastore)

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  5 лет назад

      @@manikandanbasker4929 it requires a different hivesite.xml with MySQL credentials set in XML . You can download it from internet and paste in place of current hivesite.xml and try connecting

  • @SagarKalthiya
    @SagarKalthiya Год назад

    i'm getting this error : - FAILED: HiveException java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient

    • @zakariaaliti
      @zakariaaliti Год назад

      same rhing i'm getting error: FAILED: HiveException java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient
      do you have to solve it

  • @therajlalrs1460
    @therajlalrs1460 Год назад

    Error applying authorization policy on hive configuration: org.apache.hadoop.hive.ql.metadata.HiveException: java.lang.RuntimeException: Unable to instantiate org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient (i got this error)

  • @santiagoapontemarin1828
    @santiagoapontemarin1828 4 года назад

    help me, i have this error:
    Connecting to jdbc:hive2://
    com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V
    Beeline version 2.1.0 by Apache Hive
    com.google.common.base.Preconditions.checkArgument(ZLjava/lang/String;Ljava/lang/Object;)V
    Connection is already closed.

    • @piyushtale0001
      @piyushtale0001 4 года назад

      To all my dear friends.Those who are getting connection closed error or any other please note your hadoop version.........The one provided here is of combination (Hive=2.1.0) and hadoop(2.3.0)........No other version of hadoop will run and will show Errors. So better download hadoop 2.3.0 and the reinstall it

    • @nagarajudevandla1511
      @nagarajudevandla1511 2 года назад

      is that issue resolved.? If yes ,How did you resolve that as i am facing the same issue.

  • @saidammaralkaf9146
    @saidammaralkaf9146 5 лет назад

    i got this error ""Missing hadoop installation: C:\hadoop-2.8.0\bin must be set"" help me !

    • @mrunmayeekulkarni1514
      @mrunmayeekulkarni1514  5 лет назад

      You have to remove 2.8.0 and try installing 2.3.0 with all environment variables again

    • @saidammaralkaf9146
      @saidammaralkaf9146 5 лет назад

      @@mrunmayeekulkarni1514 no i solved it, all you have to do is del /bin from hadoop home

    • @saidammaralkaf9146
      @saidammaralkaf9146 5 лет назад

      @Khurram Imtiaz have you run hadoop properly? go to sbin and start the cmd there. then delete bin from HADOOP_HOME and HIVE_HOME

    • @saidammaralkaf9146
      @saidammaralkaf9146 5 лет назад

      @Khurram Imtiaz 😊

    • @akashgharat9280
      @akashgharat9280 4 года назад

      @@saidammaralkaf9146 from where we can find Hadoop home ??