Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

AUTH_SYS does not work with standard linux/Unix nfs server #3

Open
haimhelman opened this issue Aug 20, 2015 · 1 comment
Open

AUTH_SYS does not work with standard linux/Unix nfs server #3

haimhelman opened this issue Aug 20, 2015 · 1 comment

Comments

@haimhelman
Copy link

This is really a problem in the Hadoop code but it makes the connector unusable for most filers.
In CredentialsSys length is calculated like this:
mCredentialsLength = 20 + mHostName.getBytes().length;
However in linux/Unix (svc_auth_unix.c) the hostname's length is rounded up:
str_len = RNDUP(str_len);

This leads to the following error message in mountd when the host name has 33 chars:
bad auth_len gid 0 str 36 auth 53

How is this working in the Netapp filers?

@potnuruamar
Copy link

It will not work with netapp filers also. This issue fixed in latest library. Please
refer defect "https://issues.apache.org/jira/browse/HADOOP-12345" for more details.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants