Member since
04-30-2019
53
Posts
5
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2955 | 01-08-2020 07:09 AM |
02-21-2020
01:06 AM
@Folks You can follow this approach for any other kerberos keytab related issues with LLAP.
... View more
02-20-2020
02:09 AM
LLAP Service sometimes may fail to startup after HDP upgrade with the following error:
Error:: Caused by: org.apache.hadoop.security.KerberosAuthException: failure to login: for principal: hive/prakash.cloudera.com@CLOUDERA.COM from keytab /grid/0/yarn/local/usercache/hive/appcache/application_**********/container_***********_01_000001/keytabs/llap0.keytab javax.security.auth.login.LoginException: Pre-authentication information was invalid (24)
To resolve this issue, run the following command and start LLAP:
yarn app -destroy llap0
If the issue persists, then do the following
Check the hive.service.keytab file is available in all the hosts, run kinit and test the connectivity.
If the file is missing, recreate the keytabs on the missing hosts either through Ambari or manually (see this article for manual keytab creation).
Verify the file in HDFS and copy it to the local. Perform kinit with the copied keytab.
hdfs:///user/hive/.yarn/keytabs/hive/hive.service.keytab
hdfs dfs -copyToLocal /user/hive/.yarn/keytabs/hive/hive.service.keytab /tmp/hive.keytab
kinit -kt /tmp/hive.keytab hive/prakash.cloudera.com@CLOUDERA.COM
kinit: Preauthentication failed while getting initial credentials
If you get the error, to move the keytab file from hdfs location.
hdfs dfs -cp /user/hive/.yarn/keytabs/hive/hive.service.keytab /tmp/
hdfs dfs -rm /user/hive/.yarn/keytabs/hive/hive.service.keytab
Start LLAP component.
... View more
02-13-2020
06:00 AM
@Asoka I think you're passing the hidden file in the --password-file option sqoop export --connect jdbc:mysql://hostname/test --connection-manager org.apache.sqoop.manager.MySQLManager --export-dir /tmp/version --table HiveVersion --username hive --password-file file:///tmp/mysql-pass.txt This command worked for me
... View more
01-20-2020
04:54 AM
@saivenkatg55 It looks like query is not retrieving any results from the specific table.Could you please attach the "show create table pcr_project" output. Meanwhile verify the data and it's ownership in the hdfs path.
... View more
01-08-2020
07:41 AM
@Sambasivam Another way of collecting the data is from yarn ATS through Rest API calls.Please have a look and frame your rest api calls to access the data. https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.1.4/data-operating-system/content/rest_apis_for_querying_timeline_service_2.0.html https://hadoop.apache.org/docs/r3.1.0/hadoop-yarn/hadoop-yarn-site/TimelineServiceV2.html#Query_generic_entities.
... View more
01-08-2020
07:09 AM
@pratik_ I think some configuration parameters have to be taken at Hive side. https://docs.cloudera.com/HDPDocuments/HDP3/HDP-3.1.4/securing-hive/content/hive_secure_hiveserver_using_ldap.html https://community.cloudera.com/t5/Community-Articles/Hive-and-LDAP-integration/ta-p/245449 Please refer these articles and make sure all the required parameters are configured properly.
... View more
12-27-2019
05:20 AM
create table prakash2(id int UNIQUE DISABLE NOVALIDATE,PRIMARY KEY(id) DISABLE NOVALIDATE);
insert into table prakash2 values(1);
insert into table prakash2 values(1);
insert into table prakash2 values(1);
+--------------+ | prakash2.id | +--------------+ | 1 | | 1 | | 1 | +--------------+ 3 rows selected (0.149 seconds)
As per RDBMS concepts primary key itself has unique constraint but here in hive mentioning unique constraint explicitly allowing me to insert duplicate values.
How primary key and unique constraints are different HIVE apart from the traditional RDBMS systems?
... View more
Labels:
- Labels:
-
Apache Hive
12-26-2019
01:11 AM
@wilailak_don Add the property "tez.cancel.delegation.tokens.on.completion=false" in Custom tez-site and custom hive-site and custom hiveserver2-site via Ambari and restart Hive/Tez services. Let me know how it goes.
... View more
12-24-2019
02:53 AM
@ypc812164921 You need to have a support subscription to create a technical case with Cloudera, please check with your account team regarding the subscription details. Once you have the valid subscription and member of a support team then you can create the cases.
... View more
12-23-2019
02:06 AM
@Shelton Thanks for your response and understood your point Hive will not check existing data in case if NOVALIDATE constraint is specified. Is there any other way that i can insert only unique values for a particular column in Hive?
... View more
- « Previous
- Next »