Github user mridulm commented on the pull request:

    https://github.com/apache/spark/pull/4818#issuecomment-76471465
  
    This is specific to vcores and not mem iirc.
    A solution might be to check vcores returned and modify it to what we
    requested if found to be 1 when flag is set (we loose actual men allocated,
    other info if we replace with 'resource ' all the time, no ?)
    
    On Friday, February 27, 2015, Marcelo Vanzin <[email protected]>
    wrote:
    
    > @tgravescs <https://github.com/tgravescs> @mridulm
    > <https://github.com/mridulm>
    >
    > Tested:
    >
    >    - --executor-cores 1, no conf = passed
    >    - --executor-cores 2, no conf = cannot allocate resources, job waits
    >    forever ---executor-cores 2, new conf enabled = passed
    >
    > I chose to leave the default value as "false" because it seems more
    > correct to be strict when matching, but can change it if others feel 
that's
    > more appropriate.
    >
    > —
    > Reply to this email directly or view it on GitHub
    > <https://github.com/apache/spark/pull/4818#issuecomment-76470593>.
    >



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to