Member since
09-02-2019
15
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1286 | 05-03-2020 10:59 PM |
04-28-2020
12:25 AM
Hi, I have a question regarding Cluster version. There are separate nodes for primary and secondary machines, so the cluster version will be same or unique in this scenario?
... View more
09-12-2019
08:57 AM
@monicbw, Hadoop uses the following to derive group membership when using ShellBasedUnixGroupsMapping: id -gn monica.baniwijaya;id -Gn monica.baniwijaya You can run the above to see what hdfs sees when it tries to figure out to what groups you belong. Also, you can run the following to find out what groups hdfs thinks you belong to: hdfs groups monica.baniwijaya This will return what is in hdfs's user/group mapping cache. Knowing what each of the above returns will go a long way toward understanding the problem better. That said, I am concerned about 2 things you mentioned: (1) You referred to "LDAP". OS users and LDAP users are completely different unless you have some way for your OS to pull information from LDAP and return it for user/group requests (SSSD, IPA, Centrify, are a few examples). How is LDAP involved in this situation? (2) in your "useradd" example, you are setting the primary group for your user which is not common as far as I know. I think you meant to use -G instead which will add a secondary group to a user: -g, --gid GROUP name or ID of the primary group of the new account -G, --groups GROUPS list of supplementary groups of the new account Lastly, you mentioned that in HDFS your user belongs to a different group than on the OS and that you would expect the group to be created in HDFS too. HDFS relies on the user/groups mapping returned from the OS... it will cache that information, but it is not created in HDFS. Minor difference. What test did you do to determine that the OS and HDFS groups appear different for your user? I'd use the "id" and "hdfs groups" commands I pointed out earlier to get a better sense of what HDFS sees.
... View more
09-02-2019
01:44 AM
What are the impacts on other ports if I change from TCP6 to TCP? And will my Ambari server work on TCP?
... View more