Skip to content

Commit d57c2d3

Browse files
committed
No changes - just a manual merge (github couldn't auto merge on own).
Merge branch 'master' into BZ927288 Conflicts: src/main/java/org/apache/hadoop/fs/glusterfs/GlusterFileSystem.java
2 parents 47c3191 + 4de747b commit d57c2d3

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/main/java/org/apache/hadoop/fs/glusterfs/GlusterFileSystem.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -535,10 +535,6 @@ public long getDefaultBlockSize(){
535535
return 1<<26; /* default's from hdfs, kfs */
536536
}
537537

538-
@Deprecated
539-
public void lock(Path path,boolean shared) throws IOException{
540-
}
541-
542538
public BlockLocation[] getFileBlockLocations(FileStatus file,long start,long len) throws IOException{
543539

544540
Path absolute=makeAbsolute(file.getPath());
@@ -557,11 +553,6 @@ public BlockLocation[] getFileBlockLocations(FileStatus file,long start,long len
557553
return result;
558554
}
559555

560-
// getFileBlockLocations (FileStatus, long, long) is called by hadoop
561-
public BlockLocation[] getFileBlockLocations(Path p,long start,long len) throws IOException{
562-
return null;
563-
}
564-
565556
public void copyFromLocalFile(boolean delSrc,Path src,Path dst) throws IOException{
566557
FileUtil.copy(glusterFs, src, this, dst, delSrc, getConf());
567558
}

0 commit comments

Comments
 (0)