<?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: Hadoop security Failed in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Hadoop-security-Failed/m-p/104070#M66967</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14885/varunrathinam.html" nodeid="14885"&gt;@Varun  R&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Looks like the Namenode is still in the same mode.The o/p for the command return "1"&lt;/P&gt;&lt;PRE&gt;/usr/hdp/current/hadoop-hdfs-namenode/bin/hdfs dfsadmin -fs hdfs://sandbox.hortonworks.com:8020 -safemode get | grep 'Safe mode is OFF'&lt;/PRE&gt;&lt;P&gt;Please check the namenode logs to see whats the issue could be . You can also open the namenode UI and check the status of the namenode as below&lt;/P&gt;&lt;PRE&gt;hdfs://sandbox.hortonworks.com:8020:50070/dfshealth.html#tab-overview&lt;/PRE&gt;&lt;P&gt;If you think that the cluster looks ok, you can manually make the namenode come out of the "safe" mode as below and then try again :&lt;/P&gt;&lt;PRE&gt;/usr/hdp/current/hadoop-hdfs-namenode/bin/hdfs dfsadmin  hdfs://sandbox.hortonworks.com:8020 -safemode leave&lt;/PRE&gt;</description>
    <pubDate>Fri, 30 Dec 2016 01:43:17 GMT</pubDate>
    <dc:creator>skurup</dc:creator>
    <dc:date>2016-12-30T01:43:17Z</dc:date>
    <item>
      <title>Hadoop security Failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hadoop-security-Failed/m-p/104069#M66966</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i'm using HDP 2.5. i'm trying to secure hadoop and hbase using kerberos and ssl. I have follow this &lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.4.2/bk_Security_Guide/bk_Security_Guide-20160509.pdf"&gt;hortonworks doc&lt;/A&gt; and ssl i have follow this below links&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/52875/enable-https-for-hdfs.html" target="_blank"&gt;https://community.hortonworks.com/articles/52875/enable-https-for-hdfs.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/39865/enabling-https-for-ambariserver-and-troubleshootin.html" target="_blank"&gt;https://community.hortonworks.com/articles/39865/enabling-https-for-ambariserver-and-troubleshootin.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/52876/enable-https-for-yarn-and-mapreduce2.html" target="_blank"&gt;https://community.hortonworks.com/articles/52876/enable-https-for-yarn-and-mapreduce2.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I can able to browse &lt;A href="https://localhost:8443" target="_blank"&gt;https://localhost:8443&lt;/A&gt;. When I restart hdfs service in ambari, datanode successfully started. But namenode can't able to start. It generated this log;  &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/10896-namenode-log1.txt"&gt;namenode-log1.txt&lt;/A&gt;. The Webhdfs filebrowser also can't able to view files on FileView Tab. The webhdfs says error "0.0.0.0:50470 ssl handshake failed" &lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2016 21:22:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hadoop-security-Failed/m-p/104069#M66966</guid>
      <dc:creator>varun_rathinam</dc:creator>
      <dc:date>2016-12-29T21:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Hadoop security Failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hadoop-security-Failed/m-p/104070#M66967</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14885/varunrathinam.html" nodeid="14885"&gt;@Varun  R&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Looks like the Namenode is still in the same mode.The o/p for the command return "1"&lt;/P&gt;&lt;PRE&gt;/usr/hdp/current/hadoop-hdfs-namenode/bin/hdfs dfsadmin -fs hdfs://sandbox.hortonworks.com:8020 -safemode get | grep 'Safe mode is OFF'&lt;/PRE&gt;&lt;P&gt;Please check the namenode logs to see whats the issue could be . You can also open the namenode UI and check the status of the namenode as below&lt;/P&gt;&lt;PRE&gt;hdfs://sandbox.hortonworks.com:8020:50070/dfshealth.html#tab-overview&lt;/PRE&gt;&lt;P&gt;If you think that the cluster looks ok, you can manually make the namenode come out of the "safe" mode as below and then try again :&lt;/P&gt;&lt;PRE&gt;/usr/hdp/current/hadoop-hdfs-namenode/bin/hdfs dfsadmin  hdfs://sandbox.hortonworks.com:8020 -safemode leave&lt;/PRE&gt;</description>
      <pubDate>Fri, 30 Dec 2016 01:43:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hadoop-security-Failed/m-p/104070#M66967</guid>
      <dc:creator>skurup</dc:creator>
      <dc:date>2016-12-30T01:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hadoop security Failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hadoop-security-Failed/m-p/104071#M66968</link>
      <description>&lt;P&gt;Thanks. it works. I got new log webhdfs authorization required error. please find my attachment. I have follow this below url for enable ssl to hdfs. &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/22756/quickly-enable-ssl-encryption-for-hadoop-component.html" rel="nofollow noopener noreferrer" target="_blank"&gt;https://community.hortonworks.com/articles/22756/quickly-enable-ssl-encryption-for-hadoop-component.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But i can't able browse files on ambari. pls tell me how to resolve this issue.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/10955-namenode-log2.txt" target="_blank"&gt;namenode-log2.txt&lt;/A&gt; &lt;A href="https://community.cloudera.com/legacyfs/online/attachments/10956-webhdfs-error.txt" target="_blank"&gt;webhdfs-error.txt&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="10958-webhdfs-error.png" style="width: 1920px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/23622i7E85BEEA4AFE17DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="10958-webhdfs-error.png" alt="10958-webhdfs-error.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 12:04:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hadoop-security-Failed/m-p/104071#M66968</guid>
      <dc:creator>varun_rathinam</dc:creator>
      <dc:date>2019-08-19T12:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: Hadoop security Failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hadoop-security-Failed/m-p/104072#M66969</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14885/varunrathinam.html" nodeid="14885"&gt;@Varun  R&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I would suggest you to vet your settings / configs against whats documented here.&lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.3/bk_security/content/ch_wire-webhdfs-mr-yarn.html" target="_blank"&gt;http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.3/bk_security/content/ch_wire-webhdfs-mr-yarn.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have not followed the link you mentioned, but just by cursory look , it looks fine to me . &lt;/P&gt;&lt;P&gt;Also please do accept the answer if this has helped to resolve the issue&lt;/P&gt;</description>
      <pubDate>Fri, 30 Dec 2016 15:46:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hadoop-security-Failed/m-p/104072#M66969</guid>
      <dc:creator>skurup</dc:creator>
      <dc:date>2016-12-30T15:46:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hadoop security Failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hadoop-security-Failed/m-p/104073#M66970</link>
      <description>&lt;P&gt;Thanks for the response.  Already I have configured those configuration in hdfs. But still this issue can't able to resolve. while i'm trying to curl webhdfs by below command, it shows some error msg;&lt;/P&gt;&lt;P&gt;[root@sandbox java]#curl &lt;A href="https://sandbox.hortonworks.com:50470/ca/cacert.pem"&gt;https://sandbox.hortonworks.com:50470/&lt;/A&gt;v1/webhdfs/v1/?op=LISTSTATUS"&lt;/P&gt;&lt;P&gt; curl: (60) Peer certificate cannot be authenticated with known CA certificates
