You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by se...@apache.org on 2014/08/13 21:21:04 UTC

[1/3] git commit: Fix legacy names in static webclient contents

Repository: incubator-flink
Updated Branches:
  refs/heads/master 9d09200a8 -> e8056afe7


Fix legacy names in static webclient contents


Project: http://git-wip-us.apache.org/repos/asf/incubator-flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-flink/commit/e8056afe
Tree: http://git-wip-us.apache.org/repos/asf/incubator-flink/tree/e8056afe
Diff: http://git-wip-us.apache.org/repos/asf/incubator-flink/diff/e8056afe

Branch: refs/heads/master
Commit: e8056afe701b69039655d7706160c59490e293aa
Parents: e45534c
Author: Stephan Ewen <se...@apache.org>
Authored: Wed Aug 13 21:03:17 2014 +0200
Committer: Stephan Ewen <se...@apache.org>
Committed: Wed Aug 13 21:19:56 2014 +0200

----------------------------------------------------------------------
 flink-clients/resources/web-docs/launch.html | 46 +++++++++++------------
 1 file changed, 23 insertions(+), 23 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/e8056afe/flink-clients/resources/web-docs/launch.html
----------------------------------------------------------------------
diff --git a/flink-clients/resources/web-docs/launch.html b/flink-clients/resources/web-docs/launch.html
index aaaa136..cdabf46 100755
--- a/flink-clients/resources/web-docs/launch.html
+++ b/flink-clients/resources/web-docs/launch.html
@@ -7,20 +7,20 @@
 
   <meta http-equiv="content-type" content="text/html; charset=UTF-8">
 
-  <link rel="stylesheet" type="text/css" href="css/nephelefrontend.css" />
-  <link rel="stylesheet" type="text/css" href="css/pactgraphs.css" />
-  <link rel="stylesheet" type="text/css" href="css/graph.css" />
-  <link rel="stylesheet" type="text/css" href="css/overlay.css" />
-  <link rel="stylesheet" type="text/css" href="css/bootstrap.css" /> <!-- Changed Stuff -->
-  <script type="text/javascript" src="js/jquery-2.1.0.js"></script>
-  <script type="text/javascript" src="js/graphCreator.js"></script>
-  <script type="text/javascript" src="js/d3.js" charset="utf-8"></script>
-  <script type="text/javascript" src="js/dagre-d3.js"></script>
-  <script type="text/javascript" src="js/bootstrap.min.js"></script>
-  <script type="text/javascript" src="js/jquery.tools.min.js"></script>
-  
-  
-  <script type="text/javascript" src="js/program.js"></script>
+  <link rel="stylesheet" type="text/css" href="css/nephelefrontend.css" />
+  <link rel="stylesheet" type="text/css" href="css/pactgraphs.css" />
+  <link rel="stylesheet" type="text/css" href="css/graph.css" />
+  <link rel="stylesheet" type="text/css" href="css/overlay.css" />
+  <link rel="stylesheet" type="text/css" href="css/bootstrap.css" /> <!-- Changed Stuff -->
+  <script type="text/javascript" src="js/jquery-2.1.0.js"></script>
+  <script type="text/javascript" src="js/graphCreator.js"></script>
+  <script type="text/javascript" src="js/d3.js" charset="utf-8"></script>
+  <script type="text/javascript" src="js/dagre-d3.js"></script>
+  <script type="text/javascript" src="js/bootstrap.min.js"></script>
+  <script type="text/javascript" src="js/jquery.tools.min.js"></script>
+  
+  
+  <script type="text/javascript" src="js/program.js"></script>
   
 </head>
 
@@ -41,7 +41,7 @@
     <div class="footer" style="min-width: 1225px;">
     
       <div class="boxed" style="float: left; width: 700px; height: 200px; position: relative;">
-        <h3>Show or launch selected PACT program...</h3>
+        <h3>Select program...</h3>
         <div style="margin-top: 30px;">
           <div>
           	<div id="planDescription"></div>
@@ -62,13 +62,13 @@
       </div>
       
       <div class="boxed" style="float: left; width: 500px; height: 150px; position: relative;">
-        <h3>Select a new PACT program to upload...</h3>
+        <h3>Select a new program to upload...</h3>
         <form id="upload_form" action="jobs" enctype="multipart/form-data" method="POST">
           <div style="position: relative; margin-top: 30px;">
              <input id="upload_file_name_text" type="text" name="file_name" disabled="disabled" style="position: absolute; top: 0px; right: 85px; width: 380px; z-index: 3;"/>
              <input type="button" value="Browse" style="width: 75px; position: absolute; right: 0px; top: 0px; z-index: 1;" />
              <input id="upload_file_input" class="translucent" type="file" name="upload_jar_file" style="position: absolute; right: 0px; top: 0px; height: 30px; width=75px; z-index: 2;" />
-          </div>
+          </div>
         </form>
         <div class="footer" style="text-align: right;">
           <span id="upload_error_text" class="error_text"></span>
@@ -76,12 +76,12 @@
         </div>
       </div>
       
-    </div>
-    
-    <!-- the overlay -->
-    <div class="simple_overlay" id="propertyO">
-	  <div id="propertyCanvas" class="propertyCanvas">
-	  </div>
+    </div>
+    
+    <!-- the overlay -->
+    <div class="simple_overlay" id="propertyO">
+	  <div id="propertyCanvas" class="propertyCanvas">
+	  </div>
 	</div>
 </body>
 </html>


