-
Notifications
You must be signed in to change notification settings - Fork 36
Closed
Labels
cannot-reproducenot able to reproduce error to make proper fixnot able to reproduce error to make proper fix
Description
Dear,
When trying to list file on my hadoop FS I got this error:
$ ls
ls: SIMPLE authentication is not enabled. Available:[TOKEN, KERBEROS]
I tried without success to provides the krb5.conf
$ JAVA_OPTS='-Djava.security.krb5.conf=/etc/krb5.conf' hdfs-shell
$ ls
ls: SIMPLE authentication is not enabled. Available:[TOKEN, KERBEROS]
If I add ranger-plugins-audit as dependencies that works:
diff --git a/build.gradle b/build.gradle
index c451291..a18ad6f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -79,6 +79,10 @@ dependencies {
compile "org.apache.commons:commons-lang3:3.3.2"
compile "org.apache.hadoop:hadoop-client:2.6.0"
+ compile "org.apache.ranger:ranger-plugins-audit:1.0.0"
So, should I fix by adding the dependencies as above or they are a trick to do with the CLASSPATH when I run hdfs-shell ?
Thanks
Best regards
Metadata
Metadata
Assignees
Labels
cannot-reproducenot able to reproduce error to make proper fixnot able to reproduce error to make proper fix