Skip to content

Commit

Permalink
modify package name and move hadoop-compat-bench from hadoop/ to hado…
Browse files Browse the repository at this point in the history
…op/hadoop-tools/
  • Loading branch information
HanFreedom committed Feb 28, 2024
1 parent b1a0e3f commit 91a14fc
Show file tree
Hide file tree
Showing 60 changed files with 98 additions and 101 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<groupId>org.apache.hadoop</groupId>
<artifactId>hadoop-project</artifactId>
<version>3.5.0-SNAPSHOT</version>
<relativePath>../hadoop-project</relativePath>
<relativePath>../../hadoop-project</relativePath>
</parent>
<artifactId>hadoop-compat-bench</artifactId>
<version>3.5.0-SNAPSHOT</version>
Expand Down Expand Up @@ -79,7 +79,7 @@
<configuration>
<archive>
<manifest>
<mainClass>org.apache.hadoop.compat.HdfsCompatibility</mainClass>
<mainClass>org.apache.hadoop.fs.compat.HdfsCompatibility</mainClass>
</manifest>
</archive>
</configuration>
Expand All @@ -91,7 +91,7 @@
<configuration>
<archive>
<manifest>
<mainClass>org.apache.hadoop.compat.hdfs.HdfsCompatMiniCluster</mainClass>
<mainClass>org.apache.hadoop.fs.compat.hdfs.HdfsCompatMiniCluster</mainClass>
</manifest>
</archive>
</configuration>
Expand All @@ -115,4 +115,4 @@
</resource>
</resources>
</build>
</project>
</project>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat;
package org.apache.hadoop.fs.compat;


import org.apache.hadoop.fs.FileSystem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat;
package org.apache.hadoop.fs.compat;


import org.apache.hadoop.classification.VisibleForTesting;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat;
package org.apache.hadoop.fs.compat;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat;
package org.apache.hadoop.fs.compat;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat;
package org.apache.hadoop.fs.compat;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat;
package org.apache.hadoop.fs.compat;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat;
package org.apache.hadoop.fs.compat;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat;
package org.apache.hadoop.fs.compat;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat;
package org.apache.hadoop.fs.compat;

import org.apache.hadoop.classification.VisibleForTesting;
import org.apache.hadoop.compat.suites.HdfsCompatSuiteForAll;
import org.apache.hadoop.compat.suites.HdfsCompatSuiteForShell;
import org.apache.hadoop.compat.suites.HdfsCompatSuiteForTpcds;
import org.apache.hadoop.fs.compat.suites.HdfsCompatSuiteForAll;
import org.apache.hadoop.fs.compat.suites.HdfsCompatSuiteForShell;
import org.apache.hadoop.fs.compat.suites.HdfsCompatSuiteForTpcds;
import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.fs.Path;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat;
package org.apache.hadoop.fs.compat;


import org.apache.hadoop.conf.Configuration;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat;
package org.apache.hadoop.fs.compat;

public class HdfsCompatIllegalArgumentException
extends IllegalArgumentException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat;
package org.apache.hadoop.fs.compat;

import org.apache.hadoop.HadoopIllegalArgumentException;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat;
package org.apache.hadoop.fs.compat;

import java.util.Collection;
import java.util.concurrent.ConcurrentLinkedQueue;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat;
package org.apache.hadoop.fs.compat;


import org.apache.commons.io.FileUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat;
package org.apache.hadoop.fs.compat;


