Member since
05-18-2018
25
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2187 | 02-27-2019 06:30 AM |
02-27-2019
06:30 AM
I checked so many paper and documents. Not to mention at all that the public key should be added to the /home/hdfs/ path. after adding public key to /home/hdfs/hadoop-keytab path the issue is resolved. if this file dont exist we creating. add public key to ----->/home/hdfs/hadoop-keytab
... View more
02-26-2019
11:52 AM
i following bellow steps to setup sso: Install Knox. Configure Ambari Authentication for LDAP/AD. Configure an LDAP/AD Identity Provider (IdP). Enable Knox SSO using the Ambari CLI. after this step sso worked me for redirect to ambari ui. in the next step when i add the bellow property to core-site.xml, restarting hdfs failed: "hadoop.http.authentication.type": "org.apache.hadoop.security.authentication.server.JWTRedirectAuthenticationHandler”
"hadoop.http.authentication.public.key.pem": “$SSOPUBLICKEY"
"hadoop.http.authentication.authentication.provider.url": "$SSOPROVIDERURL" when add this property ( hadoop.http.authentication.type ) to hdfs happening error. hdfs log file: 2019-02-26 16:28:06,366 ERROR datanode.DataNode (DataNode.java:secureMain(2870)) - Exception in secureMain
java.io.IOException: Problem starting http server Caused by:
at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1165)
at org.apache.hadoop.hdfs.server.datanode.web.DatanodeHttpServer.<init>(DatanodeHttpServer.java:141)
at org.apache.hadoop.hdfs.server.datanode.DataNode.startInfoServer(DataNode.java:954)
at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1404)
at org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:497)
at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:2769)
at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:2677)
at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:2719)
at org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:2863)
at org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:2887)
javax.servlet.ServletException: javax.servlet.ServletException: Keytab does not exist: /home/hdfs/hadoop.keytab
at org.apache.hadoop.http.HttpServer2.start(HttpServer2.java:1165)
at org.apache.hadoop.hdfs.server.datanode.web.DatanodeHttpServer.<init>(DatanodeHttpServer.java:141)
at org.apache.hadoop.hdfs.server.datanode.DataNode.startInfoServer(DataNode.java:954)
at org.apache.hadoop.hdfs.server.datanode.DataNode.startDataNode(DataNode.java:1404)
at org.apache.hadoop.hdfs.server.datanode.DataNode.<init>(DataNode.java:497)
at org.apache.hadoop.hdfs.server.datanode.DataNode.makeInstance(DataNode.java:2769)
at org.apache.hadoop.hdfs.server.datanode.DataNode.instantiateDataNode(DataNode.java:2677)
at org.apache.hadoop.hdfs.server.datanode.DataNode.createDataNode(DataNode.java:2719)
at org.apache.hadoop.hdfs.server.datanode.DataNode.secureMain(DataNode.java:2863)
at org.apache.hadoop.hdfs.server.datanode.DataNode.main(DataNode.java:2887)
how can resolve this issue?
... View more
Labels:
01-30-2019
08:44 AM
Hi @Phil Zampino i have similar problem. finally what do you change ?
... View more
01-29-2019
04:52 AM
Hi @Akhil S Naik main problem is ssl in openldap. i want disable ssl in openldap. how reconfiguration openldap ?
... View more
01-28-2019
12:56 PM
because i don't currect add ssl to openldap, when i want to add ambari users i have problem. this reason i want disable ssl for openldap and re-config that. for bellow comment problem: #ldapsearch -x cn=user -b dc=hortonworks,dc=com
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
and don't add any user to ldap: #ambari-server sync-ldap --all
Using python /usr/bin/python
Syncing with LDAP...
Enter Ambari Admin login: admin
Enter Ambari Admin password:
Fetching LDAP configuration from DB.
Syncing all...
Completed LDAP Sync.
Summary:
memberships:
removed = 0
created = 0
users:
skipped = 0
removed = 0
updated = 0
created = 0
groups:
updated = 0
removed = 0
created = 0
Ambari Server 'sync-ldap' completed successfully.
... View more
Labels:
01-21-2019
09:27 AM
thank you so much @Jay Kumar SenSharma for good answer. I wanted to make changes the file cluster-env.xml that auto start works properly. The way you said it changed the blueprint and it's perfectly correct, but my services are still starting after rebooting the system after about 40 minutes. can you tell me what i do step by step for active service auto start?
... View more
01-15-2019
06:15 AM
i want change the following property in cluster-env.xml: <property>
<name>recovery_enabled</name>
<value>true</value>
<description>Auto start enabled or not for this cluster.</description>
<on-ambari-upgrade add="true"/>
</property>
<property>
<name>recovery_type</name>
<value>FULL</value>
<description>Auto start type.</description>
<on-ambari-upgrade add="true"/>
</property>
<property>
<name>recovery_lifetime_max_count</name>
<value>1024</value>
<description>Auto start lifetime maximum count of recovery attempt allowed per host component. This is reset when agent is restarted.</de$
<on-ambari-upgrade add="true"/>
</property>
<property>
<name>recovery_max_count</name>
<value>1</value>
<description>Auto start maximum count of recovery attempt allowed per host component in a window. This is reset when agent is restarted.<$
<on-ambari-upgrade add="true"/>
</property>
<property>
.
.
after change property do not any effect in Blueprints and if we see the value of property is different: is way to change this property in blueprints ?
... View more
Labels:
09-24-2018
09:14 AM
tank you so much, after your answering i found it on documents hortonworks.
... View more
09-24-2018
04:55 AM
I did not understand, You may be guided. Your answer is not complete for me
... View more