2015년 1월 6일 화요일

[cdh-user] User of Web Ui Of HDFS

      In http://master:50070,we can browse file in the hdfs.But its default user is "dr.who";with configuring the "hadoop.http.staticuser.user",We can staticly change  the web user.
     My question how can change the user  dynamicly like  from the  client ip address to give them  different user name.Or some way only can implement dynamic change user cause i want to control user's permission from the web browser.



The secure mode in HDFS allows for SPNEGO based authentication of
users over the web console, described further at
http://archive.cloudera.com/cdh5/cdh/5/hadoop/hadoop-project-dist/hadoop-common/HttpAuthentication.html.
Perhaps one of the modes presented there would help you.



    Thank you,I see a lot about configuring kerberos authentication of  hadoop,but didn't find something about how to configure the SPNEGO based authentication.And i configured the simple authention but it only worked in the index page,in the browse page it didn't work;


댓글 없음:

댓글 쓰기