Member since
07-30-2018
2
Posts
0
Kudos Received
0
Solutions
11-21-2018
05:17 AM
Hello, I have a cluster running Hadoop 2.6.0-cdh5.4.1. I want to create a file inside a directory using webhdfs. I have 2 directories called directory1 and directory2, both in /. They both have the same permissions(711), owner and group. The following command succeeds: curl --negotiate -u : https://Datanode:Port/webhdfs/v1/directory1?op=LISTSTATUS while the following curl --negotiate -u : https://Datanode:Port/webhdfs/v1/directory2?op=LISTSTATUS throws the error: {"message":null,"exception":"NullPointerException","javaClassName":"java.lang.NullPointerException"}. Datanode and Port are the same for both commands. All webhdfs requests on directory2 fail with the same error(NullPointerException), while all webhdfs requests work on directory1. Do you have any ideas what can cause this error? Thank you.
... View more
07-30-2018
07:41 AM
Hello, I have a question about the following scenario: A user is within a LDAP group. A certain action removes the user from that LDAP group. Since the response is cached, the user that has been recently removed from the group appears, for a period of time, as if the user was within that group. I saw that the validity of the entries in the cache containing the user->group mappings in LDAP is configurable via "hadoop.security.groups.cache.secs" and is set, by default, to 300 seconds. I tried different values for this property(even 0 seconds), but the change is still not immediate. Is there a way to make sure that any change in a LDAP group is immediately applied? Thank you.
... View more
Labels: