[jira] [Updated] (YARN-82) YARN local-dirs defaults to /tmp/nm-local-dir

2012-09-20 Thread Hemanth Yamijala (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-82?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hemanth Yamijala updated YARN-82:
-

Attachment: YARN-82.patch

Modified the patch per Sid's comments. I have changed the default to userlogs - 
to be similar to what was there in 1.x. 

 YARN local-dirs defaults to /tmp/nm-local-dir
 -

 Key: YARN-82
 URL: https://issues.apache.org/jira/browse/YARN-82
 Project: Hadoop YARN
  Issue Type: Bug
  Components: nodemanager
Affects Versions: 2.0.0-alpha
Reporter: Andy Isaacson
Assignee: Hemanth Yamijala
Priority: Minor
 Attachments: YARN-82.patch, YARN-82.patch


 {{yarn.nodemanager.local-dirs}} defaults to {{/tmp/nm-local-dir}}.  It should 
 be {hadoop.tmp.dir}/nm-local-dir or similar.  Among other problems, this can 
 prevent multiple test clusters from starting on the same machine.
 Thanks to Hemanth Yamijala for reporting this issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


[jira] [Commented] (YARN-111) Application level priority in Resource Manager Schedulers

2012-09-20 Thread nemon lou (JIRA)

[ 
https://issues.apache.org/jira/browse/YARN-111?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13459420#comment-13459420
 ] 

nemon lou commented on YARN-111:


to Harsh J
 I have looked into the code.
 CS's LeafQueue keeps active applications and pending applacations in TreeSet.
 TreeSet's comparator comes from CapacityScheduler's applicationComparator . 
 ApplicationComparator's compare method is like this:
   return a1.getApplicationId().getId() - a2.getApplicationId().getId();
(org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler.java
 line 106)
 So application's priority doesn't take effect.Am i right?

to Robert
  I'm not sure whether job priority is removed or not in recent MR1 code.But it 
will be very nice of you to add application level priority in YARN. :)



 Application level priority in Resource Manager Schedulers
 -

 Key: YARN-111
 URL: https://issues.apache.org/jira/browse/YARN-111
 Project: Hadoop YARN
  Issue Type: Improvement
Affects Versions: 2.0.1-alpha
Reporter: nemon lou

 We need application level priority for Hadoop 2.0,both in FIFO scheduler and 
 Capacity Scheduler.
 In Hadoop 1.0.x,job priority is supported.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira