Member since
11-01-2018
26
Posts
0
Kudos Received
2
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2285 | 08-26-2019 09:22 AM | |
5492 | 08-22-2019 07:07 AM |
06-02-2021
01:50 PM
@dmharshit Please have a look at my other posting on keytabs https://community.cloudera.com/t5/Support-Questions/Headless-Keytab-Vs-User-Keytab-Vs-Service-Keytab/m-p/175277/highlight/true#M137536 Having said that you are switched to the hive user and attempting to use hdfs-headless-keytab. That's not possible. As the root user run the following steps # su - hdfs
[hdfs@server-hdp ~]$ kinit -kt /etc/security/keytabs/hdfs.headless.keytab Now you should have a valid ticket [hdfs@server-hdp ~]$ klist Happy hadooping !!!
... View more
10-03-2019
07:34 AM
since you have specified the target location in hdfs, you can create a table to read the data from the hdfs location. Also you can import to infer schema from the DB. sqoop import --connect jdbc:mysql://mysql_localhost/schema_database \
--username sqoop \
--table visits --password '*******' --hive-import --create-hive-table --hive-table Hive_database.visits -m 1
... View more
08-28-2019
07:43 AM
Nice piece, Can you snapshot to a location outside the repository?
... View more
08-26-2019
09:22 AM
These playbooks should give you an idea of how to implement those examples in your environment. I believe you should get the concept and start building the and environment in incremental phases. Add the module you need and test as you move along
... View more
08-22-2019
07:07 AM
also check if the user can read from the keytab file
... View more
08-19-2019
06:47 PM
@kwabstian53 Also as we see that the webhdfs call is actually failing with 404 (resource not found) hence it will be good to find which resource is it ... gthen later we can chekc why it does not exist on HDFS> We can try grepping the "webhdfs' in the Active NameNode HDFS Audit log exactly when we notice 'HDFS Service check failure' We can grep the logs as following: # grep 'proto\=webhdfs' /var/log/hadoop/hdfs/hdfs-audit.log So when the hdfs service check will fail then exactly at the same time we will know why it failed and for which resource. .
... View more