|
@@ -180,7 +180,7 @@ public class DistributedFileSystem extends FileSystem {
|
|
|
workingDir = makeAbsolute(dir);
|
|
|
}
|
|
|
|
|
|
- /** {@inheritDoc} */
|
|
|
+
|
|
|
@Override
|
|
|
public Path getHomeDirectory() {
|
|
|
return makeQualified(new Path("/user/" + dfs.ugi.getShortUserName()));
|
|
@@ -307,7 +307,7 @@ public class DistributedFileSystem extends FileSystem {
|
|
|
dfs.concat(getPathName(trg), srcs);
|
|
|
}
|
|
|
|
|
|
- /** {@inheritDoc} */
|
|
|
+
|
|
|
@SuppressWarnings("deprecation")
|
|
|
@Override
|
|
|
public boolean rename(Path src, Path dst) throws IOException {
|
|
@@ -316,7 +316,6 @@ public class DistributedFileSystem extends FileSystem {
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
- * {@inheritDoc}
|
|
|
* This rename operation is guaranteed to be atomic.
|
|
|
*/
|
|
|
@SuppressWarnings("deprecation")
|
|
@@ -332,7 +331,6 @@ public class DistributedFileSystem extends FileSystem {
|
|
|
return dfs.delete(getPathName(f), recursive);
|
|
|
}
|
|
|
|
|
|
- /** {@inheritDoc} */
|
|
|
@Override
|
|
|
public ContentSummary getContentSummary(Path f) throws IOException {
|
|
|
statistics.incrementReadOps(1);
|
|
@@ -513,7 +511,7 @@ public class DistributedFileSystem extends FileSystem {
|
|
|
return dfs.primitiveMkdir(getPathName(f), absolutePermission);
|
|
|
}
|
|
|
|
|
|
- /** {@inheritDoc} */
|
|
|
+
|
|
|
@Override
|
|
|
public void close() throws IOException {
|
|
|
try {
|
|
@@ -553,7 +551,6 @@ public class DistributedFileSystem extends FileSystem {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- /** {@inheritDoc} */
|
|
|
@Override
|
|
|
public FsStatus getStatus(Path p) throws IOException {
|
|
|
statistics.incrementReadOps(1);
|
|
@@ -615,9 +612,6 @@ public class DistributedFileSystem extends FileSystem {
|
|
|
return dfs.getCorruptBlocksCount();
|
|
|
}
|
|
|
|
|
|
- /**
|
|
|
- * {@inheritDoc}
|
|
|
- */
|
|
|
@Override
|
|
|
public RemoteIterator<Path> listCorruptFileBlocks(Path path)
|
|
|
throws IOException {
|
|
@@ -695,7 +689,6 @@ public class DistributedFileSystem extends FileSystem {
|
|
|
dfs.metaSave(pathname);
|
|
|
}
|
|
|
|
|
|
- /** {@inheritDoc} */
|
|
|
@Override
|
|
|
public FsServerDefaults getServerDefaults() throws IOException {
|
|
|
return dfs.getServerDefaults();
|
|
@@ -766,14 +759,12 @@ public class DistributedFileSystem extends FileSystem {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- /** {@inheritDoc} */
|
|
|
@Override
|
|
|
public MD5MD5CRC32FileChecksum getFileChecksum(Path f) throws IOException {
|
|
|
statistics.incrementReadOps(1);
|
|
|
return dfs.getFileChecksum(getPathName(f));
|
|
|
}
|
|
|
|
|
|
- /** {@inheritDoc }*/
|
|
|
@Override
|
|
|
public void setPermission(Path p, FsPermission permission
|
|
|
) throws IOException {
|
|
@@ -781,7 +772,6 @@ public class DistributedFileSystem extends FileSystem {
|
|
|
dfs.setPermission(getPathName(p), permission);
|
|
|
}
|
|
|
|
|
|
- /** {@inheritDoc }*/
|
|
|
@Override
|
|
|
public void setOwner(Path p, String username, String groupname
|
|
|
) throws IOException {
|
|
@@ -792,7 +782,6 @@ public class DistributedFileSystem extends FileSystem {
|
|
|
dfs.setOwner(getPathName(p), username, groupname);
|
|
|
}
|
|
|
|
|
|
- /** {@inheritDoc }*/
|
|
|
@Override
|
|
|
public void setTimes(Path p, long mtime, long atime
|
|
|
) throws IOException {
|