You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ma...@apache.org on 2011/07/07 09:05:41 UTC
svn commit: r1143681 - in /hadoop/common/trunk/common: CHANGES.txt
src/java/org/apache/hadoop/io/DataInputByteBuffer.java
src/java/org/apache/hadoop/io/DataOutputByteBuffer.java
src/test/core/org/apache/hadoop/io/TestDataByteBuffers.java
Author: mattf
Date: Thu Jul 7 07:05:40 2011
New Revision: 1143681
URL: http://svn.apache.org/viewvc?rev=1143681&view=rev
Log:
HADOOP-7449. Add Data(In,Out)putByteBuffer to work with ByteBuffer similar to Data(In,Out)putBuffer for byte[]. Merge from yahoo-merge branch, -r 1079163. Fix missing Apache license headers. Contributed by Chris Douglas.
Modified:
hadoop/common/trunk/common/CHANGES.txt
hadoop/common/trunk/common/src/java/org/apache/hadoop/io/DataInputByteBuffer.java
hadoop/common/trunk/common/src/java/org/apache/hadoop/io/DataOutputByteBuffer.java
hadoop/common/trunk/common/src/test/core/org/apache/hadoop/io/TestDataByteBuffers.java
Modified: hadoop/common/trunk/common/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/common/CHANGES.txt?rev=1143681&r1=1143680&r2=1143681&view=diff
==============================================================================
--- hadoop/common/trunk/common/CHANGES.txt (original)
+++ hadoop/common/trunk/common/CHANGES.txt Thu Jul 7 07:05:40 2011
@@ -241,6 +241,10 @@ Trunk (unreleased changes)
HADOOP-7451. Generalize StringUtils#join. (Chris Douglas via mattf)
+ HADOOP-7449. Add Data(In,Out)putByteBuffer to work with ByteBuffer similar
+ to Data(In,Out)putBuffer for byte[]. Merge from yahoo-merge branch,
+ -r 1079163. Fix missing Apache license headers. (Chris Douglas via mattf)
+
OPTIMIZATIONS
HADOOP-7333. Performance improvement in PureJavaCrc32. (Eric Caspole
Modified: hadoop/common/trunk/common/src/java/org/apache/hadoop/io/DataInputByteBuffer.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/common/src/java/org/apache/hadoop/io/DataInputByteBuffer.java?rev=1143681&r1=1143680&r2=1143681&view=diff
==============================================================================
--- hadoop/common/trunk/common/src/java/org/apache/hadoop/io/DataInputByteBuffer.java (original)
+++ hadoop/common/trunk/common/src/java/org/apache/hadoop/io/DataInputByteBuffer.java Thu Jul 7 07:05:40 2011
@@ -1,3 +1,21 @@
+/**
+ * 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.hadoop.io;
import java.io.DataInputStream;
Modified: hadoop/common/trunk/common/src/java/org/apache/hadoop/io/DataOutputByteBuffer.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/common/src/java/org/apache/hadoop/io/DataOutputByteBuffer.java?rev=1143681&r1=1143680&r2=1143681&view=diff
==============================================================================
--- hadoop/common/trunk/common/src/java/org/apache/hadoop/io/DataOutputByteBuffer.java (original)
+++ hadoop/common/trunk/common/src/java/org/apache/hadoop/io/DataOutputByteBuffer.java Thu Jul 7 07:05:40 2011
@@ -1,3 +1,21 @@
+/**
+ * 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.hadoop.io;
import java.io.DataOutputStream;
Modified: hadoop/common/trunk/common/src/test/core/org/apache/hadoop/io/TestDataByteBuffers.java
URL: http://svn.apache.org/viewvc/hadoop/common/trunk/common/src/test/core/org/apache/hadoop/io/TestDataByteBuffers.java?rev=1143681&r1=1143680&r2=1143681&view=diff
==============================================================================
--- hadoop/common/trunk/common/src/test/core/org/apache/hadoop/io/TestDataByteBuffers.java (original)
+++ hadoop/common/trunk/common/src/test/core/org/apache/hadoop/io/TestDataByteBuffers.java Thu Jul 7 07:05:40 2011
@@ -1,3 +1,21 @@
+/**
+ * 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.hadoop.io;
import java.io.DataInput;