01-30-2019 12:23 AM
Executing "hdfs dfs -ls /", we are getting a
KrbException: Fail to create credential. (63) - No service creds
even with a valid kerberos ticket on a particular Kerberos realm.
We've been looking into the source code of the JVM and we think we might find the cause with DEBUG level. According to http://hadoop.apache.org/docs/r2.7.1/hadoop-project-dist/hadoop-hdfs/HDFSCommands.html, there is a loglevel option to the hdfs command. So we launch it like this:
hdfs dfs -ls / --loglevel DEBUG
But that seems to have no effect (only WARN is getting printed). How can we control the loglevel?
Thanks in advance