hadoop-hdfs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject svn commit: r1355593 - in /hadoop/common/trunk/hadoop-hdfs-project: hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSServer.java hadoop-hdfs/CHANGES.txt
Date Fri, 29 Jun 2012 22:58:33 GMT
Author: tucu
Date: Fri Jun 29 22:58:32 2012
New Revision: 1355593

URL: http://svn.apache.org/viewvc?rev=1355593&view=rev
Log:
HDFS-3580. incompatible types; no instance(s) of type variable(s) V exist so that V conforms
to boolean compiling HttpFSServer.java with OpenJDK (adi2 via tucu)

Modified:
    hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSServer.java
    hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

Modified: hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSServer.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSServer.java?rev=1355593&r1=1355592&r2=1355593&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSServer.java
(original)
+++ hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/server/HttpFSServer.java
Fri Jun 29 22:58:32 2012
@@ -404,7 +404,7 @@ public class HttpFSServer {
     String doAs = params.get(DoAsParam.NAME, DoAsParam.class);
     switch (op.value()) {
       case APPEND: {
-        boolean hasData = params.get(DataParam.NAME, DataParam.class);
+        Boolean hasData = params.get(DataParam.NAME, DataParam.class);
         if (!hasData) {
           response = Response.temporaryRedirect(
             createUploadRedirectionURL(uriInfo,
@@ -478,7 +478,7 @@ public class HttpFSServer {
     String doAs = params.get(DoAsParam.NAME, DoAsParam.class);
     switch (op.value()) {
       case CREATE: {
-        boolean hasData = params.get(DataParam.NAME, DataParam.class);
+        Boolean hasData = params.get(DataParam.NAME, DataParam.class);
         if (!hasData) {
           response = Response.temporaryRedirect(
             createUploadRedirectionURL(uriInfo,
@@ -486,11 +486,11 @@ public class HttpFSServer {
         } else {
           Short permission = params.get(PermissionParam.NAME,
                                          PermissionParam.class);
-          boolean override = params.get(OverwriteParam.NAME,
+          Boolean override = params.get(OverwriteParam.NAME,
                                         OverwriteParam.class);
-          short replication = params.get(ReplicationParam.NAME,
+          Short replication = params.get(ReplicationParam.NAME,
                                          ReplicationParam.class);
-          long blockSize = params.get(BlockSizeParam.NAME,
+          Long blockSize = params.get(BlockSizeParam.NAME,
                                       BlockSizeParam.class);
           FSOperations.FSCreate command =
             new FSOperations.FSCreate(is, path, permission, override,
@@ -543,7 +543,7 @@ public class HttpFSServer {
         break;
       }
       case SETREPLICATION: {
-        short replication = params.get(ReplicationParam.NAME,
+        Short replication = params.get(ReplicationParam.NAME,
                                        ReplicationParam.class);
         FSOperations.FSSetReplication command =
           new FSOperations.FSSetReplication(path, replication);
@@ -553,9 +553,9 @@ public class HttpFSServer {
         break;
       }
       case SETTIMES: {
-        long modifiedTime = params.get(ModifiedTimeParam.NAME,
+        Long modifiedTime = params.get(ModifiedTimeParam.NAME,
                                        ModifiedTimeParam.class);
-        long accessTime = params.get(AccessTimeParam.NAME,
+        Long accessTime = params.get(AccessTimeParam.NAME,
                                      AccessTimeParam.class);
         FSOperations.FSSetTimes command =
           new FSOperations.FSSetTimes(path, modifiedTime, accessTime);

Modified: hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt?rev=1355593&r1=1355592&r2=1355593&view=diff
==============================================================================
--- hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt (original)
+++ hadoop/common/trunk/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt Fri Jun 29 22:58:32 2012
@@ -404,6 +404,10 @@ Branch-2 ( Unreleased changes )
 
     HDFS-3491. HttpFs does not set permissions correctly (tucu)
 
+    HDFS-3580. incompatible types; no instance(s) of type variable(s) V exist 
+    so that V conforms to boolean compiling HttpFSServer.java with OpenJDK 
+    (adi2 via tucu)
+
 Release 2.0.0-alpha - 05-23-2012
 
   INCOMPATIBLE CHANGES



Mime
View raw message