How to run Test class for HDFS?

2019-05-30 Thread Daegyu Han
Hi all, I want to run a unit test by using hadoop-hdfs-2.9.2-tests.jar in hadoop-2.9.2/share/hadoop/hdfs. 1. It didn't work to run the followed command. (yarn jar hadoop-2.9.2/share/hadoop/hdfs/hadoop-hdfs-2.9.2-tests.jar TestWriteRead) The error message said that there is no main class name.

Re: How to restrict users who can post domains/entities to the YARN Timeline Server?

2019-05-30 Thread Prabhu Josephraj
Hi Junseung, You are right, any one who has a valid kerberos ticket is allowed to put a domain, but the owner of domain can decide who can write and read entities into the domain. We can write a custom Filter with extra logic to restrict certain users from creating domain and add the

How to restrict users who can post domains/entities to the YARN Timeline Server?

2019-05-30 Thread Junseung Hwang
Hi, I’m using the YARN Timeline Server v1 from Hadoop 2.7.7, and I want the Timeline Server to be secure. To configure Kerberos authentication and authorization, I set the followings in yarn-site.xml: - yarn.timeline-service.http-authentication.type: kerberos -