public interface HdfsCompatSuite {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat;
package org.apache.hadoop.fs.compat;


import org.apache.hadoop.fs.FSDataInputStream;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat;
package org.apache.hadoop.fs.compat;

import java.io.BufferedWriter;
import java.io.File;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat.cases.function;
package org.apache.hadoop.fs.compat.cases.function;


import org.apache.hadoop.compat.*;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.fs.compat.*;
import org.apache.hadoop.fs.permission.AclEntry;
import org.apache.hadoop.fs.permission.AclEntryScope;
import org.apache.hadoop.fs.permission.AclStatus;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat.cases.function;
package org.apache.hadoop.fs.compat.cases.function;

import org.apache.hadoop.compat.*;
import org.apache.hadoop.fs.*;
import org.apache.hadoop.fs.compat.*;
import org.apache.hadoop.io.IOUtils;
import org.junit.Assert;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat.cases.function;
package org.apache.hadoop.fs.compat.cases.function;

import org.apache.hadoop.compat.*;
import org.apache.hadoop.fs.*;
import org.apache.hadoop.fs.compat.*;
import org.junit.Assert;

import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat.cases.function;
package org.apache.hadoop.fs.compat.cases.function;

import org.apache.hadoop.compat.*;
import org.apache.hadoop.fs.*;
import org.apache.hadoop.fs.compat.*;
import org.apache.hadoop.fs.permission.FsAction;
import org.apache.hadoop.fs.permission.FsPermission;
import org.apache.hadoop.io.IOUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat.cases.function;
package org.apache.hadoop.fs.compat.cases.function;


import org.apache.hadoop.compat.*;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.LocalFileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.fs.compat.*;
import org.junit.Assert;

import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat.cases.function;
package org.apache.hadoop.fs.compat.cases.function;


import org.apache.hadoop.compat.AbstractHdfsCompatCase;
import org.apache.hadoop.compat.HdfsCompatCase;
import org.apache.hadoop.compat.HdfsCompatCaseGroup;
import org.apache.hadoop.compat.HdfsCompatUtil;
import org.apache.hadoop.fs.compat.AbstractHdfsCompatCase;
import org.apache.hadoop.fs.compat.HdfsCompatCase;
import org.apache.hadoop.fs.compat.HdfsCompatCaseGroup;
import org.apache.hadoop.fs.compat.HdfsCompatUtil;
import org.apache.hadoop.fs.*;
import org.junit.Assert;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat.cases.function;
package org.apache.hadoop.fs.compat.cases.function;


import org.apache.hadoop.compat.*;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.fs.compat.*;
import org.junit.Assert;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,11 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat.cases.function;
package org.apache.hadoop.fs.compat.cases.function;


import org.apache.hadoop.compat.*;
import org.apache.hadoop.fs.BlockStoragePolicySpi;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.fs.compat.*;
import org.junit.Assert;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat.cases.function;
package org.apache.hadoop.fs.compat.cases.function;

import org.apache.hadoop.compat.*;
import org.apache.hadoop.fs.FileStatus;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.fs.compat.*;
import org.junit.Assert;

import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat.cases.function;
package org.apache.hadoop.fs.compat.cases.function;

import org.apache.hadoop.compat.*;
import org.apache.hadoop.fs.*;
import org.apache.hadoop.fs.compat.*;
import org.junit.Assert;

import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat.cases.function;
package org.apache.hadoop.fs.compat.cases.function;


import org.apache.hadoop.compat.*;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.fs.compat.*;
import org.junit.Assert;

import java.io.IOException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat.cases.implement;
package org.apache.hadoop.fs.compat.cases.implement;


import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.compat.AbstractHdfsCompatCase;
import org.apache.hadoop.compat.HdfsCompatCase;
import org.apache.hadoop.compat.HdfsCompatCaseGroup;
import org.apache.hadoop.compat.HdfsCompatUtil;
import org.apache.hadoop.fs.compat.AbstractHdfsCompatCase;
import org.apache.hadoop.fs.compat.HdfsCompatCase;
import org.apache.hadoop.fs.compat.HdfsCompatCaseGroup;
import org.apache.hadoop.fs.compat.HdfsCompatUtil;
import org.apache.hadoop.fs.CommonPathCapabilities;
import org.apache.hadoop.fs.FileStatus;
import org.apache.hadoop.fs.FileSystem;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.apache.hadoop.compat.suites;
package org.apache.hadoop.fs.compat.suites;


import org.apache.hadoop.compat.AbstractHdfsCompatCase;
import org.apache.hadoop.compat.HdfsCompatSuite;
import org.apache.hadoop.compat.cases.implement.*;
import org.apache.hadoop.compat.cases.function.*;
import org.apache.hadoop.fs.compat.AbstractHdfsCompatCase;
import org.apache.hadoop.fs.compat.HdfsCompatSuite;
import org.apache.hadoop.fs.compat.cases.function.*;
import org.apache.hadoop.fs.compat.cases.implement.HdfsCompatFileSystemImpl;

public class HdfsCompatSuiteForAll implements HdfsCompatSuite {
@Override
Expand Down
Loading

0 comments on commit 91a14fc

Please sign in to comment.