Member since
12-23-2015
28
Posts
10
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2976 | 04-23-2016 10:19 AM |
12-29-2015
07:08 PM
And in table servicecomponentdesiredstate, several component_name are still using "3" as desired_stack_id (including HDFS components). Does this mean that I am still running HDP 2.2 behind the scenes ?
... View more
12-29-2015
06:55 PM
@smohanty , Thank you for your quick reply. I performed a Manual upgrade from HDP 2.2 to HDP 2.3. I manually upgraded all services. All the services (hive,hdfs...) are upgraded and runs normally. I am running the Ambari 2.1 version Running select * on the 3 tables shows: In Ambari and in "stack and versions" view, I have: HDP-2.3.0.0 being the "current" cluster version. Would this give you a better picture?
... View more
12-29-2015
05:08 PM
I am actually facing a problem while trying to add the node hosting the ambari-server to the list of the cluster hosts. In the step Review, and when I click on Deploy, I get this error: Looking at the ambari-server.log. I can see the following WARN (which should be the origin of the error): 29 Dec 2015 17:29:49,593 INFO [qtp-client-20] StackAdvisorRunner:70 - advisor script stdout: StackAdvisor implementation for stack HDP, version 2.0.6 was loaded
StackAdvisor implementation for stack HDP, version 2.1 was loaded
StackAdvisor implementation for stack HDP, version 2.2 was loaded
StackAdvisor implementation for stack HDP, version 2.3 was loaded
Returning HDP23StackAdvisor implementation
29 Dec 2015 17:29:49,593 INFO [qtp-client-20] StackAdvisorRunner:71 - advisor script stderr:
29 Dec 2015 17:29:50,269 INFO [qtp-client-22] StackAdvisorRunner:47 - Script=/var/lib/ambari-server/resources/scripts/stack_advisor.py, actionDirectory=/var/run/ambari-server/stack-recommendations/4, command=validate-component-layout
29 Dec 2015 17:29:50,274 INFO [qtp-client-22] StackAdvisorRunner:61 - Stack-advisor output=/var/run/ambari-server/stack-recommendations/4/stackadvisor.out, error=/var/run/ambari-server/stack-recommendations/4/stackadvisor.err
29 Dec 2015 17:29:50,404 INFO [qtp-client-22] StackAdvisorRunner:69 - Stack advisor output files
29 Dec 2015 17:29:50,405 INFO [qtp-client-22] StackAdvisorRunner:70 - advisor script stdout: StackAdvisor implementation for stack HDP, version 2.0.6 was loaded
StackAdvisor implementation for stack HDP, version 2.1 was loaded
StackAdvisor implementation for stack HDP, version 2.2 was loaded
StackAdvisor implementation for stack HDP, version 2.3 was loaded
Returning HDP23StackAdvisor implementation
29 Dec 2015 17:29:50,405 INFO [qtp-client-22] StackAdvisorRunner:71 - advisor script stderr:
29 Dec 2015 17:29:53,471 WARN [qtp-client-20] ServletHandler:563 - /api/v1/clusters/HdpCluster/services
java.lang.RuntimeException: Trying to create a ServiceComponent not recognized in stack info, clusterName=HdpCluster, serviceName=HDFS, componentName=NFS_GATEWAY, stackInfo=HDP-2.2
at org.apache.ambari.server.state.ServiceComponentImpl.<init>(ServiceComponentImpl.java:107)
at org.apache.ambari.server.state.ServiceComponentImpl$$EnhancerByGuice$$149e948d.<init>(<generated>)
3 months ago, I upgraded my cluster from HDP 2.2 to HDP2.3, the error might be related to that action. Besides, I can see the NFS_GATEWAY component being installed in the Ambari->HDFS, however when I click on it, I find out that no host does really implement the NFS_GATEWAY component. My ultimate goal is to install Kerberos. To do so, I should add the ambari-server to the list of the cluster hosts. Should I get ride of the NFS_GATEWAY component ? If yes, what actions should I preform ? PS: When I execute the curl -DELETE command in an attempt to remove the NFS_GATEWAY component, I receive the 404 componont not found...
... View more
Labels:
- Labels:
-
Apache Ambari
12-28-2015
07:03 PM
And it looks like NFS_Gateways does not exist on any host. From Ambari->HDFS, when I click on NFS_GATEWAYS, I don't see any host hosting it: No hosts to display Is there a risk of removing it with a curl DELETE call?
... View more
12-28-2015
06:05 PM
@Artem Ervits I am actually facing a new problem while trying to add te manager host (the one running the ambari server) to the list of cluster hosts. In step Review, and when I click on Deploy, I get this error: Looking at the ambari-server.log. I can see the following error: 28 Dec 2015 18:52:38,088 INFO [qtp-client-21] StackAdvisorRunner:61 - Stack-advisor output=/var/run/ambari-server/stack-recommendations/15/stackadvisor.out, error=/var/run/ambari-server/stack-recommendations/15/stackadvisor.err
28 Dec 2015 18:52:38,170 INFO [qtp-client-21] StackAdvisorRunner:69 - Stack advisor output files
28 Dec 2015 18:52:38,170 INFO [qtp-client-21] StackAdvisorRunner:70 - advisor script stdout: StackAdvisor implementation for stack HDP, version 2.0.6 was loaded
StackAdvisor implementation for stack HDP, version 2.1 was loaded
StackAdvisor implementation for stack HDP, version 2.2 was loaded
StackAdvisor implementation for stack HDP, version 2.3 was loaded
Returning HDP23StackAdvisor implementation
28 Dec 2015 18:52:38,170 INFO [qtp-client-21] StackAdvisorRunner:71 - advisor script stderr:
28 Dec 2015 18:52:44,781 WARN [qtp-client-21] ServletHandler:563 - /api/v1/clusters/HdpCluster/services
java.lang.RuntimeException: Trying to create a ServiceComponent not recognized in stack info, clusterName=HdpCluster, serviceName=HDFS, componentName=NFS_GATEWAY, stackInfo=HDP-2.2
at org.apache.ambari.server.state.ServiceComponentImpl.<init>(ServiceComponentImpl.java:107)
at org.apache.ambari.server.state.ServiceComponentImpl$$EnhancerByGuice$$685980cd.<init>(<generated>)
3 months ago, I upgraded my cluster from HDP 2.2 to HDP2.3, the error might be related to that action. Do you have any idea on how I can solve it ? Do you recommend me to open a new thread instead ?
... View more
12-27-2015
08:33 PM
@Artem Ervits @Gerd Koenig Thank you so much for your help. I followed your recommendations and I finally figured out what was messing up !! The main issue was related to python and not to jdk !! Actually, all my agents were running python 2.6: >> ambari-agent restart
Restarting ambari-agent
Verifying Python version compatibility...
Using python /usr/bin/python2.6
Except the agent running on the ambari-server it was running python 2.7 for an unknow reason ! (I may have accidentally installed it before on that node ). A known workaround is to inject PYTHON=/usr/bin/python2.6 into /var/lib/ambari-agent/ambari-env.sh. This problem is solved :).
... View more
12-26-2015
11:11 PM
@gaurav sharma In the documentation, it is said that we should user OpenSSL (v1.01, build 16 or later). So I think you should upgrade your OpenSSL version. Actually, I am running openssl-1.0.1e-42.el6_7.1.x86_64, and still not being able to register my agent 😞
... View more
12-26-2015
11:04 PM
ls -al /etc/alternatives/java :
/etc/alternatives/java -> /opt/jdk1.8.0_66/bin/java nano /etc/ambari-server/conf/ambari.properties :
java.home=/usr/jdk64/jdk1.8.0_40
server.jdbc.postgres.schema=ambari
jdk.name=jdk-8u40-linux-x64.tar.gz
@Gerd Koenig To sum up my issue: I was trying to install Kerberos using the Active directory KDC option, then I had an issue and I was told that I should add the ambari server to the list of the cluster hosts (i.e. Having an ambari agent running with the ambari server on the same host). My 5 nodes are running well, now in the Add Host Wizard, I want to register the machine hosting the ambari-server, however the SSL_Error pops up each time I try to make it. In the ambari-agent.log, I can see the following message: WARNING 2015-12-26 23:55:33,924 NetUtil.py:105 - Server at https://manager.cluster.mediatvcom:8440 is not reachable, sleeping for 10 seconds...
WARNING 2015-12-26 23:55:33,924 NetUtil.py:105 - Server at https://manager.cluster.mediatvcom:8440 is not reachable, sleeping for 10 seconds...
INFO 2015-12-26 23:55:43,925 NetUtil.py:59 - Connecting to https://manager.cluster.mediatvcom:8440
ERROR 2015-12-26 23:55:44,099 NetUtil.py:77 - [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)
ERROR 2015-12-26 23:55:44,099 NetUtil.py:78 - SSLError: Failed to connect. Please check openssl library versions.
Refer to: https://manager.cluster.mediatvcom:8440 for more details. For more details, I opened a thread 3 days ago regarding this issue: https://community.hortonworks.com/questions/7886/g... Thank you.
... View more
12-25-2015
09:58 AM
1 Kudo
Ok! At the moment, I will leave things as they are. Ultimately, I will open a new thread related to this specefic question if I run out of options. Thank you so much for your guidance and support! So appreciated.
... View more
12-24-2015
10:11 PM
@gaurav sharma I am actually facing the same issue, I have the same SSL error message during the registration. Did you find a solution ?
... View more
- « Previous
-
- 1
- 2
- Next »