You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ga...@apache.org on 2018/09/20 18:54:58 UTC

[flink] branch release-1.5 updated (a7633f4 -> bcbcafe)

This is an automated email from the ASF dual-hosted git repository.

gary pushed a change to branch release-1.5
in repository https://gitbox.apache.org/repos/asf/flink.git.


    from a7633f4  [hotfix] Bump docs version 1.5.0 -> 1.5.4
     new 8290590  [hotfix][doc] Fix curl example in upload jar example
     new bcbcafe  [hotfix][docs] Regenerate docs to fix curl example for uploading jars.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 docs/_includes/generated/rest_dispatcher.html                           | 2 +-
 .../org/apache/flink/runtime/webmonitor/handlers/JarUploadHeaders.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


[flink] 01/02: [hotfix][doc] Fix curl example in upload jar example

Posted by ga...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

gary pushed a commit to branch release-1.5
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 82905903031ce28c0e0cc9cc44108e73826e1a15
Author: Sayat Satybaldiyev <sa...@gmail.com>
AuthorDate: Mon Sep 17 21:22:47 2018 +0200

    [hotfix][doc] Fix curl example in upload jar example
    
    This closes #6706.
---
 .../org/apache/flink/runtime/webmonitor/handlers/JarUploadHeaders.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/handlers/JarUploadHeaders.java b/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/handlers/JarUploadHeaders.java
index d969b4fc..8b57359 100644
--- a/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/handlers/JarUploadHeaders.java
+++ b/flink-runtime-web/src/main/java/org/apache/flink/runtime/webmonitor/handlers/JarUploadHeaders.java
@@ -73,7 +73,7 @@ public final class JarUploadHeaders implements MessageHeaders<EmptyRequestBody,
 	public String getDescription() {
 		return "Uploads a jar to the cluster. The jar must be sent as multi-part data. Make sure that the \"Content-Type\"" +
 			" header is set to \"application/x-java-archive\", as some http libraries do not add the header by default.\n" +
-			"Using 'curl' you can upload a jar via 'curl -X POST -H \"Expect:\" -F \"jarfile=#path/to/flink-job.jar\" http://hostname:port" + URL + "'.";
+			"Using 'curl' you can upload a jar via 'curl -X POST -H \"Expect:\" -F \"jarfile=@path/to/flink-job.jar\" http://hostname:port" + URL + "'.";
 	}
 
 	@Override


[flink] 02/02: [hotfix][docs] Regenerate docs to fix curl example for uploading jars.

Posted by ga...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

gary pushed a commit to branch release-1.5
in repository https://gitbox.apache.org/repos/asf/flink.git

commit bcbcafed32123ae5094460c79863f45fd59a25ef
Author: gyao <ga...@data-artisans.com>
AuthorDate: Thu Sep 20 15:48:56 2018 +0200

    [hotfix][docs] Regenerate docs to fix curl example for uploading jars.
---
 docs/_includes/generated/rest_dispatcher.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/_includes/generated/rest_dispatcher.html b/docs/_includes/generated/rest_dispatcher.html
index b9692d0..188998c 100644
--- a/docs/_includes/generated/rest_dispatcher.html
+++ b/docs/_includes/generated/rest_dispatcher.html
@@ -178,7 +178,7 @@
     </tr>
     <tr>
       <td colspan="2">Uploads a jar to the cluster. The jar must be sent as multi-part data. Make sure that the "Content-Type" header is set to "application/x-java-archive", as some http libraries do not add the header by default.
-Using 'curl' you can upload a jar via 'curl -X POST -H "Expect:" -F "jarfile=#path/to/flink-job.jar" http://hostname:port/jars/upload'.</td>
+Using 'curl' you can upload a jar via 'curl -X POST -H "Expect:" -F "jarfile=@path/to/flink-job.jar" http://hostname:port/jars/upload'.</td>
     </tr>
     <tr>
       <td colspan="2">