Member since
11-15-2016
50
Posts
2
Kudos Received
0
Solutions
09-22-2017
03:25 PM
Thanks a ton @Jay SenSharma. That really helped.
... View more
09-21-2017
09:30 PM
I have a 5 node cluster with 4 data nodes which is in a good condition. But in order to add a secondary name node, I tried to generate the ssh key again instead of copying the already existing key onto the new machine. The new host was not registering with the following error: INFO 2017-09-21 17:24:06,811 NetUtil.py:67 - Connecting to https://asterix01.cem.spirent.com:8440/ca
ERROR 2017-09-21 17:24:06,934 NetUtil.py:93 - [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)
ERROR 2017-09-21 17:24:06,934 NetUtil.py:94 - SSLError: Failed to connect. Please check openssl library versions.
Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.
WARNING 2017-09-21 17:24:06,937 NetUtil.py:121 - Server at https://asterix01.cem.spirent.com:8440 is not reachable, sleeping for 10 seconds... So I stopped trying to add the new host and checked if the existing hosts are doing any good and restarted ambari-agent of one of them. The logs show failure with the same error as above- which confirms there is an issue with the keys. What can I do to resolve this? I tried to setup passwordless SSH as root user afresh as given in the documentation but it still fails. Can someone help me fix this please? I definitely can ssh without passwords from the command line.
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Hadoop
09-21-2017
07:20 PM
Were you able to resolve it? We have the same issue.
... View more
04-10-2017
05:54 PM
Thanks @Constantin Stanca It all makes sense now.
... View more
04-10-2017
05:53 PM
That was a great video @Kshitij Badani. Thanks for the pointers.
... View more
04-04-2017
07:47 PM
Thanks @Kshitij Badani.. will look into it.
... View more
04-03-2017
09:22 PM
Additionally, what exactly does dynamic allocation mean?? (I know it means allocating containers/executors on the fly but please elaborate) What are "spark.dynamicAllocation.maxExecutors"?? What should its value be? How are each of these parameters related to each other?? What should be the setting of all these parameters for best performance on the cluster? I read the documentation but I am afraid I am still confused with the terminology. Really appreciate if someone can elaborate.
... View more
Labels:
- Labels:
-
Apache Spark
03-30-2017
04:50 PM
@Constantin Stanca Sorry, I think I know what you meant. I connected from beeline using the following: [sree@alenzapd1nn ~]$
[sree@alenzapd1nn ~]$ beeline
Beeline version 1.2.1000.2.5.3.0-37 by Apache Hive
beeline> !connect jdbc:hive2://alenzapd1snn:10016/mysql;num_executors=46;
Is this what you meant? This does not work though. The application still uses only 47 containers and 24.5% of the cluster. Please see the attached image.beeline-cluster-usage.png
... View more
03-30-2017
04:40 PM
@Constantin Stanca Thanks for your time. I am not sure I follow your solution with JDBC URL connection string. Can you please be more specific on what ,sessionConfs> and <hiveConfs> and ,hiveVars> are? Please forgive my ignorance as I just started on this.
Regarding Hive LLAP, yes, I tried that and it gives great results. Just exploring this- sometimes you gotta make your bosses happy 🙂
... View more
03-30-2017
02:51 PM
Where do I find the option to set the number of executors in Ambari? When running spark shell, I can say --num-executors=46 and run the command. But I want to run spark through beeline and I am not sure where to set this parameter. My cluster has 4 datanodes each having 24 processors making a total of 96 processors in the cluster. I have set SPARK_EXECUTOR_CORES=2 in "advanced spark2-defaults" in ambari and want to set 46 executors. I tried setting "spark.dynamicAllocation.maxExecutors" to 46 and when I run the query through beeline (client mode), it uses only 47 containers and 24.5% of the cluster. How can I make the application use all the 96 (or max number) containers and the full cluster?
... View more
Labels:
- « Previous
-
- 1
- 2
- Next »