Member since
06-06-2016
185
Posts
12
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2698 | 07-20-2016 07:47 AM | |
2257 | 07-12-2016 12:59 PM |
09-10-2018
11:51 AM
@Naga Yamini Polepeddi I am not sure what happens here but i just resolved my issue by placing "if else" case if partitions are zero then again it will automatically load the last file again , i know that this is not proper solution but for temporally i enable, i am still working on this with export
... View more
06-19-2018
07:26 PM
Thanks @ Vinicius Higa Murakami my cluster hive.exec.max.dynamic.partitions = 5000 i have checked the hivemetastore.log but i could not find any locks in hive log. no i have not running MSCK repair table after my batch load this is second time i am facing this issue in row, i resolved this issue by reload the files again, once i reload file all partitions are properly added.but i worried about recurring this issue. Please note one point i forgot to mention, after i load the file it will check the if partitions are existed or not if partitioned already exist it will drop the old one and add the new parititons, BUT here the complete partitions are not visible. EX: I have partitions based on key and month, i have keys A,B,C and months 01,02,03 and if i load a new file with key=A and month=03 , it is drooping only and key=A and month=03 and adding the new partitions but after process complete i could not see data for entire Key=A for all months in hive tables. After some time if reload the file , i could see entire data. I have bellow error message on my hivemetastore.log is this causing the any issue? and related to this? .IOException Scope named api_alter_partitions is not closed, cannot be opened. java.io.IOException: Scope named api_alter_partitions is not closed, cannot be opened.
... View more
06-18-2018
02:04 PM
HI @Paul Hernandez I am not triggering MSCK REPAIR TABLE <tablename>, i hope which may works here i will do it but my quick question till now we have not use MSCK REPAIR, why should we need this now only. i am using external table using azure blob storage .
... View more
06-18-2018
09:09 AM
Hi Team, i am facing this issue recursively. Currently i am working on HIVE tables and facing issue with hive partitions ,we have script to drop partitions if exist based on dynamic values and add the new partitions based on new data comes. i have uploaded two files with same partitions with different data in gap of 1 hours, both files are processed successfully and logs showing that partitions are adding drooped properly, but while checking the data in table, data was not there. After some time i have load same files same which i have uploaded last and partitions are properly placed and i could able to see the data in hive. Please help us here how to resolve this issue ? what might be root cause of this issue, we are facing this issue recursively.
... View more
Labels:
03-01-2018
08:29 AM
Thanks @djaiswal for your response i could not find any logs for query..at initial stage only it got failed i hope its not giving any job/Application id..while i execute from Ambari HIVE view i am getting below error and i attached completed error message meta-execption.txt org.apache.ambari.view.hive.client.HiveInvalidQueryException: Error while compiling statement: FAILED: SemanticException MetaException(message:Exception thrown when executing query) [ERROR_STATUS]
org.apache.ambari.view.hive.client.HiveInvalidQueryException: Error while compiling statement: FAILED: SemanticException MetaException(message:Exception thrown when executing query) [ERROR_STATUS]
at org.apache.ambari.view.hive.client.Utils.verifySuccess(Utils.java:46)
at org.apache.ambari.view.hive.client.Connection.execute(Connection.java:614)
at org.apache.ambari.view.hive.client.Connection.executeAsync(Connection.java:625)
at org.apache.ambari.view.hive.resources.jobs.ConnectionController.executeQuery(ConnectionController.java:67)
at org.apache.ambari.view.hive.resources.jobs.viewJobs.JobControllerImpl.submit(JobControllerImpl.java:109)
at org.apache.ambari.view.hive.resources.jobs.JobService.create(JobService.java:414)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.sun.jersey.spi.container.JavaMethodInvokerFactory$1.invoke(JavaMethodInvokerFactory.java:60)
at com.sun.jersey.server.impl.model.method.dispatch.AbstractResourceMethodDispatchProvider$ResponseOutInvoker._dispatch(AbstractResourceMethodDispatchProvider.java:205)
at com.sun.jersey.server.impl.model.method.dispatch.ResourceJavaMethodDispatcher.dispatch(ResourceJavaMethodDispatcher.java:75)
at com.sun.jersey.server.impl.uri.rules.HttpMethodRule.accept(HttpMethodRule.java:302)
at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137)
at com.sun.jersey.server.impl.uri.rules.RightHandPathRule.accept(RightHandPathRule.java:147)
at com.sun.jersey.server.impl.uri.rules.SubLocatorRule.accept(SubLocatorRule.java:137)
at
... View more
02-07-2018
09:01 AM
Hi i have a data for 2015 to 2018 year i am using hive query to get the data based on below condition but i am getting meta exception Query : select ct_code,date_code from dim_table where substr(date_code,1,4)>=2015 and substr(date_code,1,4)<=2018; FAILED: SemanticException MetaException(message:Exception thrown when executing query) If i give select with out where conditon: select * from dim_table it is working fine. or when i split above query to parts based on years it also working fine. select ct_code,date_code from dim_table where substr(date_code,1,4)>=2015 and substr(date_code,1,4)<=2017 ; select ct_code,date_code from dim_table where substr(date_code,1,4)=2018; But when i give only where substr(date_code,1,4)>=2015 it also not working Can you please help me to understand that why i am getting this issue.
... View more
Labels:
08-01-2017
01:53 PM
Hi team i have hql query for data insertion INSERT OVERWRITE TABLE ${hiveconf:TB_MASTER} . i am aware hiveconf:TB_MASTER is variable but i am not aware where i can get variable value for TB_MASTER, can you help me to possibilities to find value?
... View more
Labels:
- Labels:
-
Apache Hive
07-06-2017
06:52 PM
Thanks @Sindhu It was working fine with hive --hiveconf hive.execution.engine=mr". but why should we use this? instead "hive" which i was using since starting?
... View more
07-06-2017
05:59 PM
Hi Team, I am using HDP 2.4 on HDinsight 3.6(azure) with HIVE 1.2.1.2.4 , I am unable to connect to hive CLI through putty but i am able to connect the hive view in ambari. I was getting stuck in below stage ssh-hadoop:~$ hive WARNING: Use "yarn jar" to launch YARN applications. Logging initialized using configuration in file:/etc/hive/2.4.2.0-258/0/hive-log4j.properties Can you Please help me to get out this issue ASAP
... View more
Labels:
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