Member since
06-06-2016
185
Posts
12
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2690 | 07-20-2016 07:47 AM | |
2255 | 07-12-2016 12:59 PM |
05-02-2020
09:35 AM
@ssubhas This did not work as well. Can you help me out. I am unable to connect to HIVE SERVICE in Putty.
... View more
09-10-2018
01:55 PM
Hello @rama. Hm. that's strange. By any chance to have the add partition + insert in a short period between them? I'm asking this, cause I'm suspecting 2 things: - That you had your partition added and somehow the table got locked. You can check this by running show locks; - Check if your HiveMetaStore DB (mysql, derby or etc) is healthy. So guess, in the next time you can try to do the following: - Enable DEBUG mode for HiveMetastore logs and check if you find something. - Login into the DB and check if your partitions have been added properly - Login into Hive with verbose and run SHOW LOCKS; - Just to confirm, make sure that you're running the msck repair table <TABLE>; after the whole process ended. Hope this helps!
... View more
03-01-2018
09:02 AM
@rama I guess the issue here is due to incorrect mapping between the substr return type and the value being compared. I verified similar scenario and below are the details: hive> desc flight_details;
OK
flightnum string
tailnum string
uniquecarrier string
origin string
dest string
Time taken: 0.295 seconds, Fetched: 5 row(s)
hive> select * from flight_details where substr(tailnum,2,3)>=500 limit 10;
OK
1018 N828UA UA OAK ORD
1020 N567UA UA IAD BOS
1020 N561UA UA IAD BOS
1020 N554UA UA IAD BOS
1020 N535UA UA IAD BOS
1020 N571UA UA IAD BOS
1020 N530UA UA IAD BOS
1020 N553UA UA IAD BOS
1020 N525UA UA IAD BOS
1020 N585UA UA IAD BOS
... View more
08-01-2017
03:38 PM
hi @rama Typically, the variable would be defined somewhere earlier in the script that contains the query, or in the CLI, with a SET statement. Something like: SET TB_MASTER=table_name; If you don't see where it was defined, then you would most likely be guessing from the total databases and tables within your system. If the system is very small, that might be feasible. You can use the "show databases" command to list the databases. If you see one that makes sense, you can issue a "use <database_name>" command and then issue a "show tables" to view the list of table names that exist within that Hive database. Here are some links on Hive variables and how they work. https://cwiki.apache.org/confluence/display/Hive/LanguageManual+VariableSubstitution#LanguageManualVariableSubstitution-UsingVariables https://community.hortonworks.com/articles/60309/working-with-variables-in-hive-hive-shell-and-beel.html
... View more
06-13-2017
12:21 PM
Thanks you @Sagar Morakhia I have try above query but no luck still it is running since 4 hours
... View more
04-10-2017
12:27 PM
Thanks you so much @mqureshi I could not find mapreduce.task.files.preserve.failedtasks , i am using MRv2 HDP 2.1.3 and currently i dont have running jobs..
... View more
03-22-2017
04:31 AM
@Jay SenSharma Thanks its working fine warning masg are not coming ..
... View more
03-14-2017
02:16 PM
Thank you so much@Jay SenSharma what are step should i follow after restart the ambari? can you suggest any document which help me step by step?
... View more
03-14-2017
01:29 PM
if you use the log search utility, it automatically parses logs for you by severity level, if you intend to do it manually, you can search for an ERROR code.
... View more