[2/3] git commit: Fix problems with missing files/dependencies with cdh-4 distribution.

Posted by se...@apache.org.
Fix problems with missing files/dependencies with cdh-4 distribution.


Project: http://git-wip-us.apache.org/repos/asf/incubator-flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-flink/commit/e45534cf
Tree: http://git-wip-us.apache.org/repos/asf/incubator-flink/tree/e45534cf
Diff: http://git-wip-us.apache.org/repos/asf/incubator-flink/diff/e45534cf

Branch: refs/heads/master
Commit: e45534cf2275f6918294c81de5377146c243904c
Parents: e905c34
Author: Stephan Ewen <se...@apache.org>
Authored: Wed Aug 13 20:08:04 2014 +0200
Committer: Stephan Ewen <se...@apache.org>
Committed: Wed Aug 13 21:19:56 2014 +0200

----------------------------------------------------------------------
 flink-runtime/pom.xml                              |  7 +++++++
 .../flink/runtime/util/EnvironmentInformation.java | 17 ++++++++++++-----
 2 files changed, 19 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/e45534cf/flink-runtime/pom.xml
----------------------------------------------------------------------
diff --git a/flink-runtime/pom.xml b/flink-runtime/pom.xml
index 7b22708..c67162f 100644
--- a/flink-runtime/pom.xml
+++ b/flink-runtime/pom.xml
@@ -77,6 +77,12 @@ under the License.
 			<artifactId>netty-all</artifactId>
 			<version>4.0.21.Final</version>
 		</dependency>
+		
+		<dependency>
+			<groupId>org.codehaus.jettison</groupId>
+			<artifactId>jettison</artifactId>
+			<version>1.1</version>
+		</dependency>
 
 		<dependency>
 			<groupId>org.apache.flink</groupId>
@@ -84,6 +90,7 @@ under the License.
 			<version>${project.version}</version>
 			<scope>test</scope>
 		</dependency>
+		
 	</dependencies>
 
 	<build>

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/e45534cf/flink-runtime/src/main/java/org/apache/flink/runtime/util/EnvironmentInformation.java
----------------------------------------------------------------------
diff --git a/flink-runtime/src/main/java/org/apache/flink/runtime/util/EnvironmentInformation.java b/flink-runtime/src/main/java/org/apache/flink/runtime/util/EnvironmentInformation.java
index 54a88e2..d6d32f2 100644
--- a/flink-runtime/src/main/java/org/apache/flink/runtime/util/EnvironmentInformation.java
+++ b/flink-runtime/src/main/java/org/apache/flink/runtime/util/EnvironmentInformation.java
@@ -85,14 +85,21 @@ public class EnvironmentInformation {
 	public static String getUserRunning() {
 		try {
 			return UserGroupInformation.getCurrentUser().getShortUserName();
-		} catch (Throwable t) {
+		}
+		catch (Throwable t) {
+			if (LOG.isDebugEnabled() && !(t instanceof ClassNotFoundException)) {
+				LOG.debug("Cannot determine user/group information using Hadoop utils.", t);
+			}
+		}
+		
+		String user = System.getProperty("user.name");
+		if (user == null) {
+			user = UNKNOWN;
 			if (LOG.isDebugEnabled()) {
-				LOG.debug("Cannot determine user/group information for the current user.", t);
-			} else {
-				LOG.info("Cannot determine user/group information for the current user.");
+				LOG.debug("Cannot determine user/group information for the current user.");
 			}
-			return UNKNOWN;
 		}
+		return user;
 	}
 
 	public static long getMaxJvmMemory() {


[3/3] git commit: [FLINK-966] java examples included in packaged example directory

Posted by se...@apache.org.
[FLINK-966] java examples included in packaged example directory

This closes #90


Project: http://git-wip-us.apache.org/repos/asf/incubator-flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-flink/commit/e905c345
Tree: http://git-wip-us.apache.org/repos/asf/incubator-flink/tree/e905c345
Diff: http://git-wip-us.apache.org/repos/asf/incubator-flink/diff/e905c345

Branch: refs/heads/master
Commit: e905c34503547b54fce930422e23d849ee4e3fda
Parents: 9d09200
Author: zentol <s....@web.de>
Authored: Thu Aug 7 13:41:11 2014 +0200
Committer: Stephan Ewen <se...@apache.org>
Committed: Wed Aug 13 21:19:56 2014 +0200

----------------------------------------------------------------------
 flink-dist/src/main/assemblies/bin.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/e905c345/flink-dist/src/main/assemblies/bin.xml
----------------------------------------------------------------------
diff --git a/flink-dist/src/main/assemblies/bin.xml b/flink-dist/src/main/assemblies/bin.xml
index 6ade3be..83eed3f 100644
--- a/flink-dist/src/main/assemblies/bin.xml
+++ b/flink-dist/src/main/assemblies/bin.xml
@@ -182,7 +182,7 @@ under the License.
 
 		<fileSet>
 			<!-- copy java examples src -->
-			<directory>../flink-examples/flink-java-examples/src/main/java/org/apache/flink/example/java/record</directory>
+			<directory>../flink-examples/flink-java-examples/src/main/java/org/apache/flink/example/java</directory>
 			<outputDirectory>examples/java-src/</outputDirectory>
 			<fileMode>0644</fileMode>
 		</fileSet>