incubator-hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edwardy...@apache.org
Subject svn commit: r945992 - in /incubator/hama/trunk: CHANGES.txt bin/hama src/java/org/apache/hama/util/VersionInfo.java
Date Wed, 19 May 2010 01:31:12 GMT
Author: edwardyoon
Date: Wed May 19 01:31:12 2010
New Revision: 945992

URL: http://svn.apache.org/viewvc?rev=945992&view=rev
Log:
Current version option command of hama script is linked unknown class

Added:
    incubator/hama/trunk/src/java/org/apache/hama/util/VersionInfo.java
Modified:
    incubator/hama/trunk/CHANGES.txt
    incubator/hama/trunk/bin/hama

Modified: incubator/hama/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/CHANGES.txt?rev=945992&r1=945991&r2=945992&view=diff
==============================================================================
--- incubator/hama/trunk/CHANGES.txt (original)
+++ incubator/hama/trunk/CHANGES.txt Wed May 19 01:31:12 2010
@@ -139,6 +139,7 @@ Trunk (unreleased changes)
 
   BUG FIXES
  
+    HAMA-260: Current version command of script is linked unknown class (edwardyoon)
     HAMA-250: Add --no-check-certificate option to 'wget' command lines (edwardyoon)
     HAMA-242: Wrong assignment of default setting inside BSPPeer constructor (hyunsik)
     HAMA-246: Current shell scripts for bsp daemon have several problems. (hyunsik)

Modified: incubator/hama/trunk/bin/hama
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/bin/hama?rev=945992&r1=945991&r2=945992&view=diff
==============================================================================
--- incubator/hama/trunk/bin/hama (original)
+++ incubator/hama/trunk/bin/hama Wed May 19 01:31:12 2010
@@ -168,7 +168,7 @@ elif [ "$COMMAND" = "groom" ] ; then
   CLASS='org.apache.hama.bsp.GroomServer'
   BSP_OPTS="$BSP_OPTS $BSP_GROOMSERVER_OPTS"
 elif [ "$COMMAND" = "version" ] ; then
-  CLASS=org.apache.bsp.util.VersionInfo
+  CLASS=org.apache.hama.util.VersionInfo
   BSP_OPTS="$BSP_OPTS $BSP_CLIENT_OPTS"
 else
   CLASS=$COMMAND

Added: incubator/hama/trunk/src/java/org/apache/hama/util/VersionInfo.java
URL: http://svn.apache.org/viewvc/incubator/hama/trunk/src/java/org/apache/hama/util/VersionInfo.java?rev=945992&view=auto
==============================================================================
--- incubator/hama/trunk/src/java/org/apache/hama/util/VersionInfo.java (added)
+++ incubator/hama/trunk/src/java/org/apache/hama/util/VersionInfo.java Wed May 19 01:31:12
2010
@@ -0,0 +1,25 @@
+/**
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.hama.util;
+
+public class VersionInfo {
+
+  public static void main(String[] args) {
+    System.out.println("Apache Hama - 0.2");
+  }
+}



Mime
View raw message