Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-3483

Job graph visualization not working properly in OS X Chrome

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0
    • Runtime / Web Frontend
    • None

    Description

      In the Chrome browser on OS X (Version 48.0.2564.116 (64-bit)) the job graph visualization does not work properly. There are no edges displayed in the graph, and dragging the mouse does not move the graph.

      However, Safari (9.0.3) and Firefox (41.0.2) on OS X do display the job graph visualization properly.

      This is the example application I used to create the job:

      package com.banno
      
      import org.apache.flink.streaming.api.scala._
      
      object JobGraphUIProblem extends App {
        val environment = StreamExecutionEnvironment.getExecutionEnvironment
        val ints1 = environment.fromElements((1 to 100): _*)
        val ints2 = environment.fromElements((101 to 200): _*)
        ints1.union(ints2)
          .map(_.toString)
          .print()
        println(environment.getExecutionPlan)
        environment.execute("JobGraphUIProblem")
      }
      

      Here is the execution plan json:

      {
        "nodes": [
          {
            "id": 1,
            "type": "Source: Collection Source",
            "pact": "Data Source",
            "contents": "Source: Collection Source",
            "parallelism": 1
          },
          {
            "id": 2,
            "type": "Source: Collection Source",
            "pact": "Data Source",
            "contents": "Source: Collection Source",
            "parallelism": 1
          },
          {
            "id": 4,
            "type": "Map",
            "pact": "Operator",
            "contents": "Map",
            "parallelism": 8,
            "predecessors": [
              {
                "id": 1,
                "ship_strategy": "REBALANCE",
                "side": "second"
              },
              {
                "id": 2,
                "ship_strategy": "REBALANCE",
                "side": "second"
              }
            ]
          },
          {
            "id": 5,
            "type": "Sink: Unnamed",
            "pact": "Data Sink",
            "contents": "Sink: Unnamed",
            "parallelism": 8,
            "predecessors": [
              {
                "id": 4,
                "ship_strategy": "FORWARD",
                "side": "second"
              }
            ]
          }
        ]
      }
      

      Attachments

        1. safari-job-graph.png
          71 kB
          Zach Cox
        2. firefox-job-graph.png
          64 kB
          Zach Cox
        3. chrome-job-graph.png
          72 kB
          Zach Cox

        Activity

          People

            uce Ufuk Celebi
            zcox Zach Cox
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: