Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Webhdfs url property error

Highlighted

Webhdfs url property error

Contributor

Hi,

I'm using HDP 2.4. After I'm enabling kerberos, FileView tab shows error msg as "500 HdfsApi connection failed. Check "webhdfs.url" property" After i have been successfully configured and FileView tab as

auth=KERBEROS;proxyuser=ambari-server@NIMBUS.COM. All hdfs services successfully started. Please find my attachment log of webhdfs. webhdfs-log.txt

please tell me how to resolve this problem?

2 REPLIES 2

Re: Webhdfs url property error

Super Mentor

@Varun R

The error that you posted in the attached file indicates that you have not added a correct format "proxyuser" principal.

Example: (Incorrect with default auth rules) check the "hadoop.security.auth_to_local" rules patterns.

auth=KERBEROS;proxyuser=ambari-server@ABCD.EFGHOR

Example: (correct with default auth riles)

auth=KERBEROS;proxyuser=ambari-server

OR

auth=KERBEROS;proxyuser=ambari-server@EXAMPLE.COM
.

Re: Webhdfs url property error

Super Mentor

@Varun R

In my another cluster i have rules slightly different.

Your proxyuser principal name should match the rules defined in "Advanced core-site" -> "hadoop.security.auth_to_local" property.

Also can you please check what principal do you see when you run the command

# klist -kte /etc/security/keytabs/ambari.server.keytab

.

Don't have an account?
Coming from Hortonworks? Activate your account here