Member since
04-03-2019
962
Posts
1743
Kudos Received
146
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
11539 | 03-08-2019 06:33 PM | |
4914 | 02-15-2019 08:47 PM | |
4171 | 09-26-2018 06:02 PM | |
10601 | 09-07-2018 10:33 PM | |
5678 | 04-25-2018 01:55 AM |
05-24-2016
03:31 PM
@nejm hadjmbarek - Can you please check if your nodemanagers are healthy? Please refer below screenshot ( Please look at Active Nodes count )
... View more
05-24-2016
02:01 PM
3 Kudos
@nejm hadjmbarek Can you please check status of oozie launcher in Resource Manager UI? Sometimes because of un-availability of NodeManagers your launcher gets stuck in ACCEPTED state and never changes its state to RUNNING and in oozie UI it shows RUNNING.
... View more
05-24-2016
06:10 AM
2 Kudos
@Gunnar Tapper - Please run below command and see what error says: /usr/hdp/current/hive-metastore/bin/schematool -initSchema -dbType mysql -userName hive -passWord '$password' -verbose
... View more
05-23-2016
07:49 PM
12 Kudos
Please follow below steps to setup Oozie HA configuration with Kerberos environment. .
Step 1: Configure mysql/oracle database for Oozie as HA configuration does not work with default embedded Derby Database. . Please refer https://community.hortonworks.com/articles/183/moving-oozie-to-mysql-with-ambari.html for steps to migrate Oozie database. . Step 2: Login to Ambari UI, goto hosts, select host on which you need to add additional Oozie server, Click on Add and select Oozie server. . Please refer below screenshot, for e.g. I will add oozie server on kk3.hwxblr.com . Step 3: Setup Load balancer Please refer this blogpost for setting up lightweight open source linux based load balancer. . Step4: Configure Kerberos for your cluster if not already done. Please refer our blog for automated Kerberos configuration. . Step 5: Login to Ambari UI and set below configuration parameters for Oozie service. oozie.zookeeper.connection.string=<zookeeper1>:2181,<zookeeper2>:2181,<zookeeper3>:2181
oozie.services.ext=org.apache.oozie.service.ZKLocksService,org.apache.oozie.service.ZKXLogStreamingService,org.apache.oozie.service.ZKJobsConcurrencyService
oozie.base.url=http://<loadbalancer.hostname>:11000/oozie
oozie.authentication.kerberos.principal=* . Step 6: In oozie-env section of Oozie configuration, uncomment OOZIE_BASE_URL property and set it to http://<load-balancer-host>:11000/oozie for example: export OOZIE_BASE_URL="http://<loadbalance.hostname>:11000/oozie" . Step 7: Login to your KDC and create HTTP principal for load balancer. kadmin.local -q "addprinc -randkey HTTP/<loadbalancer_hostname>@<realm>" . Step 8: Create a single spnego.service.keytab with both Oozie server's + Load balancer's principal and distribute the same on both the Oozie servers. For example: In my case I have test1-ambari-server.hwxblr.com as loadbalancer and kk2/kk4 are my oozie servers [root@kk4 ~]# klist -ket /etc/security/keytabs/spnego.service.keytab
Keytab name: FILE:/etc/security/keytabs/spnego.service.keytab
KVNO Timestamp Principal
---- ----------------- --------------------------------------------------------
3 05/03/16 16:42:43 HTTP/kk4.hwxblr.com@HWX.COM (aes256-cts-hmac-sha1-96)
3 05/03/16 16:42:43 HTTP/kk4.hwxblr.com@HWX.COM (aes128-cts-hmac-sha1-96)
3 05/03/16 16:42:43 HTTP/kk4.hwxblr.com@HWX.COM (des3-cbc-sha1)
3 05/03/16 16:42:43 HTTP/kk4.hwxblr.com@HWX.COM (arcfour-hmac)
3 05/03/16 16:44:05 HTTP/kk2.hwxblr.com@HWX.COM (aes256-cts-hmac-sha1-96)
3 05/03/16 16:44:05 HTTP/kk2.hwxblr.com@HWX.COM (aes128-cts-hmac-sha1-96)
3 05/03/16 16:44:05 HTTP/kk2.hwxblr.com@HWX.COM (des3-cbc-sha1)
3 05/03/16 16:44:05 HTTP/kk2.hwxblr.com@HWX.COM (arcfour-hmac)
4 05/03/16 16:43:18 HTTP/test1-ambari-server.hwxblr.com@HWX.COM (aes256-cts-hmac-sha1-96)
4 05/03/16 16:43:18 HTTP/test1-ambari-server.hwxblr.com@HWX.COM (aes128-cts-hmac-sha1-96)
4 05/03/16 16:43:18 HTTP/test1-ambari-server.hwxblr.com@HWX.COM (des3-cbc-sha1)
4 05/03/16 16:43:18 HTTP/test1-ambari-server.hwxblr.com@HWX.COM (arcfour-hmac) . Step 9: Make sure you have saved updated keytab on both the Oozie hosts. . Step 10: Restart Oozie services via Ambari UI
. Step 11: Configure your browser for spnego authentication using steps given at below URLs http://www.ghostar.org/2015/06/google-chrome-spnego-and-webhdfs-on-hadoop/ http://www.microhowto.info/howto/configure_firefox_to_authenticate_using_spnego_and_kerberos.html . Step 12: Hit http://<load-balancer-hostname>:11000/oozie and you should be able to see oozie UI
. . Please comment if you have any feedback/questions/suggestions. Happy Hadooping!!
... View more
Labels:
05-23-2016
06:29 PM
5 Kudos
@Muhammad Syamsudin 2gb ram for sandbox 2.4 is too less, as per recommendations we should at-least give 8GB of RAM. https://hortonworks.com/wp-content/uploads/2015/05/Import_on_Vbox_5_11_2015.pdf
... View more
05-23-2016
05:53 PM
4 Kudos
@Vinay Reddy Naguru As answers given above - Your job should continue to run without any issue. Regarding Automated failover - By default HDP has below property configured in hdfs-site.xml for automated failover. <property>
<name>dfs.ha.automatic-failover.enabled</name>
<value>true</value>
</property> If you want, you can do manual failover using below command ( run using root user ) sudo -u hdfs hdfs haadmin -failover nn1 nn2 Note - Above command will do failover from nn1 to nn2 You can read more information about automatic failover by referring to below link. https://hadoop.apache.org/docs/r2.7.1/hadoop-project-dist/hadoop-hdfs/HDFSHighAvailabilityWithQJM.html
... View more
05-22-2016
04:05 PM
4 Kudos
@Harini Yadav
For Capacity scheduler - you can configure acl_administer_jobs to comma separated list of users so that only those users will be able to kill jobs in particular queue. Please see more details here - https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.4/bk_yarn_resource_mgt/content/controlling_access_to_queues_with_acls.html For point number 2 - No config changes are needed. Every user should be able to see other user's job in YARN RM UI.
... View more
05-22-2016
03:06 PM
5 Kudos
@Andrey Nikitin
In addition to what @Sagar Shimpi said, can you please run below command on hiveserver2 host to see DEBUG output on console? it should give you a hint Please run below command as hive user: /usr/bin/hive --service hiveserver2 --hiveconf hive.root.logger=DEBUG,console
... View more
05-22-2016
02:28 PM
8 Kudos
@hari kiran As this is intermittent, it looks like some of the datanodes are not in sync. Couple of things to check: 1. Please check /etc/hosts file, it should be in sync on all the datanodes and namenodes if you are not using DNS. 2. Please check if iptables is running on few datanodes, apply a for loop and quickly check on all the datanodes. 3. Please check if time is in sync on all the datanodes. Time on Namenode and Datanodes should be in sync.
... View more