HDFS-6237. TestDFSShell#testGet fails on Windows due to invalid file system path. Contributed by Chris Nauroth.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1587146 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9ac54b5480
commit
7aed74b3d0
@ -338,6 +338,9 @@ Release 2.5.0 - UNRELEASED
|
||||
HDFS-5669. Storage#tryLock() should check for null before logging successfull message
|
||||
(Vinayakumar B via umamahesh)
|
||||
|
||||
HDFS-6237. TestDFSShell#testGet fails on Windows due to invalid file system
|
||||
path. (cnauroth)
|
||||
|
||||
Release 2.4.1 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
@ -1477,7 +1477,8 @@ public void testGet() throws IOException {
|
||||
private final FsShell shell = new FsShell(conf);
|
||||
|
||||
public String run(int exitcode, String... options) throws IOException {
|
||||
String dst = TEST_ROOT_DIR + "/" + fname+ ++count;
|
||||
String dst = new File(TEST_ROOT_DIR, fname + ++count)
|
||||
.getAbsolutePath();
|
||||
String[] args = new String[options.length + 3];
|
||||
args[0] = "-get";
|
||||
args[args.length - 2] = remotef.toString();
|
||||
|
Loading…
Reference in New Issue
Block a user