Hive Installation Demo On Ubuntu | Hive Installation On Hadoop | Hive Installation on Ubuntu 20.04

Hive Installation Demo On Ubuntu | Hive Installation On Hadoop | Hive Installation on Ubuntu 20.04

Unfold Data Science

3 года назад

36,096 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@ashutoshpratapsingh3032
@ashutoshpratapsingh3032 - 19.11.2023 22:05

ashutosh@ashutosh:~/apache-hive-3.1.2-bin/bin$ schematool -initSchema -dbType derby
Cannot find hadoop installation: $HADOOP_HOME or $HADOOP_PREFIX must be set or hadoop must be in the path
Sir please help asap.
It is showing this error after schematool command

Ответить
@VicenteAguilarD
@VicenteAguilarD - 15.11.2023 20:19

Thank you for the tutorial and for the resources.
do you have any tutorial for installing Hadoop as a cluster?

Ответить
@user-zc1wx5oi5r
@user-zc1wx5oi5r - 10.09.2023 17:33

what is prerequisite to use any RDBMS in hive? do we have to install in our machine first ?

Ответить
@rehaanoush4955
@rehaanoush4955 - 07.08.2023 13:31

Metastore Connection Driver : org.apache.derby.jdbc.EmbeddedDriver
Metastore connection User: APP
org.apache.hadoop.hive.metastore.HiveMetaException: Failed to get schema version.
Underlying cause: java.sql.SQLException : Failed to start database 'metastore_db' with class loader sun.misc.Launcher$AppClassLoader@ea4a92b, see the next exception for details.
SQL Error code: 40000
Use --verbose for detailed stacktrace.
* schemaTool failed *
facing this error

Ответить
@user-ci6wp2dq6t
@user-ci6wp2dq6t - 21.07.2023 19:56

Follwed the same procedure but while starting hive I am getting the following error: Hive Session ID = 354ea424-88e5-46b6-bc75-7381026b1e8f
Exception in thread "main" java.lang.ClassCastException: 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')
at org.apache.hadoop.hive.ql.session.SessionState.<init>(SessionState.java:413)
at org.apache.hadoop.hive.ql.session.SessionState.<init>(SessionState.java:389)
at org.apache.hadoop.hive.cli.CliSessionState.<init>(CliSessionState.java:60)
at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:705)
at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:683)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.apache.hadoop.util.RunJar.run(RunJar.java:323)
at org.apache.hadoop.util.RunJar.main(RunJar.java:236)
Kindly help me to resolve this issue

Ответить
@rohitpawar6021
@rohitpawar6021 - 08.06.2023 13:24

Hii can't we use Hive without hadoop

Ответить
@user-vr7tk2qk9r
@user-vr7tk2qk9r - 20.05.2023 17:00

Sir I can not access the hdoop folder which is located in home.

Ответить
@KhushalDhumal
@KhushalDhumal - 05.05.2023 17:45

Cannot find hadoop installation: $HADOOP_HOME or $HADOOP_PREFIX must be set or hadoop must be in the path

Ответить
@xyz956
@xyz956 - 24.04.2023 16:39

how much ram and memory have you allocated for the virtual box , please tell , its urgent
when i am running hive queries, my map reducer is getting out of memory

Ответить
@divyanshim1
@divyanshim1 - 14.02.2023 15:56

Thanks a lot!

Ответить
@abhisheknagdeve8078
@abhisheknagdeve8078 - 06.01.2023 14:25

Missing Hive execution Jar

Ответить
@pankajjagdale2005
@pankajjagdale2005 - 26.12.2022 06:42

thank you sir

Ответить
@pankajjagdale2005
@pankajjagdale2005 - 22.12.2022 06:52

sir please make video on hbase installation

Ответить
@abhishekn786
@abhishekn786 - 20.12.2022 15:03

Hi sir, in real time.
Is it recommended to use derby database? Is it safe?
I saw people use MySQL to store metadata coz it's safe and fast.
Plz let me know is it safe to use derby to store huge metadata?


Thanks 😊

Ответить
@sanskarvidyarthi9895
@sanskarvidyarthi9895 - 06.12.2022 12:14

Here are the errors that I received: (in hdoop user)
1) Command - rm $HIVE_HOME/lib/guava-19.0.jar
error - rm: cannot remove '/lib/guava-19.0.jar': No such file or directory

2) Command - cp $HADOOP_HOME/share/hadoop/hdfs/lib/guava-27.0-jre.jar $HIVE_HOME/lib/
error - cp: cannot create regular file '/lib/guava-27.0-jre.jar': Permission denied

3) Command - schematool -initSchema -dbType derby
error - schematool: command not found

And when I run hive it says:
hive
Command 'hive' not found

Kindly help

Ответить
@tehofriends1386
@tehofriends1386 - 25.11.2022 15:55

Thank you again ! Just one correction to document .
export HADOOP_HOME=/home/hdoop/hadoop-3.2.1 ; this needs to be updated with 3.2.3 in the document .
Otherwise- we will get the error as "Cannot find hadoop installation: $HADOOP_HOME or $HADOOP_PREFIX must be set or hadoop must be in the path".

Ответить
@Chanezk
@Chanezk - 20.11.2022 19:35

GREAT THANKS for this helpful tutorial !

Ответить
@techmohit8745
@techmohit8745 - 03.11.2022 20:26

rm: cannot remove '/lib/guava-19.0.jar': No such file or directory
how to solve it?

