Member since
04-03-2019
962
Posts
1743
Kudos Received
146
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
10543 | 03-08-2019 06:33 PM | |
4637 | 02-15-2019 08:47 PM | |
3984 | 09-26-2018 06:02 PM | |
10189 | 09-07-2018 10:33 PM | |
5256 | 04-25-2018 01:55 AM |
12-17-2015
07:35 AM
2 Kudos
Hey Guys, Is it possible to create hive database name in UPPERCASE ? hive> create database KULDEEP;
hive> show databases;
OK
default
kuldeep
test
Time taken: 0.464 seconds, Fetched: 3 row(s)
... View more
Labels:
- Labels:
-
Apache Hive
12-17-2015
04:42 AM
1 Kudo
I do have access to hdfs user and yes we can change the ownership using sudo -u hdfs hadoop fs -chown <some-user> /user/oozie/test1 I just wanted to ensure that if this is expected behavior that even after granting rwx via Ranger authorization we cannot change the ownership.
... View more
12-17-2015
04:40 AM
1 Kudo
@bdurai - nopes I have just configured ranger policy and given rwx access to admin user for /user/oozie (recursively)
... View more
12-17-2015
04:39 AM
1 Kudo
@Neeraj Sabharwal - its owned by admin only [root@hdpambari yarn]# hadoop fs -ls /user/oozie/test1
-rw-r--r-- 3 admin hadoop 0 2015-12-09 21:47 /user/oozie/test1
[root@hdpambari yarn]#
... View more
12-17-2015
03:08 AM
1 Kudo
@mkhandekar
... View more
12-17-2015
02:59 AM
4 Kudos
@Benjamin Leonhardi - Yes I can do dfs -ls /user/oozie, I can read each and every file, I can write into it. You are correct! its same as Unix. @Jonas Straub - Thank you for the link. I think only superuser can change the ownership ( current owner also cannot change it) Unix: -rwxrwxrwx 1 kkulkarni staff 39441 Dec 17 08:17 test
KKs-Mac:~ kkulkarni$
KKs-Mac:~ kkulkarni$ chown root test
chown: test: Operation not permitted KKs-Mac:~ kkulkarni$ sudo chown root test
KKs-Mac:~ kkulkarni$ ls -lrt test
-rwxrwxrwx 1 root staff 39441 Dec 17 08:17 test
KKs-Mac:~ kkulkarni$ Same is the case for hdfs.
... View more
12-16-2015
04:59 AM
1 Kudo
@Arti Wadhwani
... View more
12-16-2015
04:57 AM
7 Kudos
I have configured once policy for hdfs via ranger. below are the details: 1. Policy configured for user admin 2. User admin can rwx into /user/oozie 3. Point number 2 tested successfully 4. When I went to change ownership of /user/oozie to admin by user admin then it fails with below error [admin@hdpambari ~]$ hdfs dfs -chown root /user/oozie/test1
chown: changing ownership of '/user/oozie/test1': Non-super user cannot change owner I know that logically this is correct as user "admin" has rwx access to /user/oozie so no need to change the ownership. Is my understanding correct ? is there any documentation that points to this ?
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Apache Ranger
12-15-2015
02:18 PM
2 Kudos
@Sam Mingolelli - it looks like there is configuration error in capacity scheduler, could you please attach your capacity-scheduler.xml here ? ( default location - /etc/hadoop/conf/capacity-scheduler.xml) Default working configuration attached. - default-capacity-scheduler.txt
... View more
12-12-2015
05:05 PM
@rmaruthiyodan, @Jonas Straub Agreed! We might need to run hive metatool to update existing nameservice URI.
... View more