Member since
04-04-2016
166
Posts
168
Kudos Received
29
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2897 | 01-04-2018 01:37 PM | |
4902 | 08-01-2017 05:06 PM | |
1568 | 07-26-2017 01:04 AM | |
8917 | 07-21-2017 08:59 PM | |
2607 | 07-20-2017 08:59 PM |
07-20-2017
08:59 PM
2 Kudos
@na You can use a command like this to get the start and end time and then store it where you wish to: oozie jobs -oozie http://localhost:11000/oozie -localtime -len 2 -fliter status=RUNNING
Job Id Workflow Name Status Run User Group Created Started Ended
.----------------------------------------------------------------------------------------------------------------------------------------------------------------
4-20090527151008-oozie-joe hadoopel-wf RUNNING 0 joe other 2009-05-27 15:34 +0530 2009-05-27 15:34 +0530 -
0-20090527151008-oozie-joe hadoopel-wf RUNNING 0 joe other 2009-05-27 15:15 +0530 2009-05-27 15:15 +0530 -
.---------------------------------------------------------------------------------------------------------------------------------------------------------------- For detailed information see this: https://oozie.apache.org/docs/3.3.2/DG_CommandLineTool.html#Jobs_Operations
... View more
07-20-2017
07:22 PM
1 Kudo
@Dhiraj Unfortunately, there is no current functionality in Ambari to do it. However, the functionality is coming in Ambari 3.0.0. Please refer below Jira: https://issues.apache.org/jira/browse/AMBARI-18378 If you have a test/POC cluster try applying the patch attached to this Jira and see if it works. I have personally not done it, so apply the patch at your own discretion if you choose to. Thanks
... View more
07-20-2017
02:48 PM
@Aveek Choudhury Please try this from your local telnet <public DNS> 8080
... View more
07-20-2017
02:34 PM
2 Kudos
@Anurag Mishra Hi You can use the following properties: Note: These settings can be accessed from Ambari > YARN > Configs > Scheduler or in conf/capacity-scheduler.xml.
--1. For adding users who can submit jobs
<property>
<name>yarn.scheduler.capacity.root.test.acl_submit_applications</name>
<value>user1 group1, user2, user3 group 2</value>
<description> The ACL of who can submit jobs to the test queue. </description>
</property>
--2. For administering a queue
<property>
<name>yarn.scheduler.capacity.root.test.acl_administer_queue</name>
<value>user5 group5</value>
<description> The ACL of who can administer jobs on the test queue.</description>
</property>
... View more
07-20-2017
02:57 AM
@Harjinder Brar Mysql statement construction is not correct where should be before group by like this: --query 'select d.driverid, d.name, SUM(t.hours_logged) as hours from driver d JOIN timesheet t on (d.driverid = t.driverid) Where $CONDITIONS group by d.driverid,d.name' This should fix the issue. Thanks
... View more
07-19-2017
05:26 PM
@Varun R Try to use ORC file format and Cost based Optimizer. Details can be found here: https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.5.3/bk_hive-performance-tuning/content/ch_hive_hi_perf_best_practices.html Thanks
... View more
07-19-2017
05:18 PM
@Laurent lau Do you have any more questions on this? Else you can accept the answer to close the thread. Thanks
... View more
07-19-2017
04:42 PM
@JT Ng You might want to close the thread by accepting the answer.
... View more
07-19-2017
04:41 PM
@Kulasangar Gowrisangar If this worked for you please click the accept button in the answer to close the thread. Thanks
... View more