[jobbrowser] Job counter error with Yarn

Review Request #4191 — Created Feb. 26, 2014 and submitted

abec
old-hue-rw
hue
enricoberti, romain
commit 4a8d82d317eec7ae9af1dc6e165e459e18d0e195
Author: Abraham Elmahrek <abraham@elmahrek.com>
Date:   Wed Feb 26 18:56:58 2014 -0800

    [jobbrowser] Job counter error with Yarn
    
    It turns out the proxy fetches data from the JobHistory Server,
    which returns HTML even when requesting JSON. In this case,
    we should return None.

:100644 100644 79576e3... 3d7262d... M	apps/jobbrowser/src/jobbrowser/yarn_models.py
:100644 100644 5a264d1... 6c0b78b... M	desktop/libs/hadoop/src/hadoop/yarn/mapreduce_api.py
Tested manually. This happens only when we hit the JHS since it returns HTML. This seems to be a transition state between running and finished.
romain
  1. Ship It!
  2. 
      
abec
Review request changed

Status: Closed (submitted)

Loading...