flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ches...@apache.org
Subject [1/4] flink git commit: [FLINK-8352] [web-dashboard] Report error on jar submission failure
Date Thu, 25 Jan 2018 11:08:32 GMT
Repository: flink
Updated Branches:
  refs/heads/release-1.4 eb6380901 -> 38278ebef


http://git-wip-us.apache.org/repos/asf/flink/blob/38278ebe/flink-runtime-web/web-dashboard/web/partials/submit.html
----------------------------------------------------------------------
diff --git a/flink-runtime-web/web-dashboard/web/partials/submit.html b/flink-runtime-web/web-dashboard/web/partials/submit.html
index 25a1ba6..ad5a43f 100644
--- a/flink-runtime-web/web-dashboard/web/partials/submit.html
+++ b/flink-runtime-web/web-dashboard/web/partials/submit.html
@@ -29,6 +29,10 @@ limitations under the License.
   <pre ng-if="address">Yarn's AM proxy doesn't allow file uploads. You can visit&nbsp;<a
href="{{address}}/#/submit">here</a>&nbsp;to access this functionality.</pre>
 </div>
 <div id="content-inner" ng-if="!noaccess &amp;&amp; jars &amp;&amp; !yarn">
+  <div ng-if="error">
+    <h3>We're sorry, something went wrong. The server responded with:</h3>
+    <pre>{{error}}</pre>
+  </div>
   <div class="panel panel-default">
     <div class="panel-heading">
       <h3 class="panel-title">Uploaded Jars</h3>
@@ -94,15 +98,6 @@ limitations under the License.
       </tr>
     </tbody>
   </table>
-  <table ng-if="error" class="table table-no-border">
-    <tbody>
-      <tr>
-        <td>
-          <pre>{{error}}</pre>
-        </td>
-      </tr>
-    </tbody>
-  </table>
   <div ng-if="plan" class="canvas-wrapper">
     <div job-plan="job-plan" plan="plan" jobid="{{plan.jid}}" set-node="changeNode(nodeid)"
class="main-canvas"></div>
   </div>


Mime
View raw message