<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to use hdfs dfs command with DEBUG level in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/How-to-use-hdfs-dfs-command-with-DEBUG-level/m-p/85655#M55088</link>
    <description>&lt;P&gt;OK I just found it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;export HADOOP_ROOT_LOGGER=DEBUG,console&lt;/PRE&gt;</description>
    <pubDate>Wed, 30 Jan 2019 08:29:20 GMT</pubDate>
    <dc:creator>elkarel</dc:creator>
    <dc:date>2019-01-30T08:29:20Z</dc:date>
    <item>
      <title>How to use hdfs dfs command with DEBUG level</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-use-hdfs-dfs-command-with-DEBUG-level/m-p/85654#M55087</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Executing "hdfs dfs -ls /", we are getting a&lt;/P&gt;&lt;PRE&gt;KrbException: Fail to create credential. (63) - No service creds&lt;/PRE&gt;&lt;P&gt;even with a valid kerberos ticket on a particular Kerberos realm.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We've been looking into the source code of the JVM and we think we&amp;nbsp;might find the cause with DEBUG level. According to&amp;nbsp;&lt;A href="http://hadoop.apache.org/docs/r2.7.1/hadoop-project-dist/hadoop-hdfs/HDFSCommands.html" target="_blank"&gt;http://hadoop.apache.org/docs/r2.7.1/hadoop-project-dist/hadoop-hdfs/HDFSCommands.html&lt;/A&gt;, there is a loglevel option to the hdfs command. So we launch it like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;hdfs dfs -ls / --loglevel DEBUG&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But that seems to have no effect (only WARN is getting printed). How can we control the loglevel?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 08:23:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-use-hdfs-dfs-command-with-DEBUG-level/m-p/85654#M55087</guid>
      <dc:creator>elkarel</dc:creator>
      <dc:date>2019-01-30T08:23:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to use hdfs dfs command with DEBUG level</title>
      <link>https://community.cloudera.com/t5/Support-Questions/How-to-use-hdfs-dfs-command-with-DEBUG-level/m-p/85655#M55088</link>
      <description>&lt;P&gt;OK I just found it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;export HADOOP_ROOT_LOGGER=DEBUG,console&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Jan 2019 08:29:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/How-to-use-hdfs-dfs-command-with-DEBUG-level/m-p/85655#M55088</guid>
      <dc:creator>elkarel</dc:creator>
      <dc:date>2019-01-30T08:29:20Z</dc:date>
    </item>
  </channel>
</rss>