Ответить
@carloshidalgo1949
@carloshidalgo1949 - 27.10.2022 06:52

schematool: command not found ¸??

Ответить
@varun6322
@varun6322 - 18.10.2022 20:23

I am getting a Java error while running hive shell

Ответить
@jeetshah8513
@jeetshah8513 - 13.10.2022 09:33

Exception in thread "main" java.lang.RuntimeException: The dir: /tmp/hive on HDFS should be writable. Current permissions are: rwxr-xr-x

and when i check there is not folder as hive in tmp
but my hive installation was successful

Ответить
@edvargas2009
@edvargas2009 - 28.09.2022 14:54

Thanks, please help me to understand, hive can be connected with a remote Hadoop? I mean a Hadoop which is not in the same hive machine?

Ответить
@RahulRathore-wj9uy
@RahulRathore-wj9uy - 13.09.2022 16:09

Error is coming schema tool is not found while running this command : schematool -initSchema -dbType derby

Ответить
@dipakchavan4659
@dipakchavan4659 - 23.08.2022 14:40

Hey Aman, I'm getting this error, can you plz help.


hdoop@dipak:~/apache-hive-3.1.2-bin/bin$ schematool -initSchema -dbType derby
Cannot find hadoop installation: $HADOOP_HOME or $HADOOP_PREFIX must be set or hadoop must be in the path

Ответить
@pankajbhoi4900
@pankajbhoi4900 - 17.08.2022 12:23

such a nice tutorial video... thanks bro

Ответить
@bhargavikrishna2
@bhargavikrishna2 - 23.07.2022 18:36

hadoop path should also given or simply hive path is enough?

Ответить
@rohitdeshmukh9803
@rohitdeshmukh9803 - 08.07.2022 12:26

sir i do installation of hadoop by using ur lecture it succesfully running but now iam trying to install hbase but its is giving same errors which we faced in this video so,pls make a video on hbase installation also on standalone mode

Ответить
@botlikegaming2164
@botlikegaming2164 - 04.07.2022 10:02

Just too good!

Ответить
@akarshsharma2177
@akarshsharma2177 - 07.02.2022 22:32

hi, i followed every single step but when i tried to launch it threw an error : log4j:ERROR Could not instantiate class [org.apache.hadoop.hive.shims.HiveEventCounter].
Can you pls help.. Thanks

Ответить
@aniketdhale3351
@aniketdhale3351 - 18.01.2022 16:36

While making dir user/hive/warehouse ...it is showing mkdir: Call from ........ to localhost:9000 failed on connection

Ответить
@rhuthuhegde3353
@rhuthuhegde3353 - 09.01.2022 14:44

How do I solve this issue?
Exception in thread "main" java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader

Ответить
@annu4666
@annu4666 - 18.12.2021 19:03

Thank you Sir for this tutorial

Ответить
@chatrughanprasad7778
@chatrughanprasad7778 - 02.12.2021 17:14

I was facing the issue with the installation thanks

Ответить
@chatrughanprasad7778
@chatrughanprasad7778 - 02.12.2021 14:39

Great

Ответить
@aakashakku5
@aakashakku5 - 27.11.2021 16:09

Thank you sir

Ответить
@prafulmaka7710
@prafulmaka7710 - 24.11.2021 03:53

Nice!! Thanks for pointing out the multiple bindings!

Ответить
@shubhangisah2342
@shubhangisah2342 - 30.10.2021 00:04

Thank you bro ! I was also getting guava error. Now resolved. Great video

Ответить
@uttammeena1437
@uttammeena1437 - 29.07.2021 08:32

sir , if i don't have guava-27.0-jre.jar in hdfs lib what i have to do ?

Ответить
@AdityaSharma-sx8we
@AdityaSharma-sx8we - 09.07.2021 18:50

Throwing me this error plz help me out !!
Cannot find hadoop installation: $HADOOP_HOME or $HADOOP_PREFIX must be set or hadoop must be in the path

Ответить
@yitayewsolomon4906
@yitayewsolomon4906 - 26.06.2021 14:20

Hello man how are you, I installed both hadoop 3.2.2 and hive 3.1.2, at the end of hive installation ($HIVE_HOME/bin/schematool –initSchema –dbType derby), I will faced with this error (HiveSchemaTool:Parsing failed.), how can i solve it??? thanks for your cooperation.

Ответить
@sudippandit9855
@sudippandit9855 - 08.06.2021 05:13

Hello Aman, thanks for this installation video! hey can you please tell me that I am not able to delete guava-19.0.jar file as it is write protected file. How could I do?

Ответить
@shubhangidargude
@shubhangidargude - 04.06.2021 12:15

While running hive query "Exception in thread "main" java.lang.RuntimeException: java.net.ConnectException:" I got this error,Any solution for this?

Ответить
@subhankarbhattacharya2940
@subhankarbhattacharya2940 - 11.05.2021 20:20

Can you done some videos on streaming technologies - Kafka, Storm etc

Ответить
@carolcastaneda1283
@carolcastaneda1283 - 09.05.2021 06:35

Thanks! Magnificent tutorial, very well explained and done! Congratulations

Ответить
@akanshkumar2876
@akanshkumar2876 - 07.05.2021 14:36

bhai hbase v install karwa do

Ответить
@sagarmehla2102
@sagarmehla2102 - 06.05.2021 17:18

It works.

Ответить
@galfrasian
@galfrasian - 02.05.2021 14:07

getting an error schematool: command not found

Ответить