@CloublabxTeam,
If you people don’t support infrastructure issues then who is accountable? Feel waste of money to subscribe to cloudlabx.
@CloublabxTeam,
If you people don’t support infrastructure issues then who is accountable? Feel waste of money to subscribe to cloudlabx.
These commands are working fine.
There is something wrong in your account. Looks like Java path issue - may be because of installation of some package.
Will it be okay if we delete the current account and recreate it?
HI
I am going through Hive- Hands On topic, In that i have come across below issues,
2.Not able to identify default database as per the video.
Not able to identify NYSE_File and load the same.
I have followed the instructions posted by satyajit but am getting error(NYSE table not found) as i attached in my previous mails.
Steps mentioned by satyajit in comments section(slide 4 - Hive hands on)
Hi Vishnupriya,
Could you post as separate post instead of on existing thread?
Hi, Vishnupriya.
Below are the steps to copy the NYSE_daily to local and load it to the table in hive database.
hadoop fs -copyToLocal /data/NYSE_daily
hive> use your_hive_databasename; # database name
hive> load data local inpath ‘NYSE_daily’ overwrite into table nyse;
hive> SELECT symbol1, AVG(price_open) AS avg_price FROM nyse GROUP BY symbol1;
hive> insert overwrite local directory ‘/home/your_cloudxlab_username/onlycmc’
select * from nyse where symbol1 = ‘CMC’; # this will move to the local directory.
hive> insert overwrite directory ‘onlycmc’ select * from nyse where symbol1=‘CMC’ # this will overwrite the nyse table
go to local user> ls
local user > cd onlycmc
local user> cat 000000_0
It worked for me so I am posting to you.
Kindly keep in mind the below while doing anything.
Now I think you will be able to do it.
All the best!