More details here: &lt;A href="http://curl.haxx.se/docs/sslcerts.html"&gt;https://sandbox.hortonworks.com:50470/ca/cacert.pem&lt;/A&gt;
curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.&lt;/P&gt;&lt;P&gt;pls tell me how to resolve this issue.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Dec 2016 15:57:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hadoop-security-Failed/m-p/104073#M66970</guid>
      <dc:creator>varun_rathinam</dc:creator>
      <dc:date>2016-12-30T15:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Hadoop security Failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hadoop-security-Failed/m-p/104074#M66971</link>
      <description>&lt;P&gt;Please suggest anyone how to resolve this issue?&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jan 2017 12:43:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hadoop-security-Failed/m-p/104074#M66971</guid>
      <dc:creator>varun_rathinam</dc:creator>
      <dc:date>2017-01-02T12:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Hadoop security Failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hadoop-security-Failed/m-p/104075#M66972</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/7530/skurup.html" nodeid="7530"&gt;@Sumesh&lt;/A&gt;&lt;/P&gt;&lt;P&gt;We are facing issue with Kerberos and https enabled. We followed the link provided. With HTTPS_ONLY namenode is not starting -&lt;/P&gt;&lt;P&gt; File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/get_user_call_output.py", line 61, in get_user_call_output&lt;BR /&gt;  raise ExecutionFailed(err_msg, code, files_output[0], files_output[1])&lt;BR /&gt;resource_management.core.exceptions.ExecutionFailed: Execution of 'curl -sS -L -w '%{http_code}' -X GET --negotiate -u : -k 'https://xx.xx.xxx.xx:50470/webhdfs/v1/tmp?op=GETFILESTATUS&amp;amp;user.name=hdfs' 1&amp;gt;/tmp/tmpUvZhjh 2&amp;gt;/tmp/tmpF5e7yk' returned 35. curl: (35) Encountered end of file&lt;/P&gt;&lt;P&gt;/var/log/hadoo/hdfs/hadoop-hdfs-namenode-xxxxxxxx.log&lt;/P&gt;&lt;P&gt; WARN  mortbay.log (Slf4jLog.java:warn(76)) - javax.net.ssl.SSLHandshakeException: no cipher suites in common.&lt;/P&gt;&lt;P&gt;Also, noticed that namenode not able to communicate to datanode. Ports are open.&lt;/P&gt;&lt;P&gt;Datanode processes - &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;  Connection failed: [Errno 111] Connection refused to xx:1019&lt;/P&gt;&lt;P&gt;Please advise.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;AJ&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2017 04:09:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hadoop-security-Failed/m-p/104075#M66972</guid>
      <dc:creator>amrishjain</dc:creator>
      <dc:date>2017-08-17T04:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hadoop security Failed</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Hadoop-security-Failed/m-p/104076#M66973</link>
      <description>&lt;P&gt;Did you ever find a solution for this?  I am experiencing almost the exact set of errors as you and have yet to figure out the problem.  I've gone through and recreated certs, keystore, and truststore to no avail. &lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 05:04:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Hadoop-security-Failed/m-p/104076#M66973</guid>
      <dc:creator>waltoj5</dc:creator>
      <dc:date>2017-11-09T05:04:03Z</dc:date>
    </item>
  </channel>
</rss>

