HUE-8283 [oozie] Show image from Oozie instead of not displaying Graph for big workflows

Review Request #12940 - Created May 11, 2018 and updated

Roohi Syeda
hue
HUE-8253_query_dwld_non_ascii
HUE-8283
hue
enricoberti, jgauthier, johan, ranade, romain, weixia, yingc
commit a618226363154dd0e272cfbdc78cb959bfee55cc
Author: Roohi <roohisyeda@cloudera.com>
Date:   Fri May 11 15:31:08 2018 -0700

    HUE-8283 [oozie] Show image from Oozie instead of not displaying Graph for big workflows

:100644 100644 18fbbeb8a1... dcf769387b... M	apps/oozie/src/oozie/templates/editor2/common_workflow.mako

Manually on nightly6x works fine with big graphs
5.11.2 doesn't work with graphs with more than 25 actions
Caused by: org.xml.sax.SAXException: Can't display the graph. Number of actions are more than display limit 25

  • 2
  • 0
  • 4
  • 0
  • 6
Description From Last Updated
Jquery doesn't have support for binary data Roohi Syeda
nit: indentation Romain Rigaux
  1. 
      
  2. imported is never set and used. This was being shown along with image. So removed it.

  3. The image doesn't show up because of secure_content_security_policy. I couldn't find a solution to include same domain, as it is dynamic. Images can only be from same origin(host, port and domain) as per existing secure_content_security_policy. Can you pls help Romain?

  4. 
      
  1. 
      
  2. +1 to remove now, IIRC it was for Hue 3.7 upgrade or something like this

  3. This would not work when Oozie requires a real auth like kerberos.

    How about fetching the content on the Hue Python side instead?

  4. 
      
  1. 
      
  2. Jquery doesn't have support for binary data

    1. Even with the SVG version? (on C6, which has Oozie 5 and support svg)

    2. Worked with C6 :)

  3. 
      
Review request changed
  1. Nice, and one more reason to do Oozie5/c6 only!

  2. 
      
Loading...