Re: Failure in the Kerberos authentication to Hive metastore

2017-07-27 Thread shakti singh Shekhawat
ot cause. And happened to find a JIRA >> related with my issue: https://issues.cloudera.org/browse/DISTRO-610. >> >> >> >> On Thu, Jul 27, 2017 at 11:41 AM, wenxing zheng <wenxing.zh...@gmail.com> >> wrote: >> >>> Thanks to Shkti. Will have a try

Re: Failure in the Kerberos authentication to Hive metastore

2017-07-26 Thread shakti singh Shekhawat
html Thanks, Shakti Singh Shekhawat On Wed, Jul 26, 2017 at 10:42 PM wenxing zheng <wenxing.zh...@gmail.com> wrote: > Dear all, > > We have a Hive in 2.1.1 and a web application running against the Hive > server. Before enabling the Kerberos, everything is OK. But after enabling

Re: Failure in the Kerberos authentication to Hive metastore

2017-07-27 Thread shakti singh Shekhawat
-site.xml >>> "); >>> if(f.exists()){ >>> conf.addResource(f.toURI().toURL()); >>> } >>> else{log.error(f.toString()+"nonexist.");} >>> try{ >>> client=new HiveMetaStoreClient(conf); >>> } >>> catch(Exce

Re: Table count is more than File count after loading in hive

2017-05-29 Thread shakti singh Shekhawat
Hi Balajee, The best way will be to clean the file in Unix(or perl or python) before loading the file in HIVE. The root cause should be most probably carriage return(occurs as mostly the files generated on Microsoft platform consists of ^M characters in file). To identify whether carriage return