How do we authenticate user from http.signature.secret file?

0 votes

In my Hadoop 2.6.0, I have enabled security authentication. I have set the property hadoop.http.authentication.signature.secret.file for my kerberos authentication.

Property in core-site.xml is as below:

<property>
 <name>hadoop.http.authentication.signature.secret.file</name>
    <value>C:\http-signature.secret</value>
</property>

and the http-signature.secret file is empty.

The authentication working fine. But if I disable this property, so i am getting error while starting nodes.

Can anyone help me in understanding how this Kerberos authentication works?

Apr 24, 2018 in Big Data Hadoop by Shubham
• 13,300 points
168 views

1 answer to this question.

0 votes

hadoop.http.authentication.signature.secret.file: The signature secret file for signing the authentication tokens. If not set a random secret is generated at startup time. The same secret should be used for all the nodes in the cluster, JobTracker, NameNode, DataNode & TaskTracker. The default value is ${user.home}/Hadoop-http-auth-signature-secret.

Kindly go through this Apache official documentation:

http://hadoop.apache.org/docs/stable1/HttpAuthentication.html

answered Apr 24, 2018 by Shubham
• 13,300 points

Related Questions In Big Data Hadoop

0 votes
1 answer

How can we send data from MongoDB to Hadoop?

The MongoDB Connector for Hadoop reads data ...READ MORE

answered Mar 26, 2018 in Big Data Hadoop by nitinrawat895
• 10,710 points
152 views
0 votes
1 answer

How can we transfer a PDF file to HDFS?

You can easily upload any file to ...READ MORE

answered Apr 13, 2018 in Big Data Hadoop by nitinrawat895
• 10,710 points
85 views
0 votes
1 answer

How a client reads a file from HDFS?

Let me explain you it briefly. So, ...READ MORE

answered Jul 31, 2018 in Big Data Hadoop by nitinrawat895
• 10,710 points
316 views
0 votes
1 answer

How to delete a file from Hadoop hdfs using java?

Try this: FileSystem fs = FileSystem.get(getConf()); fs.delete(new ...READ MORE

answered Nov 28, 2018 in Big Data Hadoop by Omkar
• 67,660 points
662 views
0 votes
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,710 points
3,303 views
0 votes
10 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
16,283 views
0 votes
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,260 points
1,186 views
0 votes
1 answer
0 votes
1 answer

How do I parse pdf file using MapReduce?

If you have your own custom InputFormat(WholeFileInputFormat). ...READ MORE

answered Apr 11, 2018 in Big Data Hadoop by Shubham
• 13,300 points
226 views
0 votes
1 answer

How do I include all the Hadoop dependencies using Maven?

This is a dependency mismatch error. I ...READ MORE

answered Apr 10, 2018 in Big Data Hadoop by Shubham
• 13,300 points
782 views